Re: [users] Re: Re: Re: zephyr on Arduino 101


Dmitriy Korovkin
 

Hello Mahavir,
First question, am I right, you are using USB and dfu-utils for flashing
Zephyr image? Am I right, you are using FTDI TTL-USB 3.3V connected to
Arduino header, as wiki suggests?
The next question, are you flashing both ARC and x86 images? If you are
not flashing ARC portion, you should have
CONFIG_ARC_INIT=n
in your project, otherwise x86 core will wait for the absent ARC firmware
to start.

/Regards,

Dmitriy Korovkin

On Thu, 30 Jun 2016, mahavir dwivedi wrote:

Hi Peter and Gregg,

I had already sent the .config file to your respective mail ids. Meanwhile I am attaching contents of the .config file below:Please go through it:


****************************************************************************************************************
#
# Automatically generated file; DO NOT EDIT.
# Zephyr Kernel Configuration
#
# CONFIG_ARC is not set
# CONFIG_ARM is not set
CONFIG_X86=y
# CONFIG_NIOS2 is not set
CONFIG_SYS_POWER_LOW_POWER_STATE_SUPPORTED=y
CONFIG_SYS_POWER_DEEP_SLEEP_SUPPORTED=y
CONFIG_ARCH="x86"
CONFIG_SOC="quark_se"
CONFIG_BOARD="arduino_101"
CONFIG_ARCH_DEFCONFIG="arch/x86/defconfig"
# CONFIG_IRQ_OFFLOAD is not set
CONFIG_XIP=y
# CONFIG_SOC_ATOM is not set
# CONFIG_SOC_IA32 is not set
# CONFIG_SOC_QUARK_D2000 is not set
CONFIG_SOC_QUARK_SE=y
# CONFIG_SOC_QUARK_X1000 is not set

#
# x86 Options
#

#
# x86 Core Options
#
CONFIG_NESTED_INTERRUPTS=y
CONFIG_EXCEPTION_DEBUG=y

#
# Memory Layout Options
#
CONFIG_IDT_NUM_VECTORS=256
CONFIG_MAX_IRQ_LINES=128
CONFIG_PHYS_LOAD_ADDR=0x40010000
CONFIG_PHYS_RAM_ADDR=0xA8006400
CONFIG_RAM_SIZE=55
CONFIG_ROM_SIZE=144
CONFIG_SET_GDT=y
# CONFIG_GDT_DYNAMIC is not set
# CONFIG_DEBUG_IRQS is not set
CONFIG_CPU_MINUTEIA=y
# CONFIG_CPU_HAS_FPU is not set

#
# Processor Capabilities
#
CONFIG_X86_IAMCU=y
CONFIG_ISA_IA32=y
# CONFIG_IA32_LEGACY_IO_PORTS is not set
# CONFIG_CMOV is not set
CONFIG_CACHE_LINE_SIZE_DETECT=y
CONFIG_CACHE_LINE_SIZE=0
# CONFIG_CACHE_FLUSHING is not set

#
# Platform Capabilities
#
CONFIG_NUM_DYNAMIC_STUBS=0
CONFIG_NUM_DYNAMIC_EXC_STUBS=0
CONFIG_NUM_DYNAMIC_EXC_NOERR_STUBS=0
# CONFIG_PIC_DISABLE is not set
CONFIG_EOI_FORWARDING_BUG=y
CONFIG_SS_RESET_VECTOR=0x40034000
CONFIG_ARC_INIT=y
# CONFIG_ARC_INIT_DEBUG is not set
# CONFIG_ARC_GDB_ENABLE is not set
CONFIG_QUARK_SE_IPM_CONSOLE_RING_BUF_SIZE32=256
CONFIG_BOARD_ARDUINO_101=y
# CONFIG_BOARD_QUARK_SE_DEVBOARD is not set

#
# Board Options
#

#
# Galileo Pinmux Options
#
CONFIG_NANOKERNEL=y
# CONFIG_MICROKERNEL is not set

#
# General Kernel Options
#
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=32000000
CONFIG_SYS_CLOCK_EXISTS=y
# CONFIG_INIT_STACKS is not set
CONFIG_RING_BUFFER=y
# CONFIG_KERNEL_EVENT_LOGGER is not set
# CONFIG_THREAD_MONITOR is not set
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT=40
CONFIG_KERNEL_INIT_PRIORITY_DEVICE=50

#
# Security Options
#
# CONFIG_STACK_CANARIES is not set

#
# Nanokernel Options
#
# CONFIG_BUILD_TIMESTAMP is not set
# CONFIG_INT_LATENCY_BENCHMARK is not set
CONFIG_MAIN_STACK_SIZE=1024
CONFIG_ISR_STACK_SIZE=2048
# CONFIG_THREAD_CUSTOM_DATA is not set
# CONFIG_NANO_TIMEOUTS is not set
CONFIG_NANO_TIMERS=y
CONFIG_NANOKERNEL_TICKLESS_IDLE_SUPPORTED=y
CONFIG_ERRNO=y
# CONFIG_ATOMIC_OPERATIONS_C is not set
# CONFIG_NANO_WORKQUEUE is not set

#
# Power Management
#
# CONFIG_SYS_POWER_MANAGEMENT is not set

#
# Device Drivers
#
CONFIG_CONSOLE=y
CONFIG_CONSOLE_HAS_DRIVER=y
# CONFIG_CONSOLE_HANDLER is not set
CONFIG_UART_CONSOLE=y
CONFIG_UART_CONSOLE_ON_DEV_NAME="UART_1"
CONFIG_UART_CONSOLE_INIT_PRIORITY=60
# CONFIG_UART_CONSOLE_DEBUG_SERVER_HOOKS is not set
# CONFIG_RAM_CONSOLE is not set
# CONFIG_IPM_CONSOLE_SENDER is not set
CONFIG_IPM_CONSOLE_RECEIVER=y
CONFIG_IPM_CONSOLE_INIT_PRIORITY=60
# CONFIG_UART_PIPE is not set
CONFIG_SERIAL=y

#
# Capabilities
#
CONFIG_SERIAL_HAS_DRIVER=y
# CONFIG_UART_INTERRUPT_DRIVEN is not set
# CONFIG_UART_LINE_CTRL is not set
# CONFIG_UART_DRV_CMD is not set

#
# Serial Drivers
#
# CONFIG_UART_NS16550 is not set
# CONFIG_UART_K20 is not set
# CONFIG_UART_STELLARIS is not set
CONFIG_UART_QMSI=y
CONFIG_UART_QMSI_0=y
CONFIG_UART_QMSI_0_NAME="UART_0"
CONFIG_UART_QMSI_0_BAUDRATE=1000000
CONFIG_UART_QMSI_0_HW_FC=y
CONFIG_UART_QMSI_0_IRQ_PRI=3
CONFIG_UART_QMSI_1=y
CONFIG_UART_QMSI_1_NAME="UART_1"
CONFIG_UART_QMSI_1_BAUDRATE=115200
# CONFIG_UART_QMSI_1_HW_FC is not set
CONFIG_UART_QMSI_1_IRQ_PRI=3

#
# Interrupt Controllers
#
CONFIG_LOAPIC=y
CONFIG_LOAPIC_BASE_ADDRESS=0xFEE00000
# CONFIG_LOAPIC_SPURIOUS_VECTOR is not set
CONFIG_IOAPIC=y
# CONFIG_IOAPIC_DEBUG is not set
CONFIG_IOAPIC_BASE_ADDRESS=0xFEC00000
CONFIG_IOAPIC_NUM_RTES=64
# CONFIG_MVIC is not set

#
# Timer Drivers
#
# CONFIG_HPET_TIMER is not set
CONFIG_LOAPIC_TIMER=y
CONFIG_LOAPIC_TIMER_IRQ=64
CONFIG_LOAPIC_TIMER_IRQ_PRIORITY=2
# CONFIG_SYSTEM_CLOCK_DISABLE is not set
# CONFIG_TIMER_READS_ITS_FREQUENCY_AT_RUNTIME is not set
CONFIG_SYSTEM_CLOCK_INIT_PRIORITY=0

#
# Random Generation Configuration
#
# CONFIG_RANDOM_GENERATOR is not set
# CONFIG_TEST_RANDOM_GENERATOR is not set
# CONFIG_GROVE is not set
# CONFIG_PCI is not set
# CONFIG_GPIO is not set
# CONFIG_SHARED_IRQ is not set
# CONFIG_SPI is not set
# CONFIG_I2C is not set
# CONFIG_PWM is not set
CONFIG_PINMUX=y
# CONFIG_PINMUX_DEV is not set
CONFIG_PINMUX_DEV_NAME="PINMUX_DEV"
CONFIG_PINMUX_NAME="PINMUX"
CONFIG_PINMUX_INIT_PRIORITY=60
# CONFIG_ADC is not set
# CONFIG_RTC is not set
# CONFIG_WATCHDOG is not set
# CONFIG_CLOCK_CONTROL is not set
CONFIG_IPM=y
CONFIG_IPM_QUARK_SE=y
CONFIG_IPM_QUARK_SE_MASTER=y
# CONFIG_AIO_COMPARATOR is not set
# CONFIG_FLASH is not set
# CONFIG_SENSOR is not set
# CONFIG_COUNTER is not set

#
# Networking
#
# CONFIG_BLUETOOTH is not set
# CONFIG_NETWORKING is not set
# CONFIG_NET_BUF is not set

#
# Compile and Link Features
#
CONFIG_KERNEL_BIN_NAME="zephyr"
# CONFIG_HAVE_CUSTOM_LINKER_SCRIPT is not set
CONFIG_VERSION_HEADER=y
CONFIG_CROSS_COMPILE=""
# CONFIG_GDB_INFO is not set
# CONFIG_LINK_WHOLE_ARCHIVE is not set
CONFIG_COMPILER_OPT=""
CONFIG_TOOLCHAIN_VARIANT="iamcu"
# CONFIG_CPLUSPLUS is not set
CONFIG_MINIMAL_LIBC=y
# CONFIG_NEWLIB_LIBC is not set
# CONFIG_MINIMAL_LIBC_EXTENDED is not set

#
# Debugging Options
#
# CONFIG_DEBUG is not set
# CONFIG_TASK_DEBUG is not set
# CONFIG_STACK_USAGE is not set
CONFIG_PRINTK=y
CONFIG_STDOUT_CONSOLE=y
# CONFIG_EARLY_CONSOLE is not set
# CONFIG_ASSERT is not set
# CONFIG_DEBUG_TRACING_KERNEL_OBJECTS is not set
# CONFIG_OMIT_FRAME_POINTER is not set

#
# Safe memory access
#
# CONFIG_MEM_SAFE is not set
# CONFIG_GDB_SERVER is not set

#
# Logging Options
#
# CONFIG_SYS_LOG is not set

#
# System Monitoring Options
#
# CONFIG_PERFORMANCE_METRICS is not set

#
# Boot Options
#
# CONFIG_BOOTLOADER_KEXEC is not set
CONFIG_BOOTLOADER_UNKNOWN=y
# CONFIG_REBOOT is not set

#
# Cryptography
#

#
# External Sources
#

#
# HALs
#
CONFIG_HAS_QMSI=y
CONFIG_QMSI=y
CONFIG_QMSI_BUILTIN=y
# CONFIG_QMSI_LIBRARY is not set

#
# Cryptography
#
# CONFIG_TINYCRYPT is not set
*****************************************************************************************************************

With Regards,
Mahavir

Join devel@lists.zephyrproject.org to automatically receive all group messages.