This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

dm365_evm linux kernel hangs at "Starting kernel..."

Other Parts Discussed in Thread: THS8200, DA8XX, AM3517, DP83848I

I am trying to bringup custom board based on dm365.

I am using u-boot and linux kernel from ipnc_rdk version 5

I could flash UBL, u-boot through UART boot mode, using serial_flash utility.

UBL and u-boot also works fine.(I have used dm365_evm board configuration for all UBL, u-boot and Linux).

But when i load linux kernel through UART and boot, kernel hangs at "Starting kernel ..."

After refering few e2e posts i have checked two things,

1. Machine type which is set correctly, both in u-boot and linux kernel.

2. In linux kernel Serial console initialization is done for UART0 and looks fine, it is as follows

static struct davinci_uart_config uart_config __initdata = {
        .enabled_uarts = (1 << 0),
};

Despite this initialization i dont see any message on console after "Starting kernel ..."

I used XDS510USB emulator to debug kernel startup, i followed steps mentioned in below presentation to debug linux kernel startup

http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/workshops/CCSv5/CCSv5_AdvancedWorkshop.pdf

And when i did step by step debugging, kernel goes till the point where it searches for root file system and stops there as i have not flashed ubifs on NAND.

So it seems that UART0 is not intialized in kernel.

Now my question is how do i solve this problem, because all the PIN muxing is done in bootloader and in linux kernel pinmuxing is not done.

How should i proceed to solve this problem.

Can somebody please guide me?

Thank you in advance..

Here is startup log,

TI UBL Version: 1.50
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000019.
   DONE
Jumping to entry point at   0x81080000.

U-Boot 1.3.4 (Nov 30 2013 - 16:29:23) IPNC-DM36xEVM-5.1.0

I2C:   ready
RAM Configuration:
Bank #0: 80000000 128 MB
NAND:  NAND device: Manufacturer ID: 0x2c, Chip ID: 0x38 (Micron NAND 1GiB 3,3V 8-bit)
Bad block table not found for chip 0
Bad block table not found for chip 0

 loop oob 81021dd8 Bad block table written to 0x3ffc0000, version 0x01

 loop oob 81021dd8 Bad block table written to 0x3ff80000, version 0x01
No NAND device found!!!
1024 MiB
In:    serial
Out:   serial
Err:   serial

EEPROM @ 0x50 read FAILED!!!
SYS_PERI_CLKCTL 0x243f04fcpll1_clk = 0x1e6
pll2_clk = 0x252
PLL1_DIV2 = 0x1
PLL2_DIV2 = 0x1
PLL2_DIV = 0x1
PLL1_DIV7 = 0x0
ARM Clock :- 297MHz
DDR Clock :- 243MHz
No ETH PHY detected!!!
ethernet init failed!
Hit any key to stop autoboot:  0
DM365 EVM :>
DM365 EVM :>
DM365 EVM :>

DM365 EVM :>print
bootdelay=4
baudrate=115200
bootfile="uImage"
verify=no
filesize=49EE20
bootargs=mem=48m console=ttyS0,115200n8 noinitrd ip=off rw ubi.mtd=3,2048 rootfstype=ubifs root=ubi0:rootfs nohz=off
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 1.3.4 (Nov 30 2013 - 16:29:23) IPNC-DM36xEVM-5.1.0
bootcmd=nand read 0x80700000 0x1000000 0x500000; bootm 0x80700000

DM365 EVM :>boot

NAND read: device 0 offset 0x1000000, size 0x500000
 5242880 bytes read: OK
## Booting kernel from Legacy Image at 80700000 ...
   Image Name:   Linux-2.6.37_IPNC_DM365EVM_5.1.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4845024 Bytes =  4.6 MB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ... OK
OK
Inside function do_bootm_linux
do_bootm:Kernel Entry point 0x80008000

Starting kernel ...
Cleanup is done machid - 1939    ----------------->>> Printing from bootm.c in u-boot.

  • Hi Ankur,

    1) refer the below website

    http://processors.wiki.ti.com/index.php/Kernel_-_Common_Problems_Booting_Linux

    2) And refer the below thread for UART reset/shutdown kind of issue (suspecting)

    http://e2e.ti.com/support/embedded/linux/f/354/t/74086.aspx

    3) Use mem=48M instead of using mem=48m  in boot args

    Important Note:

    Enable kernel low level debugging & early printk options in kernel menuconfig (under kernel hacking option) to get more debugging messages for this issue.

    (Using this , we can ensure that machine id is not mismatching btn bootloader & kernel)

    Regards,

    Titus S.

    THS8200

  • Hi Tiger,

    Thank you very much for reply,

    I almost lost hope on getting reply, but I think patience is the key while bringing up board.

    Point 1)

    I have referred the common booting problems forums already and tried basic things already,

    http://processors.wiki.ti.com/index.php/Kernel_-_Common_Problems_Booting_Linux

    2) I will check solutions suggested in the thread link you have posted. I too have a feeling the this has something to do with UART.

    3) you rightly pointed out "m" in the bootargs, I had checked after correcting it.

    For checking maching id i had enabled early printk and kernel low level debugging but i didnt see any message in console after "Starting kernel..." , i think earlyprintk patch is required to use this functionality. I couldnt find earlyprintk function code in arm code, it is present for x86.

    I printed machin id from u-boot it is 1339 and

    i also checked the board specific file in kernel i.e. "arch/arm/mach-davinci/board-dm365-evm.c"

    and It has following code,

    MACHINE_START(DAVINCI_DM365_EVM, "DaVinci DM36x EVM")
            .boot_params    = (0x80000100),
            .map_io         = dm365_evm_map_io,
            .init_irq       = davinci_irq_init,
            .timer          = &davinci_timer,
            .init_machine   = dm365_evm_init,
    MACHINE_END

     and i can see following line in the file "arch/arm/tools/mach-types"

    davinci_dm365_evm       MACH_DAVINCI_DM365_EVM  DAVINCI_DM365_EVM       1939

    So i think machine type is fine, am i thinking right ?

    I will update thread after trying out UART fix suggested in the below thread

    http://e2e.ti.com/support/embedded/linux/f/354/t/74086.aspx

    Regards,

    Ankur

  • Hi Tiger,

    I checked link you suggested and it seems UART fix suggested there is for da850 and not for dm365.

    Their suggestion is to comment below lines of code in board_da850_evm.c but i dont have below code in my board specific file i.e. board_dm365_evm.c :(

            /*
             * shut down uart 0 and 1; they are not used on the board and
             * accessing them causes endless "too much work in irq53" messages
             * with arago fs
             */
            __raw_writel(0, IO_ADDRESS(DA8XX_UART1_BASE) + 0x30);
            __raw_writel(0, IO_ADDRESS(DA8XX_UART0_BASE) + 0x30);

    I found a patch which looks to be fixing/modifying UART for davinci family of processors, it is as mentioned in below site,

    http://www.spinics.net/lists/linux-serial/msg09766.html

    and i think if i take this patch it might solve UART problem which i am facing.

    If there is patch file i can take that patch in kernel source by using "patch" command,

    But my doubt is how do i get this patch ? i dont see download option in that website.

    Can you suggest me how do i get that patch in my kernel source ?

    Thank you,

    Regards,

    Ankur

  • Hi,

    I checked link you suggested and it seems UART fix suggested there is for da850 and not for dm365.

    I knew, but what i suggest is, you can findout the base address of DM365 UART then write zero value in it (trail & error method)

    bcz this error ll occur due to lot of reasons, thats why i suggest one way

    I think "early printk" support was enabled in ARM linux 2.6.37 kernel (chk it)

    Are you using like below command for menuconfig?

    make ARCH=arm CROSS_COMPILE=arm-eabi- menuconfig

    "ARCH=arm" is important while ur using menuconfig.

    PFA of all files which is reqd to your dm365 board & do the following

    syntax:

    patch <old file> -i <new file>

    Eg

    titus@titus-desktop:~/workdir/beagle/psp-kernel$ patch arch/arm/mach-davinci/include/mach/common.h -i /home/titus/Desktop/common.h
    patching file arch/arm/mach-davinci/include/mach/common.h
    Hunk #1 succeeded at 73 (offset 2 lines).

    titus@titus-desktop:~/workdir/beagle/psp-kernel$

    8267.common.h

    diff --git a/arch/arm/mach-davinci/serial.c b/arch/arm/mach-davinci/serial.c
    index 57e6150..5e93a73 100644
    --- a/arch/arm/mach-davinci/serial.c
    +++ b/arch/arm/mach-davinci/serial.c
    @@ -70,54 +70,35 @@ static void __init davinci_serial_reset(struct plat_serial8250_port *p)
     				 UART_DM646X_SCR_TX_WATERMARK);
     }
     
    -/* Enable UART clock and obtain its rate */
    -int __init davinci_serial_setup_clk(unsigned instance, unsigned int *rate)
    -{
    -	char name[16];
    -	struct clk *clk;
    -	struct davinci_soc_info *soc_info = &davinci_soc_info;
    -	struct device *dev = &soc_info->serial_dev[instance].dev;
    -
    -	sprintf(name, "uart%d", instance);
    -	clk = clk_get(dev, name);
    -	if (IS_ERR(clk)) {
    -		pr_err("%s:%d: failed to get UART%d clock\n",
    -					__func__, __LINE__, instance);
    -		return PTR_ERR(clk);
    -	}
    -
    -	clk_prepare_enable(clk);
    -
    -	if (rate)
    -		*rate = clk_get_rate(clk);
    -
    -	return 0;
    -}
    -
    -int __init davinci_serial_init(struct davinci_uart_config *info)
    +int __init davinci_serial_init(struct platform_device *serial_dev)
     {
     	int i, ret = 0;
    -	struct davinci_soc_info *soc_info = &davinci_soc_info;
     	struct device *dev;
     	struct plat_serial8250_port *p;
    +	struct clk *clk;
     
     	/*
     	 * Make sure the serial ports are muxed on at this point.
     	 * You have to mux them off in device drivers later on if not needed.
     	 */
    -	for (i = 0; soc_info->serial_dev[i].dev.platform_data != NULL; i++) {
    -		dev = &soc_info->serial_dev[i].dev;
    +	for (i = 0; serial_dev[i].dev.platform_data != NULL; i++) {
    +		dev = &serial_dev[i].dev;
     		p = dev->platform_data;
    -		if (!(info->enabled_uarts & (1 << i)))
    -			continue;
     
    -		ret = platform_device_register(&soc_info->serial_dev[i]);
    +		ret = platform_device_register(&serial_dev[i]);
     		if (ret)
     			continue;
     
    -		ret = davinci_serial_setup_clk(i, &p->uartclk);
    -		if (ret)
    +		clk = clk_get(dev, NULL);
    +		if (IS_ERR(clk)) {
    +			pr_err("%s:%d: failed to get UART%d clock\n",
    +			       __func__, __LINE__, i);
     			continue;
    +		}
    +
    +		clk_prepare_enable(clk);
    +
    +		p->uartclk = clk_get_rate(clk);
     
     		if (!p->membase && p->mapbase) {
     			p->membase = ioremap(p->mapbase, SZ_4K);
    
    2867.serial.h
    diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c
    index fd38c8d..5f1ec9d 100644
    --- a/arch/arm/mach-davinci/board-dm365-evm.c
    +++ b/arch/arm/mach-davinci/board-dm365-evm.c
    @@ -719,10 +719,6 @@ fail:
     	/* REVISIT export switches: NTSC/PAL (SW5.6), EXTRA1 (SW5.2), etc */
     }
     
    -static struct davinci_uart_config uart_config __initdata = {
    -	.enabled_uarts = (1 << 0),
    -};
    -
     static void __init dm365_evm_map_io(void)
     {
     	dm365_init();
    @@ -749,7 +745,7 @@ static struct spi_board_info dm365_evm_spi_info[] __initconst = {
     static __init void dm365_evm_init(void)
     {
     	evm_init_i2c();
    -	davinci_serial_init(&uart_config);
    +	davinci_serial_init(dm365_serial_device);
     
     	dm365evm_emac_configure();
     	dm365evm_mmc_configure();
    
    diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c
    index abeac28..a8c4c95 100644
    --- a/arch/arm/mach-davinci/dm365.c
    +++ b/arch/arm/mach-davinci/dm365.c
    @@ -1062,7 +1062,7 @@ static struct plat_serial8250_port dm365_serial1_platform_data[] = {
     	}
     };
     
    -static struct platform_device dm365_serial_device[] = {
    +struct platform_device dm365_serial_device[] = {
     	{
     		.name			= "serial8250",
     		.id			= PLAT8250_DEV_PLATFORM,
    @@ -1102,7 +1102,6 @@ static struct davinci_soc_info davinci_soc_info_dm365 = {
     	.gpio_num		= 104,
     	.gpio_irq		= IRQ_DM365_GPIO0,
     	.gpio_unbanked		= 8,	/* really 16 ... skip muxed GPIOs */
    -	.serial_dev		= dm365_serial_device,
     	.emac_pdata		= &dm365_emac_pdata,
     	.sram_dma		= 0x00010000,
     	.sram_len		= SZ_32K,
    

    Note:

    as you know

    '-' means remove the line from this file

    '+' means add this line into file

    So you can apply patch manually like remove the line & add the line according to the hint of given patch file

    Eg:

    @@ -749,7 +745,7 @@ static struct spi_board_info dm365_evm_spi_info[] __initconst = {     ---> hint ( line no )
     static __init void dm365_evm_init(void)
     {
         evm_init_i2c();  ------> hint (ie near to this line)
    -    davinci_serial_init(&uart_config);      ----> remove this line
    +    davinci_serial_init(dm365_serial_device);   ----> add this line
     
         dm365evm_emac_configure();

  • Hi,

    before applying patch,

    Just wait for 5 min after you got "kernel start",

    Sometimes due to bad kernel configuring(freezing | compression) , the kernel takes more time to boot,

  • Hi Titus,

    Thank you for replying,

    Sorry I am replying little late, I was caught up in other activity so I couldn't reply this. Appro's IPNC_DM365 board was taken as reference for creating our custom board so it was decided to use their UBL, u-boot and kernel so I started working on the UBL u-boot of IPNC_DM365 board. I faced problem there also and had posted the same on e2e community. link for the same is http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/100/p/309613/1082181.aspx#1082181

    I could bring IPNC_DM365 UBL and u-boot up on our custom board.
    But again I am stuck at "Starting kernel..." :(
     
    Regarding earlyprintk support, When I do "make ARCH=arm menuconfig", I see earlyprintk support in the configuration.
    I followed procedure to enable early printk functionality but it didnt work.

    I tried pritntascii also but that didnt help too. I dont see any messages on console.

    Regarding serial patch I tried to apply that patch manually but it gave compilation errors, it seems it is dependent on other patches.
    So I think, I should get all those patches to get this serial console related changes.

    And I also think kernel is hanging before even reaching to "start_kernel" function. How do I debug this problem ? :(

    When i use XDS510 USB emulator and try to step through the kernel code, it steps through the kernel code fully till it tries to search for rootfs.
    During stepping through cursor goes back and fourth, debugger goes through all the paths, error as well as success path. :(
    There must be something wrong with emulator setup.
    I feel debugger is working because when i stop debugger i am not able to type anything on serial console, and when i run i am able to type on serial console on uboot prompt.

    Is there any way to set GPIO in the assembly code kernel (in head.S)??? I want to see where this code is getting stuck.

    Your suggestions are highly appreciated.

    Thank you,

    Regards,
    Ankur

  • Hi Ankur,

    Regarding earlyprintk support, When I do "make ARCH=arm menuconfig", I see earlyprintk support in the configuration.

    Now You can able to see the "early printk" support right!, I think you dont want enable earlyprintk because, as you said that 

    When i use XDS510 USB emulator and try to step through the kernel code, it steps through the kernel code fully till it tries to search for rootfs.

    then that support is really not required (its reqd if it hangs due to machine id mismatching pblm or something else).

    Probe your all the serial ports (including console)  through oscilloscope while booting.

    check your serial console port configuration in u-boot source under include/configs/<ur board file >

    Whether are you configured to 3rd serial port ?

    Ex from my am35x board :

    /*
     * select serial console configuration
     */
    #define CONFIG_CONS_INDEX        3
    #define CONFIG_SYS_NS16550_COM3        OMAP34XX_UART3
    #define CONFIG_SERIAL3            3    /* UART3 on AM3517 EVM */

    If you want to change the serial port on ttyS2 to ttyS1, change 3 to 2 in above code,

    chk yours !

  • Hi Titus,

    Thank you very much for reply,
    When I say "Stepping through kernel code and it is stepping fully till it tries to search for rootfs", i mean in CCSV5 I can see code being executed till that point.
    But I had a serious doubt on this emulator behaviour. Because if It was stopping because it is not able to find Rootfs, I had provided rootfs also.

    Finally I could find that (or I think I found it) why emulator was behaving that way.
    So When I opened the Debug configuration-->Selected .ccxml -->Target tab --> and changed "verification options" to "Full verification". i started getting error while running debug session.
    That error was pointing memory map mismatch between .gel file and actual processor.
    So I modified the .gel file and started using it. Now emulator is not stepping through all the kernel code, instead it is executing 5 assembly instruction and then it jumps to 0x00000004(after checking on net I found that this is the vector location of Reset undefined instruction.) and hangs there. I think this behaviour of emulator looks proper, as it is hung before anything is up so I don't see any messages from kernel.

    those five assembly instructions are as follows.(copied code from CCSV5 debug session).

    80008000:   80B81B44  ADCHIS        R1, R8, R4, ASR #22 --> here R1 value is 0x793 which is machine type for davinci board which is 1939.
    80008004:   30C0972D  SBCCC         R9, R0, R13, LSR #14
    80008008:   202404C0  EORCS         R0, R4, R0, ASR #9
    8000800c:   803E4085  EORHIS        R4, R14, R5, LSL #1
    80008010:   AEE482E2  CDPGE         P2, #0xE, C8, C4, C2, #0x7 ---> this looks to be co-processor instruction.

    and reset undefined instruction vector code is as follows, which loops continuously.
    00000004:   00000014 ANDEQ         R0, R0, R4, LSL R0
    00000008:   00000000 ANDEQ         R0, R0, R0
    0000000c:   00554E47 SUBEQS        R4, R5, R7, ASR #28
    00000010:   94F97A90 LDRLSBT       R7, [R9], #0xA90
    00000014:   F1FE37DE LDRNVSB       R3, [R14, #0x7E]!

    I am proceeding to check this assembly instruction. But this instructions doesn't point to either of the code u-boot or linux. I tried loading u-boot symbols and Linux symbols.
    So my doubt is what code this could be, I expected this code from head.S file, but emulator doesn't point there.

    Let me know if you have any suggestions for me. I will post more information as soon as I find them during debugging.

    Thank you,

    Regards,
    Ankur

  • Hi Ankur,

    As per your bootargs, need to check your serial port settings is "#define CONFIG_SERIAL1"

    bootargs=mem=48m console=ttyS0,115200n8 noinitrd ip=off rw ubi.mtd=3,2048 rootfstype=ubifs root=ubi0:rootfs nohz=off

    Ex:

    include/configs/davinci_dm365evm.h

    /* Serial Driver info: UART0 for console  */
    #define CONFIG_SYS_NS16550
    #define CONFIG_SYS_NS16550_SERIAL
    #define CONFIG_SYS_NS16550_REG_SIZE    -4
    #define CONFIG_SYS_NS16550_COM1        0x01c20000
    #define CONFIG_SYS_NS16550_CLK        CONFIG_SYS_HZ_CLOCK
    #define CONFIG_SYS_BAUDRATE_TABLE    { 9600, 19200, 38400, 57600, 115200 }
    #define CONFIG_CONS_INDEX        1  ---> 1 means ttyS0
    #define CONFIG_BAUDRATE            115200

    Check/probe all the 3 serial ports through scope/debugger, also chk getting signals from which serial port as per your u-boot settings while booting kernel.

  • Hi,

    Did you try compiling with DEBUG_LL option(kernel)  and then try booting??

    Best Regards

    Basavaraj 

  • Hi Titus,

    You are right for using ttyS0 i have to make changes to serial port base address as well as Console, I have already changed both of them,
    Here is my serial configuration from u-boot config file.

    /*====================*/
    /* Serial Driver info */
    /*====================*/
    #define CFG_NS16550
    #define CFG_NS16550_SERIAL
    #define CFG_NS16550_REG_SIZE    4               /* NS16550 register size */
    #define CFG_NS16550_COM1        0x01C20000      /* Base address of UART0  */
    /*#define CFG_NS16550_COM2      0x01D06000       Base address of UART0  */
    //#define CFG_NS16550_CLK       121500000       /* Input clock to NS16550 */
    #define CFG_NS16550_CLK         24000000        /* Input clock to NS16550 */
    /* #define CONFIG_CONS_INDEX    2                   use UART0 for console  */
    #define CONFIG_CONS_INDEX       1                   /* use UART0 for console  */
    #define CONFIG_BAUDRATE         115200          /* Default baud rate      */
    #define CFG_BAUDRATE_TABLE      { 9600, 19200, 38400, 57600, 115200 }

    Thank you,

    Regards,

    Ankur

  • Hi Basav,

    Thanks for replying,

    Yes i have compiled the kernel with DEBUG_LL option then i tried using earlyprintk and printascii.

    But it seems control is not even reaching to "start_kernel" function, so i am not able to get any messages from kernel.

    System is hanging in the "start-up" code which is written in assembly instruction.

    Regards,

    Ankur

  • Hi Ankur,

    Did you check this sequence??

    Image decompression:

    • Ø  U-Boot jumps at the ‘start’ label in arch/arm/boot/compressed/head.S
    • Ø  The parameters passed by U-Boot in r0 (CPU architecture ID) and r1 (ATAG parameter list pointer) are saved
    • Ø  Execute architecture specific code, then turn off the cache and MMU
    • Ø  Setup the C environment properly
    • Ø  Assign the appropriate values to the registers and stack pointer. i.e: r4= kernel physical start address – sp=decompressor code
    • Ø  Turn on the cache memory again by calling cache_on procedure which walk through proc_types list and find the corresponding ARM architecture. For the ARM11 MPCore (ARM v6), __armv4_mmu_cache_on, __armv4_mmu_cache_off, and __armv6_mmu_cache_flush procedures are called to turn on, off, and flush the cache memory to RAM respectively
    • Ø  Check if the decompressed image will overwrite the compressed image and jump to the appropriate routine
    • Ø  Call the decompressor routine decompress_kernel() which is located in arch/arm/boot/compressed/misc.c. The decompress_kernel() will display the “Uncompressing Linux...” message on the output terminal, followed by calling gunzip() function, then displaying “ done, booting the kernel” message.
    • Ø  Flush the cache memory contents to RAM using __armv6_mmu_cache_flush
    • Ø  Turn off the cache using __armv4_mmu_cache_off, because the kernel initialization routines expects that the cache memory is off at the beginning
    • Ø  Jump to start of kernel in RAM, where its address is stored in r4 register. The kernel start address is specific for
    • Ø   Each platform architecture. For the PB11MPCore, it is stored in arch/arm/mach-realview/Makefile.boot in zreladdr-y variable
      (zreladdr-y := 0x00008000)

    Only after the above steps, the control will go to __lookup_processor_type.

    But if you havent got serial port initialised(which as far as I am aware needs to be done in U-boot), then, I understand it's important to get that up first.

     

    Best Regards

    Basavaraj

  • Hi Ankur

    And when i did step by step debugging, kernel goes till the point where it searches for root file system and stops there as i have not flashed ubifs on NAND.

    When I say "Stepping through kernel code and it is stepping fully till it tries to search for rootfs", i mean in CCSV5 I can see code being executed till that point.

     

    I think, no use of enabling earlyprintk | DEBUG_LL, because he is not facing hang issue,

    Issue is serial console port is not printing bootup messages, might having serial port misconfiguration,

    correct me if i misinterpreted ur issue.

    Have you probe the all serial ports?

    Do you have any other peripherals connected in any port of the serial port 2 & 3?

    But I had a serious doubt on this emulator behaviour. Because if It was stopping because it is not able to find Rootfs, I had provided rootfs also.

    Try with NFS boot & watch out thro debugger

    The pblm still is in u-boot code only, if uncompressing kernel is the first printk from kernel,

    so check your serial port settings in u-boot source whether ur mis-configured

  • Hi Titus,

    Thank you for reply,

    I am not getting any messages from kernel,
    Kernel is already in uncompressed form, So first message what i am expecting is "Linux version 2.6.37_IPNC_DM368_5.1.0...",
    But that is not getting printed.

    There can be problem in u-boot only.
    We have two serial ports on our board. UART0 is connected to debug port(it works fine from u-boot.) UART1 is connected to different peripheral.

    By probing do you mean checking UART signals on CRO ? if so that we had done, I will do it once again.
    I have passed different tty devices from bootargs also but no help.

    In my opinion control is not reaching to "start_kernel" function in init/main.c, system hangs before that itself. :(
    It fails somewhere in assembly code itself. I dont doubt assembly code but i doubt either input it is expecting or if it is expecting some signal that is not available.

    Problem could be in u-boot code itself. I dont understand where to look for this error.  :(

    Thank you,

    Regards,
    Ankur

  • Hi Basav,

    I want to check the sequence you mentioned, but problem is i am not able to check it.

    Because from emulator when i put break point in the head.S, that break break point is never get hit.

    execution is stopped before that itself.

    As far as i know Kernel image is already in uncompressed form, so decompression part won't get executed.

    But other steps should follows.

    Thank you,

    Regards,

    Ankur

  • Hi Ankur,

    I am not getting any messages from kernel,

    You may not getting any kernel messages from kernel until unless your serial port settings properly initialized.

    thats why i told you to probe (checking any oscillation happening while system getting bootup) on two serial ports while your booting ubl, u-boot & kernel.

    RBL code will have serial port init code to display UBL (MLO or SPL)msges in serial port and UBL code ll have serial port init code to display u-boot (MLO or SPL)msges in serial port vice versa (u-boot code ll have serial port init code to display kernel (MLO or SPL)msges in serial port)

     

    Kernel is already in uncompressed form, So first message what i am expecting is "Linux version 2.6.37_IPNC_DM368_5.1.0...",
    But that is not getting printed.

    How you are saying that kernel image is uncompressed & uImage is compressed form with u-boot headers.

     

    ## Booting kernel from Legacy Image at 82000000 ...   --> u-boot code
       Image Name:   Linux-2.6.37    ---> from mkimage tool
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3450964 Bytes = 3.3 MiB
       Load Address: 80008000
       Entry Point:  80008000  ---> from mkimage tool
       Verifying Checksum ... OK    --> u-boot code
       Loading Kernel Image ... OK
    OK

    Starting kernel ...    --> u-boot code

    Uncompressing Linux... done, booting the kernel.   ---> this is the first entry point msg from kernel
    [    0.000000] Linux version 2.6.37 (titus@titus-desktop) (gcc version 4.4.3 (GCC) ) #121 Fri Oct 11 14:55:45 IST 2013
    [    0.000000] CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f
    [    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    [    0.000000] Machine: OMAP3517/AM3517 EVM

     

    DM365 EVM :>boot
    NAND read: device 0 offset 0x1000000, size 0x500000
     5242880 bytes read: OK
    ## Booting kernel from Legacy Image at 80700000 ...  ---> u-boot code
       Image Name:   Linux-2.6.37_IPNC_DM365EVM_5.1.0 ---> mkimage code
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    4845024 Bytes =  4.6 MB
       Load Address: 80008000
       Entry Point:  80008000
       Loading Kernel Image ... OK  ---> u-boot code
    OK
    Inside function do_bootm_linux
    do_bootm:Kernel Entry point 0x80008000
    Starting kernel ...
    Cleanup is done machid - 1939    ----------------->>> Printing from bootm.c in u-boot.

    So still ur hang up with u-boot code | serial port is not initialized properly & simply by passing the kernel msges

     

    In my opinion control is not reaching to "start_kernel" function in init/main.c, system hangs before that itself. :(

    kindly check whether ur kernel is booting upto filesystem (as u told earlier) through debugger,

    so confirm this through debugger

    Plz share your kernel .config file.

     

  • Hi Ankur,

    verify=no

    do the following command in u-boot shell

    setenv verify yes

    1) Can you boot your board through NFS mode & chk whether facing the same issue?

    2) Boot your default IPNC (default EVM kernel image ie ur reference board) kernel image in your board & chk it facing any issue?

    because any problem with ur h/w or modified ur s/w code.

    3) By using EVM IPNC default .config & make changes with DEBUGG_LL , early printk and then compile & boot in your board, whether able to receive even single msg from kernel side to confirm serial settings were done properly(checking h/w as well)

    4) share your .config ASAP.

  • #
    # Automatically generated make config: don't edit
    # Linux/arm 2.6.37 Kernel Configuration
    # Thu Dec 26 11:37:59 2013
    #
    CONFIG_ARM=y
    CONFIG_SYS_SUPPORTS_APM_EMULATION=y
    CONFIG_GENERIC_GPIO=y
    # CONFIG_ARCH_USES_GETTIMEOFFSET is not set
    CONFIG_GENERIC_CLOCKEVENTS=y
    CONFIG_HAVE_PROC_CPU=y
    CONFIG_GENERIC_HARDIRQS=y
    CONFIG_STACKTRACE_SUPPORT=y
    CONFIG_HAVE_LATENCYTOP_SUPPORT=y
    CONFIG_LOCKDEP_SUPPORT=y
    CONFIG_TRACE_IRQFLAGS_SUPPORT=y
    CONFIG_HARDIRQS_SW_RESEND=y
    CONFIG_GENERIC_IRQ_PROBE=y
    CONFIG_RWSEM_GENERIC_SPINLOCK=y
    CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
    CONFIG_GENERIC_HWEIGHT=y
    CONFIG_GENERIC_CALIBRATE_DELAY=y
    CONFIG_ZONE_DMA=y
    CONFIG_NEED_DMA_MAP_STATE=y
    CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
    CONFIG_VECTORS_BASE=0xffff0000
    CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
    CONFIG_CONSTRUCTORS=y
    CONFIG_HAVE_IRQ_WORK=y
    
    #
    # General setup
    #
    CONFIG_EXPERIMENTAL=y
    CONFIG_BROKEN_ON_SMP=y
    CONFIG_INIT_ENV_ARG_LIMIT=32
    CONFIG_CROSS_COMPILE=""
    CONFIG_LOCALVERSION="_IPNC_DM368_5.1.0"
    # CONFIG_LOCALVERSION_AUTO is not set
    CONFIG_HAVE_KERNEL_GZIP=y
    CONFIG_HAVE_KERNEL_LZMA=y
    CONFIG_HAVE_KERNEL_LZO=y
    CONFIG_KERNEL_GZIP=y
    # CONFIG_KERNEL_LZMA is not set
    # CONFIG_KERNEL_LZO is not set
    # CONFIG_SWAP is not set
    CONFIG_SYSVIPC=y
    CONFIG_SYSVIPC_SYSCTL=y
    CONFIG_POSIX_MQUEUE=y
    CONFIG_POSIX_MQUEUE_SYSCTL=y
    # CONFIG_BSD_PROCESS_ACCT is not set
    # CONFIG_TASKSTATS is not set
    # CONFIG_AUDIT is not set
    # CONFIG_HAVE_GENERIC_HARDIRQS is not set
    # CONFIG_SPARSE_IRQ is not set
    
    #
    # RCU Subsystem
    #
    CONFIG_TREE_PREEMPT_RCU=y
    # CONFIG_TINY_RCU is not set
    # CONFIG_TINY_PREEMPT_RCU is not set
    CONFIG_PREEMPT_RCU=y
    # CONFIG_RCU_TRACE is not set
    CONFIG_RCU_FANOUT=32
    # CONFIG_RCU_FANOUT_EXACT is not set
    # CONFIG_TREE_RCU_TRACE is not set
    # CONFIG_IKCONFIG is not set
    CONFIG_LOG_BUF_SHIFT=14
    # CONFIG_CGROUPS is not set
    # CONFIG_NAMESPACES is not set
    # CONFIG_SYSFS_DEPRECATED is not set
    # CONFIG_RELAY is not set
    # CONFIG_BLK_DEV_INITRD is not set
    CONFIG_CC_OPTIMIZE_FOR_SIZE=y
    CONFIG_SYSCTL=y
    CONFIG_ANON_INODES=y
    CONFIG_EMBEDDED=y
    CONFIG_UID16=y
    CONFIG_SYSCTL_SYSCALL=y
    # CONFIG_KALLSYMS is not set
    CONFIG_HOTPLUG=y
    CONFIG_PRINTK=y
    CONFIG_BUG=y
    CONFIG_ELF_CORE=y
    CONFIG_BASE_FULL=y
    CONFIG_FUTEX=y
    CONFIG_EPOLL=y
    CONFIG_SIGNALFD=y
    CONFIG_TIMERFD=y
    CONFIG_EVENTFD=y
    CONFIG_SHMEM=y
    CONFIG_AIO=y
    CONFIG_HAVE_PERF_EVENTS=y
    CONFIG_PERF_USE_VMALLOC=y
    
    #
    # Kernel Performance Events And Counters
    #
    # CONFIG_PERF_EVENTS is not set
    # CONFIG_PERF_COUNTERS is not set
    CONFIG_VM_EVENT_COUNTERS=y
    # CONFIG_SLUB_DEBUG is not set
    CONFIG_COMPAT_BRK=y
    # CONFIG_SLAB is not set
    CONFIG_SLUB=y
    # CONFIG_SLOB is not set
    # CONFIG_PROFILING is not set
    CONFIG_HAVE_OPROFILE=y
    # CONFIG_KPROBES is not set
    CONFIG_HAVE_KPROBES=y
    CONFIG_HAVE_KRETPROBES=y
    CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
    CONFIG_HAVE_CLK=y
    
    #
    # GCOV-based kernel profiling
    #
    # CONFIG_GCOV_KERNEL is not set
    CONFIG_HAVE_GENERIC_DMA_COHERENT=y
    CONFIG_RT_MUTEXES=y
    CONFIG_BASE_SMALL=0
    CONFIG_MODULES=y
    # CONFIG_MODULE_FORCE_LOAD is not set
    CONFIG_MODULE_UNLOAD=y
    CONFIG_MODULE_FORCE_UNLOAD=y
    CONFIG_MODVERSIONS=y
    # CONFIG_MODULE_SRCVERSION_ALL is not set
    CONFIG_BLOCK=y
    CONFIG_LBDAF=y
    # CONFIG_BLK_DEV_BSG is not set
    # CONFIG_BLK_DEV_INTEGRITY is not set
    
    #
    # IO Schedulers
    #
    CONFIG_IOSCHED_NOOP=y
    # CONFIG_IOSCHED_DEADLINE is not set
    # CONFIG_IOSCHED_CFQ is not set
    CONFIG_DEFAULT_NOOP=y
    CONFIG_DEFAULT_IOSCHED="noop"
    # CONFIG_INLINE_SPIN_TRYLOCK is not set
    # CONFIG_INLINE_SPIN_TRYLOCK_BH is not set
    # CONFIG_INLINE_SPIN_LOCK is not set
    # CONFIG_INLINE_SPIN_LOCK_BH is not set
    # CONFIG_INLINE_SPIN_LOCK_IRQ is not set
    # CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set
    # CONFIG_INLINE_SPIN_UNLOCK is not set
    # CONFIG_INLINE_SPIN_UNLOCK_BH is not set
    # CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set
    # CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set
    # CONFIG_INLINE_READ_TRYLOCK is not set
    # CONFIG_INLINE_READ_LOCK is not set
    # CONFIG_INLINE_READ_LOCK_BH is not set
    # CONFIG_INLINE_READ_LOCK_IRQ is not set
    # CONFIG_INLINE_READ_LOCK_IRQSAVE is not set
    # CONFIG_INLINE_READ_UNLOCK is not set
    # CONFIG_INLINE_READ_UNLOCK_BH is not set
    # CONFIG_INLINE_READ_UNLOCK_IRQ is not set
    # CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set
    # CONFIG_INLINE_WRITE_TRYLOCK is not set
    # CONFIG_INLINE_WRITE_LOCK is not set
    # CONFIG_INLINE_WRITE_LOCK_BH is not set
    # CONFIG_INLINE_WRITE_LOCK_IRQ is not set
    # CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set
    # CONFIG_INLINE_WRITE_UNLOCK is not set
    # CONFIG_INLINE_WRITE_UNLOCK_BH is not set
    # CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set
    # CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set
    # CONFIG_MUTEX_SPIN_ON_OWNER is not set
    CONFIG_FREEZER=y
    
    #
    # System Type
    #
    CONFIG_MMU=y
    # CONFIG_ARCH_AAEC2000 is not set
    # CONFIG_ARCH_INTEGRATOR is not set
    # CONFIG_ARCH_REALVIEW is not set
    # CONFIG_ARCH_VERSATILE is not set
    # CONFIG_ARCH_VEXPRESS is not set
    # CONFIG_ARCH_AT91 is not set
    # CONFIG_ARCH_BCMRING is not set
    # CONFIG_ARCH_CLPS711X is not set
    # CONFIG_ARCH_CNS3XXX is not set
    # CONFIG_ARCH_GEMINI is not set
    # CONFIG_ARCH_EBSA110 is not set
    # CONFIG_ARCH_EP93XX is not set
    # CONFIG_ARCH_FOOTBRIDGE is not set
    # CONFIG_ARCH_MXC is not set
    # CONFIG_ARCH_STMP3XXX is not set
    # CONFIG_ARCH_NETX is not set
    # CONFIG_ARCH_H720X is not set
    # CONFIG_ARCH_IOP13XX is not set
    # CONFIG_ARCH_IOP32X is not set
    # CONFIG_ARCH_IOP33X is not set
    # CONFIG_ARCH_IXP23XX is not set
    # CONFIG_ARCH_IXP2000 is not set
    # CONFIG_ARCH_IXP4XX is not set
    # CONFIG_ARCH_DOVE is not set
    # CONFIG_ARCH_KIRKWOOD is not set
    # CONFIG_ARCH_LOKI is not set
    # CONFIG_ARCH_LPC32XX is not set
    # CONFIG_ARCH_MV78XX0 is not set
    # CONFIG_ARCH_ORION5X is not set
    # CONFIG_ARCH_MMP is not set
    # CONFIG_ARCH_KS8695 is not set
    # CONFIG_ARCH_NS9XXX is not set
    # CONFIG_ARCH_W90X900 is not set
    # CONFIG_ARCH_NUC93X is not set
    # CONFIG_ARCH_TEGRA is not set
    # CONFIG_ARCH_PNX4008 is not set
    # CONFIG_ARCH_PXA is not set
    # CONFIG_ARCH_MSM is not set
    # CONFIG_ARCH_SHMOBILE is not set
    # CONFIG_ARCH_RPC is not set
    # CONFIG_ARCH_SA1100 is not set
    # CONFIG_ARCH_S3C2410 is not set
    # CONFIG_ARCH_S3C64XX is not set
    # CONFIG_ARCH_S5P64X0 is not set
    # CONFIG_ARCH_S5P6442 is not set
    # CONFIG_ARCH_S5PC100 is not set
    # CONFIG_ARCH_S5PV210 is not set
    # CONFIG_ARCH_S5PV310 is not set
    # CONFIG_ARCH_SHARK is not set
    # CONFIG_ARCH_TCC_926 is not set
    # CONFIG_ARCH_LH7A40X is not set
    # CONFIG_ARCH_U300 is not set
    # CONFIG_ARCH_U8500 is not set
    # CONFIG_ARCH_NOMADIK is not set
    CONFIG_ARCH_DAVINCI=y
    # CONFIG_ARCH_OMAP is not set
    # CONFIG_PLAT_SPEAR is not set
    CONFIG_AINTC=y
    CONFIG_ARCH_DAVINCI_DMx=y
    
    #
    # TI DaVinci Implementations
    #
    
    #
    # DaVinci Core Type
    #
    # CONFIG_ARCH_DAVINCI_DM644x is not set
    # CONFIG_ARCH_DAVINCI_DM355 is not set
    # CONFIG_ARCH_DAVINCI_DM646x is not set
    # CONFIG_ARCH_DAVINCI_DA830 is not set
    # CONFIG_ARCH_DAVINCI_DA850 is not set
    CONFIG_ARCH_DAVINCI_DM365=y
    # CONFIG_ARCH_DAVINCI_TNETV107X is not set
    
    #
    # DaVinci Board Type
    #
    # CONFIG_MACH_DAVINCI_DM365_EVM is not set
    # CONFIG_MACH_DAVINCI_DM365_IPNC is not set
    CONFIG_MACH_DAVINCI_DM368_IPNC=y
    # CONFIG_GPIO_PCA953X is not set
    # CONFIG_KEYBOARD_GPIO_POLLED is not set
    CONFIG_DAVINCI_MUX=y
    # CONFIG_DAVINCI_MUX_DEBUG is not set
    # CONFIG_DAVINCI_MUX_WARNINGS is not set
    CONFIG_DAVINCI_RESET_CLOCKS=y
    # CONFIG_DAVINCI_MCBSP is not set
    
    #
    # Processor Type
    #
    CONFIG_CPU_ARM926T=y
    CONFIG_CPU_32v5=y
    CONFIG_CPU_ABRT_EV5TJ=y
    CONFIG_CPU_PABRT_LEGACY=y
    CONFIG_CPU_CACHE_VIVT=y
    CONFIG_CPU_COPY_V4WB=y
    CONFIG_CPU_TLB_V4WBI=y
    CONFIG_CPU_CP15=y
    CONFIG_CPU_CP15_MMU=y
    
    #
    # Processor Features
    #
    CONFIG_ARM_THUMB=y
    # CONFIG_CPU_ICACHE_DISABLE is not set
    # CONFIG_CPU_DCACHE_DISABLE is not set
    # CONFIG_CPU_DCACHE_WRITETHROUGH is not set
    # CONFIG_CPU_CACHE_ROUND_ROBIN is not set
    CONFIG_ARM_L1_CACHE_SHIFT=5
    CONFIG_COMMON_CLKDEV=y
    
    #
    # Bus support
    #
    # CONFIG_PCI_SYSCALL is not set
    # CONFIG_ARCH_SUPPORTS_MSI is not set
    # CONFIG_PCCARD is not set
    
    #
    # Kernel Features
    #
    CONFIG_TICK_ONESHOT=y
    CONFIG_NO_HZ=y
    # CONFIG_HIGH_RES_TIMERS is not set
    CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
    CONFIG_VMSPLIT_3G=y
    # CONFIG_VMSPLIT_2G is not set
    # CONFIG_VMSPLIT_1G is not set
    CONFIG_PAGE_OFFSET=0xC0000000
    # CONFIG_PREEMPT_NONE is not set
    # CONFIG_PREEMPT_VOLUNTARY is not set
    CONFIG_PREEMPT=y
    CONFIG_HZ=100
    CONFIG_AEABI=y
    # CONFIG_OABI_COMPAT is not set
    CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y
    # CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
    # CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
    # CONFIG_HIGHMEM is not set
    CONFIG_SELECT_MEMORY_MODEL=y
    CONFIG_FLATMEM_MANUAL=y
    CONFIG_FLATMEM=y
    CONFIG_FLAT_NODE_MEM_MAP=y
    CONFIG_HAVE_MEMBLOCK=y
    CONFIG_PAGEFLAGS_EXTENDED=y
    CONFIG_SPLIT_PTLOCK_CPUS=999999
    # CONFIG_PHYS_ADDR_T_64BIT is not set
    CONFIG_ZONE_DMA_FLAG=1
    CONFIG_BOUNCE=y
    CONFIG_VIRT_TO_BUS=y
    # CONFIG_KSM is not set
    CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
    CONFIG_NEED_PER_CPU_KM=y
    CONFIG_FORCE_MAX_ZONEORDER=11
    CONFIG_LEDS=y
    # CONFIG_LEDS_CPU is not set
    CONFIG_ALIGNMENT_TRAP=y
    # CONFIG_UACCESS_WITH_MEMCPY is not set
    # CONFIG_SECCOMP is not set
    # CONFIG_CC_STACKPROTECTOR is not set
    # CONFIG_DEPRECATED_PARAM_STRUCT is not set
    
    #
    # Boot options
    #
    CONFIG_ZBOOT_ROM_TEXT=0x0
    CONFIG_ZBOOT_ROM_BSS=0x0
    CONFIG_CMDLINE=""
    # CONFIG_XIP_KERNEL is not set
    # CONFIG_KEXEC is not set
    # CONFIG_AUTO_ZRELADDR is not set
    
    #
    # CPU Power Management
    #
    # CONFIG_CPU_IDLE is not set
    
    #
    # Floating point emulation
    #
    
    #
    # At least one emulation must be selected
    #
    # CONFIG_VFP is not set
    
    #
    # Userspace binary formats
    #
    CONFIG_BINFMT_ELF=y
    # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
    CONFIG_HAVE_AOUT=y
    # CONFIG_BINFMT_AOUT is not set
    # CONFIG_BINFMT_MISC is not set
    
    #
    # Power management options
    #
    CONFIG_PM=y
    # CONFIG_PM_DEBUG is not set
    CONFIG_PM_SLEEP=y
    CONFIG_SUSPEND_NVS=y
    CONFIG_SUSPEND=y
    CONFIG_SUSPEND_FREEZER=y
    # CONFIG_APM_EMULATION is not set
    # CONFIG_PM_RUNTIME is not set
    CONFIG_PM_OPS=y
    CONFIG_ARCH_SUSPEND_POSSIBLE=y
    CONFIG_NET=y
    
    #
    # Networking options
    #
    CONFIG_PACKET=y
    CONFIG_UNIX=y
    CONFIG_XFRM=y
    # CONFIG_XFRM_USER is not set
    # CONFIG_XFRM_SUB_POLICY is not set
    # CONFIG_XFRM_MIGRATE is not set
    # CONFIG_XFRM_STATISTICS is not set
    # CONFIG_NET_KEY is not set
    CONFIG_INET=y
    # CONFIG_IP_MULTICAST is not set
    # CONFIG_IP_ADVANCED_ROUTER is not set
    CONFIG_IP_FIB_HASH=y
    CONFIG_IP_PNP=y
    CONFIG_IP_PNP_DHCP=y
    # CONFIG_IP_PNP_BOOTP is not set
    # CONFIG_IP_PNP_RARP is not set
    # CONFIG_NET_IPIP is not set
    # CONFIG_NET_IPGRE_DEMUX is not set
    # CONFIG_ARPD is not set
    # CONFIG_SYN_COOKIES is not set
    # CONFIG_INET_AH is not set
    # CONFIG_INET_ESP is not set
    # CONFIG_INET_IPCOMP is not set
    # CONFIG_INET_XFRM_TUNNEL is not set
    # CONFIG_INET_TUNNEL is not set
    CONFIG_INET_XFRM_MODE_TRANSPORT=y
    CONFIG_INET_XFRM_MODE_TUNNEL=y
    CONFIG_INET_XFRM_MODE_BEET=y
    # CONFIG_INET_LRO is not set
    CONFIG_INET_DIAG=y
    CONFIG_INET_TCP_DIAG=y
    # CONFIG_TCP_CONG_ADVANCED is not set
    CONFIG_TCP_CONG_CUBIC=y
    CONFIG_DEFAULT_TCP_CONG="cubic"
    # CONFIG_TCP_MD5SIG is not set
    # CONFIG_IPV6 is not set
    # CONFIG_NETLABEL is not set
    # CONFIG_NETWORK_SECMARK is not set
    # CONFIG_NETWORK_PHY_TIMESTAMPING is not set
    CONFIG_NETFILTER=y
    # CONFIG_NETFILTER_DEBUG is not set
    CONFIG_NETFILTER_ADVANCED=y
    
    #
    # Core Netfilter Configuration
    #
    # CONFIG_NETFILTER_NETLINK_QUEUE is not set
    # CONFIG_NETFILTER_NETLINK_LOG is not set
    CONFIG_NF_CONNTRACK=y
    # CONFIG_NF_CONNTRACK_MARK is not set
    # CONFIG_NF_CONNTRACK_EVENTS is not set
    # CONFIG_NF_CT_PROTO_DCCP is not set
    # CONFIG_NF_CT_PROTO_SCTP is not set
    # CONFIG_NF_CT_PROTO_UDPLITE is not set
    # CONFIG_NF_CONNTRACK_AMANDA is not set
    # CONFIG_NF_CONNTRACK_FTP is not set
    # CONFIG_NF_CONNTRACK_H323 is not set
    # CONFIG_NF_CONNTRACK_IRC is not set
    # CONFIG_NF_CONNTRACK_NETBIOS_NS is not set
    # CONFIG_NF_CONNTRACK_PPTP is not set
    # CONFIG_NF_CONNTRACK_SANE is not set
    # CONFIG_NF_CONNTRACK_SIP is not set
    # CONFIG_NF_CONNTRACK_TFTP is not set
    # CONFIG_NF_CT_NETLINK is not set
    CONFIG_NETFILTER_XTABLES=y
    
    #
    # Xtables combined modules
    #
    # CONFIG_NETFILTER_XT_MARK is not set
    # CONFIG_NETFILTER_XT_CONNMARK is not set
    
    #
    # Xtables targets
    #
    # CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set
    # CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set
    # CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set
    # CONFIG_NETFILTER_XT_TARGET_MARK is not set
    # CONFIG_NETFILTER_XT_TARGET_NFLOG is not set
    # CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set
    # CONFIG_NETFILTER_XT_TARGET_RATEEST is not set
    # CONFIG_NETFILTER_XT_TARGET_TEE is not set
    # CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set
    
    #
    # Xtables matches
    #
    # CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set
    # CONFIG_NETFILTER_XT_MATCH_COMMENT is not set
    # CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set
    # CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set
    # CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set
    # CONFIG_NETFILTER_XT_MATCH_CONNTRACK is not set
    # CONFIG_NETFILTER_XT_MATCH_CPU is not set
    # CONFIG_NETFILTER_XT_MATCH_DCCP is not set
    # CONFIG_NETFILTER_XT_MATCH_DSCP is not set
    # CONFIG_NETFILTER_XT_MATCH_ESP is not set
    # CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set
    # CONFIG_NETFILTER_XT_MATCH_HELPER is not set
    # CONFIG_NETFILTER_XT_MATCH_HL is not set
    # CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set
    # CONFIG_NETFILTER_XT_MATCH_LENGTH is not set
    # CONFIG_NETFILTER_XT_MATCH_LIMIT is not set
    # CONFIG_NETFILTER_XT_MATCH_MAC is not set
    # CONFIG_NETFILTER_XT_MATCH_MARK is not set
    # CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set
    # CONFIG_NETFILTER_XT_MATCH_OWNER is not set
    # CONFIG_NETFILTER_XT_MATCH_POLICY is not set
    # CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set
    # CONFIG_NETFILTER_XT_MATCH_QUOTA is not set
    # CONFIG_NETFILTER_XT_MATCH_RATEEST is not set
    # CONFIG_NETFILTER_XT_MATCH_REALM is not set
    # CONFIG_NETFILTER_XT_MATCH_RECENT is not set
    # CONFIG_NETFILTER_XT_MATCH_SCTP is not set
    # CONFIG_NETFILTER_XT_MATCH_STATE is not set
    # CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set
    # CONFIG_NETFILTER_XT_MATCH_STRING is not set
    # CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set
    # CONFIG_NETFILTER_XT_MATCH_TIME is not set
    # CONFIG_NETFILTER_XT_MATCH_U32 is not set
    # CONFIG_IP_VS is not set
    
    #
    # IP: Netfilter Configuration
    #
    CONFIG_NF_DEFRAG_IPV4=y
    CONFIG_NF_CONNTRACK_IPV4=y
    CONFIG_NF_CONNTRACK_PROC_COMPAT=y
    # CONFIG_IP_NF_QUEUE is not set
    CONFIG_IP_NF_IPTABLES=y
    # CONFIG_IP_NF_MATCH_ADDRTYPE is not set
    # CONFIG_IP_NF_MATCH_AH is not set
    # CONFIG_IP_NF_MATCH_ECN is not set
    # CONFIG_IP_NF_MATCH_TTL is not set
    CONFIG_IP_NF_FILTER=y
    # CONFIG_IP_NF_TARGET_REJECT is not set
    CONFIG_IP_NF_TARGET_LOG=y
    # CONFIG_IP_NF_TARGET_ULOG is not set
    CONFIG_NF_NAT=y
    CONFIG_NF_NAT_NEEDED=y
    CONFIG_IP_NF_TARGET_MASQUERADE=y
    # CONFIG_IP_NF_TARGET_NETMAP is not set
    # CONFIG_IP_NF_TARGET_REDIRECT is not set
    # CONFIG_NF_NAT_SNMP_BASIC is not set
    # CONFIG_NF_NAT_FTP is not set
    # CONFIG_NF_NAT_IRC is not set
    # CONFIG_NF_NAT_TFTP is not set
    # CONFIG_NF_NAT_AMANDA is not set
    # CONFIG_NF_NAT_PPTP is not set
    # CONFIG_NF_NAT_H323 is not set
    # CONFIG_NF_NAT_SIP is not set
    # CONFIG_IP_NF_MANGLE is not set
    # CONFIG_IP_NF_RAW is not set
    # CONFIG_IP_NF_SECURITY is not set
    # CONFIG_IP_NF_ARPTABLES is not set
    # CONFIG_IP_DCCP is not set
    # CONFIG_IP_SCTP is not set
    # CONFIG_RDS is not set
    # CONFIG_TIPC is not set
    # CONFIG_ATM is not set
    # CONFIG_L2TP is not set
    # CONFIG_BRIDGE is not set
    # CONFIG_NET_DSA is not set
    # CONFIG_VLAN_8021Q is not set
    # CONFIG_DECNET is not set
    # CONFIG_LLC2 is not set
    # CONFIG_LAPB is not set
    # CONFIG_ECONET is not set
    # CONFIG_WAN_ROUTER is not set
    # CONFIG_PHONET is not set
    # CONFIG_IEEE802154 is not set
    # CONFIG_NET_SCHED is not set
    # CONFIG_DCB is not set
    # CONFIG_DNS_RESOLVER is not set
    
    #
    # Network testing
    #
    # CONFIG_NET_PKTGEN is not set
    # CONFIG_HAMRADIO is not set
    # CONFIG_CAN is not set
    # CONFIG_IRDA is not set
    # CONFIG_BT is not set
    # CONFIG_AF_RXRPC is not set
    CONFIG_WIRELESS=y
    CONFIG_WIRELESS_EXT=y
    CONFIG_WEXT_CORE=y
    CONFIG_WEXT_PROC=y
    CONFIG_CFG80211=m
    CONFIG_NL80211_TESTMODE=y
    # CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
    # CONFIG_CFG80211_REG_DEBUG is not set
    CONFIG_CFG80211_DEFAULT_PS=y
    # CONFIG_CFG80211_DEBUGFS is not set
    # CONFIG_CFG80211_INTERNAL_REGDB is not set
    CONFIG_CFG80211_WEXT=y
    CONFIG_WIRELESS_EXT_SYSFS=y
    # CONFIG_LIB80211 is not set
    # CONFIG_MAC80211 is not set
    
    #
    # Some wireless drivers require a rate control algorithm
    #
    # CONFIG_WIMAX is not set
    CONFIG_RFKILL=y
    # CONFIG_RFKILL_INPUT is not set
    # CONFIG_NET_9P is not set
    # CONFIG_CAIF is not set
    # CONFIG_CEPH_LIB is not set
    
    #
    # Device Drivers
    #
    
    #
    # Generic Driver Options
    #
    CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
    CONFIG_DEVTMPFS=y
    CONFIG_DEVTMPFS_MOUNT=y
    CONFIG_STANDALONE=y
    CONFIG_PREVENT_FIRMWARE_BUILD=y
    CONFIG_FW_LOADER=y
    CONFIG_FIRMWARE_IN_KERNEL=y
    CONFIG_EXTRA_FIRMWARE=""
    # CONFIG_DEBUG_DRIVER is not set
    # CONFIG_DEBUG_DEVRES is not set
    # CONFIG_SYS_HYPERVISOR is not set
    # CONFIG_CONNECTOR is not set
    CONFIG_MTD=y
    # CONFIG_MTD_DEBUG is not set
    # CONFIG_MTD_TESTS is not set
    # CONFIG_MTD_CONCAT is not set
    CONFIG_MTD_PARTITIONS=y
    # CONFIG_MTD_REDBOOT_PARTS is not set
    CONFIG_MTD_CMDLINE_PARTS=y
    # CONFIG_MTD_AFS_PARTS is not set
    # CONFIG_MTD_AR7_PARTS is not set
    
    #
    # User Modules And Translation Layers
    #
    CONFIG_MTD_CHAR=y
    CONFIG_MTD_BLKDEVS=y
    CONFIG_MTD_BLOCK=y
    # CONFIG_FTL is not set
    # CONFIG_NFTL is not set
    # CONFIG_INFTL is not set
    # CONFIG_RFD_FTL is not set
    # CONFIG_SSFDC is not set
    # CONFIG_SM_FTL is not set
    # CONFIG_MTD_OOPS is not set
    
    #
    # RAM/ROM/Flash chip drivers
    #
    # CONFIG_MTD_CFI is not set
    # CONFIG_MTD_JEDECPROBE is not set
    CONFIG_MTD_MAP_BANK_WIDTH_1=y
    CONFIG_MTD_MAP_BANK_WIDTH_2=y
    CONFIG_MTD_MAP_BANK_WIDTH_4=y
    # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
    # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
    # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
    CONFIG_MTD_CFI_I1=y
    CONFIG_MTD_CFI_I2=y
    # CONFIG_MTD_CFI_I4 is not set
    # CONFIG_MTD_CFI_I8 is not set
    # CONFIG_MTD_RAM is not set
    # CONFIG_MTD_ROM is not set
    # CONFIG_MTD_ABSENT is not set
    
    #
    # Mapping drivers for chip access
    #
    # CONFIG_MTD_COMPLEX_MAPPINGS is not set
    # CONFIG_MTD_PLATRAM is not set
    
    #
    # Self-contained MTD device drivers
    #
    # CONFIG_MTD_DATAFLASH is not set
    # CONFIG_MTD_M25P80 is not set
    # CONFIG_MTD_SST25L is not set
    # CONFIG_MTD_SLRAM is not set
    # CONFIG_MTD_PHRAM is not set
    # CONFIG_MTD_MTDRAM is not set
    # CONFIG_MTD_BLOCK2MTD is not set
    
    #
    # Disk-On-Chip Device Drivers
    #
    # CONFIG_MTD_DOC2000 is not set
    # CONFIG_MTD_DOC2001 is not set
    # CONFIG_MTD_DOC2001PLUS is not set
    CONFIG_MTD_NAND_ECC=y
    # CONFIG_MTD_NAND_ECC_SMC is not set
    CONFIG_MTD_NAND=y
    # CONFIG_MTD_NAND_VERIFY_WRITE is not set
    # CONFIG_MTD_SM_COMMON is not set
    # CONFIG_MTD_NAND_MUSEUM_IDS is not set
    # CONFIG_MTD_NAND_GPIO is not set
    CONFIG_MTD_NAND_IDS=y
    # CONFIG_MTD_NAND_DISKONCHIP is not set
    # CONFIG_MTD_NAND_NANDSIM is not set
    CONFIG_MTD_NAND_PLATFORM=y
    # CONFIG_MTD_ALAUDA is not set
    CONFIG_MTD_NAND_DAVINCI=y
    # CONFIG_MTD_ONENAND is not set
    
    #
    # LPDDR flash memory drivers
    #
    # CONFIG_MTD_LPDDR is not set
    CONFIG_MTD_UBI=y
    CONFIG_MTD_UBI_WL_THRESHOLD=4096
    CONFIG_MTD_UBI_BEB_RESERVE=1
    # CONFIG_MTD_UBI_GLUEBI is not set
    
    #
    # UBI debugging options
    #
    # CONFIG_MTD_UBI_DEBUG is not set
    # CONFIG_PARPORT is not set
    CONFIG_BLK_DEV=y
    # CONFIG_BLK_DEV_COW_COMMON is not set
    CONFIG_BLK_DEV_LOOP=m
    # CONFIG_BLK_DEV_CRYPTOLOOP is not set
    
    #
    # DRBD disabled because PROC_FS, INET or CONNECTOR not selected
    #
    # CONFIG_BLK_DEV_NBD is not set
    # CONFIG_BLK_DEV_UB is not set
    CONFIG_BLK_DEV_RAM=y
    CONFIG_BLK_DEV_RAM_COUNT=1
    CONFIG_BLK_DEV_RAM_SIZE=4096
    # CONFIG_BLK_DEV_XIP is not set
    # CONFIG_CDROM_PKTCDVD is not set
    # CONFIG_ATA_OVER_ETH is not set
    # CONFIG_MG_DISK is not set
    # CONFIG_BLK_DEV_RBD is not set
    CONFIG_MISC_DEVICES=y
    # CONFIG_AD525X_DPOT is not set
    # CONFIG_ICS932S401 is not set
    # CONFIG_ENCLOSURE_SERVICES is not set
    # CONFIG_APDS9802ALS is not set
    # CONFIG_ISL29003 is not set
    # CONFIG_ISL29020 is not set
    # CONFIG_SENSORS_TSL2550 is not set
    # CONFIG_SENSORS_BH1780 is not set
    # CONFIG_SENSORS_BH1770 is not set
    # CONFIG_SENSORS_APDS990X is not set
    # CONFIG_HMC6352 is not set
    # CONFIG_DS1682 is not set
    # CONFIG_TI_DAC7512 is not set
    # CONFIG_BMP085 is not set
    # CONFIG_C2PORT is not set
    
    #
    # EEPROM support
    #
    # CONFIG_EEPROM_AT24 is not set
    # CONFIG_EEPROM_AT25 is not set
    # CONFIG_EEPROM_LEGACY is not set
    # CONFIG_EEPROM_MAX6875 is not set
    # CONFIG_EEPROM_93CX6 is not set
    # CONFIG_IWMC3200TOP is not set
    
    #
    # Texas Instruments shared transport line discipline
    #
    # CONFIG_TI_ST is not set
    CONFIG_HAVE_IDE=y
    # CONFIG_IDE is not set
    
    #
    # SCSI device support
    #
    CONFIG_SCSI_MOD=y
    # CONFIG_RAID_ATTRS is not set
    CONFIG_SCSI=y
    CONFIG_SCSI_DMA=y
    # CONFIG_SCSI_TGT is not set
    # CONFIG_SCSI_NETLINK is not set
    CONFIG_SCSI_PROC_FS=y
    
    #
    # SCSI support type (disk, tape, CD-ROM)
    #
    CONFIG_BLK_DEV_SD=y
    # CONFIG_CHR_DEV_ST is not set
    # CONFIG_CHR_DEV_OSST is not set
    # CONFIG_BLK_DEV_SR is not set
    CONFIG_CHR_DEV_SG=y
    # CONFIG_CHR_DEV_SCH is not set
    # CONFIG_SCSI_MULTI_LUN is not set
    # CONFIG_SCSI_CONSTANTS is not set
    # CONFIG_SCSI_LOGGING is not set
    # CONFIG_SCSI_SCAN_ASYNC is not set
    CONFIG_SCSI_WAIT_SCAN=m
    
    #
    # SCSI Transports
    #
    # CONFIG_SCSI_SPI_ATTRS is not set
    # CONFIG_SCSI_FC_ATTRS is not set
    CONFIG_SCSI_ISCSI_ATTRS=m
    # CONFIG_SCSI_SAS_ATTRS is not set
    # CONFIG_SCSI_SAS_LIBSAS is not set
    # CONFIG_SCSI_SRP_ATTRS is not set
    CONFIG_SCSI_LOWLEVEL=y
    CONFIG_ISCSI_TCP=m
    # CONFIG_ISCSI_BOOT_SYSFS is not set
    # CONFIG_LIBFC is not set
    # CONFIG_LIBFCOE is not set
    # CONFIG_SCSI_DEBUG is not set
    # CONFIG_SCSI_DH is not set
    # CONFIG_SCSI_OSD_INITIATOR is not set
    # CONFIG_ATA is not set
    # CONFIG_MD is not set
    CONFIG_NETDEVICES=y
    # CONFIG_DUMMY is not set
    # CONFIG_BONDING is not set
    # CONFIG_MACVLAN is not set
    # CONFIG_EQUALIZER is not set
    CONFIG_TUN=m
    # CONFIG_VETH is not set
    # CONFIG_MII is not set
    CONFIG_PHYLIB=y
    
    #
    # MII PHY device drivers
    #
    # CONFIG_MARVELL_PHY is not set
    # CONFIG_DAVICOM_PHY is not set
    # CONFIG_QSEMI_PHY is not set
    CONFIG_LXT_PHY=y
    # CONFIG_CICADA_PHY is not set
    # CONFIG_VITESSE_PHY is not set
    # CONFIG_SMSC_PHY is not set
    # CONFIG_BROADCOM_PHY is not set
    # CONFIG_BCM63XX_PHY is not set
    # CONFIG_ICPLUS_PHY is not set
    # CONFIG_REALTEK_PHY is not set
    # CONFIG_NATIONAL_PHY is not set
    # CONFIG_STE10XP is not set
    CONFIG_LSI_ET1011C_PHY=y
    # CONFIG_MICREL_PHY is not set
    # CONFIG_FIXED_PHY is not set
    # CONFIG_MDIO_BITBANG is not set
    CONFIG_NET_ETHERNET=y
    # CONFIG_AX88796 is not set
    # CONFIG_SMC91X is not set
    CONFIG_TI_DAVINCI_EMAC=y
    CONFIG_TI_DAVINCI_MDIO=y
    CONFIG_TI_DAVINCI_CPDMA=y
    # CONFIG_DM9000 is not set
    # CONFIG_ENC28J60 is not set
    # CONFIG_ETHOC is not set
    # CONFIG_SMC911X is not set
    # CONFIG_SMSC911X is not set
    # CONFIG_DNET is not set
    # CONFIG_IBM_NEW_EMAC_ZMII is not set
    # CONFIG_IBM_NEW_EMAC_RGMII is not set
    # CONFIG_IBM_NEW_EMAC_TAH is not set
    # CONFIG_IBM_NEW_EMAC_EMAC4 is not set
    # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
    # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
    # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
    # CONFIG_B44 is not set
    # CONFIG_KS8851 is not set
    # CONFIG_KS8851_MLL is not set
    # CONFIG_NETDEV_1000 is not set
    # CONFIG_NETDEV_10000 is not set
    CONFIG_WLAN=y
    # CONFIG_USB_ZD1201 is not set
    # CONFIG_USB_NET_RNDIS_WLAN is not set
    # CONFIG_ATH_COMMON is not set
    # CONFIG_HOSTAP is not set
    # CONFIG_IWM is not set
    # CONFIG_LIBERTAS is not set
    CONFIG_WL12XX_PLATFORM_DATA=y
    
    #
    # Enable WiMAX (Networking options) to see the WiMAX drivers
    #
    
    #
    # USB Network Adapters
    #
    # CONFIG_USB_CATC is not set
    # CONFIG_USB_KAWETH is not set
    # CONFIG_USB_PEGASUS is not set
    # CONFIG_USB_RTL8150 is not set
    # CONFIG_USB_USBNET is not set
    # CONFIG_USB_HSO is not set
    # CONFIG_USB_IPHETH is not set
    # CONFIG_WAN is not set
    
    #
    # CAIF transport drivers
    #
    CONFIG_PPP=m
    # CONFIG_PPP_MULTILINK is not set
    # CONFIG_PPP_FILTER is not set
    # CONFIG_PPP_ASYNC is not set
    # CONFIG_PPP_SYNC_TTY is not set
    CONFIG_PPP_DEFLATE=m
    # CONFIG_PPP_BSDCOMP is not set
    # CONFIG_PPP_MPPE is not set
    # CONFIG_PPPOE is not set
    # CONFIG_SLIP is not set
    CONFIG_SLHC=m
    CONFIG_NETCONSOLE=m
    # CONFIG_NETCONSOLE_DYNAMIC is not set
    CONFIG_NETPOLL=y
    CONFIG_NETPOLL_TRAP=y
    CONFIG_NET_POLL_CONTROLLER=y
    # CONFIG_ISDN is not set
    # CONFIG_PHONE is not set
    
    #
    # Input device support
    #
    CONFIG_INPUT=y
    CONFIG_INPUT_FF_MEMLESS=y
    # CONFIG_INPUT_POLLDEV is not set
    # CONFIG_INPUT_SPARSEKMAP is not set
    
    #
    # Userland interfaces
    #
    # CONFIG_INPUT_MOUSEDEV is not set
    # CONFIG_INPUT_JOYDEV is not set
    CONFIG_INPUT_EVDEV=y
    CONFIG_INPUT_EVBUG=y
    
    #
    # Input Device Drivers
    #
    # CONFIG_INPUT_KEYBOARD is not set
    # CONFIG_INPUT_MOUSE is not set
    # CONFIG_INPUT_JOYSTICK is not set
    # CONFIG_INPUT_TABLET is not set
    # CONFIG_INPUT_TOUCHSCREEN is not set
    CONFIG_INPUT_MISC=y
    # CONFIG_INPUT_AD714X is not set
    # CONFIG_INPUT_ATI_REMOTE is not set
    # CONFIG_INPUT_ATI_REMOTE2 is not set
    # CONFIG_INPUT_KEYSPAN_REMOTE is not set
    # CONFIG_INPUT_POWERMATE is not set
    # CONFIG_INPUT_YEALINK is not set
    # CONFIG_INPUT_CM109 is not set
    CONFIG_INPUT_UINPUT=y
    # CONFIG_INPUT_PCF8574 is not set
    # CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
    # CONFIG_INPUT_ADXL34X is not set
    
    #
    # Hardware I/O ports
    #
    CONFIG_SERIO=y
    CONFIG_SERIO_SERPORT=y
    CONFIG_SERIO_LIBPS2=y
    # CONFIG_SERIO_RAW is not set
    # CONFIG_SERIO_ALTERA_PS2 is not set
    # CONFIG_SERIO_PS2MULT is not set
    # CONFIG_GAMEPORT is not set
    
    #
    # Character devices
    #
    CONFIG_VT=y
    CONFIG_CONSOLE_TRANSLATIONS=y
    # CONFIG_VT_CONSOLE is not set
    CONFIG_HW_CONSOLE=y
    # CONFIG_VT_HW_CONSOLE_BINDING is not set
    CONFIG_DEVKMEM=y
    # CONFIG_SERIAL_NONSTANDARD is not set
    # CONFIG_N_GSM is not set
    
    #
    # Serial drivers
    #
    CONFIG_SERIAL_8250=y
    CONFIG_SERIAL_8250_CONSOLE=y
    CONFIG_SERIAL_8250_NR_UARTS=2
    CONFIG_SERIAL_8250_RUNTIME_UARTS=2
    # CONFIG_SERIAL_8250_EXTENDED is not set
    
    #
    # Non-8250 serial port support
    #
    # CONFIG_SERIAL_MAX3100 is not set
    # CONFIG_SERIAL_MAX3107 is not set
    CONFIG_SERIAL_CORE=y
    CONFIG_SERIAL_CORE_CONSOLE=y
    # CONFIG_SERIAL_TIMBERDALE is not set
    # CONFIG_SERIAL_ALTERA_JTAGUART is not set
    # CONFIG_SERIAL_ALTERA_UART is not set
    CONFIG_UNIX98_PTYS=y
    # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
    # CONFIG_LEGACY_PTYS is not set
    # CONFIG_TTY_PRINTK is not set
    # CONFIG_IPMI_HANDLER is not set
    # CONFIG_HW_RANDOM is not set
    # CONFIG_R3964 is not set
    # CONFIG_RAW_DRIVER is not set
    # CONFIG_TCG_TPM is not set
    # CONFIG_RAMOOPS is not set
    CONFIG_I2C=y
    CONFIG_I2C_BOARDINFO=y
    CONFIG_I2C_COMPAT=y
    CONFIG_I2C_CHARDEV=y
    # CONFIG_I2C_MUX is not set
    CONFIG_I2C_HELPER_AUTO=y
    
    #
    # I2C Hardware Bus support
    #
    
    #
    # I2C system bus drivers (mostly embedded / system-on-chip)
    #
    CONFIG_I2C_DAVINCI=y
    # CONFIG_I2C_DESIGNWARE is not set
    # CONFIG_I2C_GPIO is not set
    # CONFIG_I2C_OCORES is not set
    # CONFIG_I2C_PCA_PLATFORM is not set
    # CONFIG_I2C_SIMTEC is not set
    # CONFIG_I2C_XILINX is not set
    
    #
    # External I2C/SMBus adapter drivers
    #
    # CONFIG_I2C_PARPORT_LIGHT is not set
    # CONFIG_I2C_TAOS_EVM is not set
    # CONFIG_I2C_TINY_USB is not set
    
    #
    # Other I2C/SMBus bus drivers
    #
    # CONFIG_I2C_STUB is not set
    # CONFIG_I2C_DEBUG_CORE is not set
    # CONFIG_I2C_DEBUG_ALGO is not set
    # CONFIG_I2C_DEBUG_BUS is not set
    CONFIG_SPI=y
    # CONFIG_SPI_DEBUG is not set
    CONFIG_SPI_MASTER=y
    
    #
    # SPI Master Controller Drivers
    #
    CONFIG_SPI_BITBANG=y
    CONFIG_SPI_DAVINCI=y
    # CONFIG_SPI_GPIO is not set
    # CONFIG_SPI_XILINX is not set
    # CONFIG_SPI_DESIGNWARE is not set
    
    #
    # SPI Protocol Masters
    #
    CONFIG_SPI_SPIDEV=y
    # CONFIG_SPI_TLE62X0 is not set
    
    #
    # PPS support
    #
    # CONFIG_PPS is not set
    CONFIG_ARCH_REQUIRE_GPIOLIB=y
    CONFIG_GPIOLIB=y
    # CONFIG_DEBUG_GPIO is not set
    # CONFIG_GPIO_SYSFS is not set
    
    #
    # Memory mapped GPIO expanders:
    #
    # CONFIG_GPIO_BASIC_MMIO is not set
    # CONFIG_GPIO_IT8761E is not set
    # CONFIG_GPIO_VX855 is not set
    
    #
    # I2C GPIO expanders:
    #
    # CONFIG_GPIO_MAX7300 is not set
    # CONFIG_GPIO_MAX732X is not set
    CONFIG_GPIO_PCF857X=y
    # CONFIG_GPIO_SX150X is not set
    # CONFIG_GPIO_ADP5588 is not set
    
    #
    # PCI GPIO expanders:
    #
    
    #
    # SPI GPIO expanders:
    #
    # CONFIG_GPIO_MAX7301 is not set
    # CONFIG_GPIO_MCP23S08 is not set
    # CONFIG_GPIO_MC33880 is not set
    # CONFIG_GPIO_74X164 is not set
    
    #
    # AC97 GPIO expanders:
    #
    
    #
    # MODULbus GPIO expanders:
    #
    # CONFIG_GENERIC_PWM is not set
    # CONFIG_W1 is not set
    # CONFIG_POWER_SUPPLY is not set
    CONFIG_HWMON=y
    # CONFIG_HWMON_VID is not set
    # CONFIG_HWMON_DEBUG_CHIP is not set
    
    #
    # Native drivers
    #
    # CONFIG_SENSORS_AD7414 is not set
    # CONFIG_SENSORS_AD7418 is not set
    # CONFIG_SENSORS_ADCXX is not set
    # CONFIG_SENSORS_ADM1021 is not set
    # CONFIG_SENSORS_ADM1025 is not set
    # CONFIG_SENSORS_ADM1026 is not set
    # CONFIG_SENSORS_ADM1029 is not set
    # CONFIG_SENSORS_ADM1031 is not set
    # CONFIG_SENSORS_ADM9240 is not set
    # CONFIG_SENSORS_ADT7411 is not set
    # CONFIG_SENSORS_ADT7462 is not set
    # CONFIG_SENSORS_ADT7470 is not set
    # CONFIG_SENSORS_ADT7475 is not set
    # CONFIG_SENSORS_ASC7621 is not set
    # CONFIG_SENSORS_ATXP1 is not set
    # CONFIG_SENSORS_DS1621 is not set
    # CONFIG_SENSORS_F71805F is not set
    # CONFIG_SENSORS_F71882FG is not set
    # CONFIG_SENSORS_F75375S is not set
    # CONFIG_SENSORS_G760A is not set
    # CONFIG_SENSORS_GL518SM is not set
    # CONFIG_SENSORS_GL520SM is not set
    # CONFIG_SENSORS_GPIO_FAN is not set
    # CONFIG_SENSORS_IT87 is not set
    # CONFIG_SENSORS_JC42 is not set
    # CONFIG_SENSORS_LM63 is not set
    # CONFIG_SENSORS_LM70 is not set
    # CONFIG_SENSORS_LM73 is not set
    # CONFIG_SENSORS_LM75 is not set
    # CONFIG_SENSORS_LM77 is not set
    # CONFIG_SENSORS_LM78 is not set
    # CONFIG_SENSORS_LM80 is not set
    # CONFIG_SENSORS_LM83 is not set
    # CONFIG_SENSORS_LM85 is not set
    # CONFIG_SENSORS_LM87 is not set
    # CONFIG_SENSORS_LM90 is not set
    # CONFIG_SENSORS_LM92 is not set
    # CONFIG_SENSORS_LM93 is not set
    # CONFIG_SENSORS_LTC4215 is not set
    # CONFIG_SENSORS_LTC4245 is not set
    # CONFIG_SENSORS_LTC4261 is not set
    # CONFIG_SENSORS_LM95241 is not set
    # CONFIG_SENSORS_MAX1111 is not set
    # CONFIG_SENSORS_MAX1619 is not set
    # CONFIG_SENSORS_MAX6650 is not set
    # CONFIG_SENSORS_PC87360 is not set
    # CONFIG_SENSORS_PC87427 is not set
    # CONFIG_SENSORS_PCF8591 is not set
    # CONFIG_SENSORS_SHT15 is not set
    # CONFIG_SENSORS_SMM665 is not set
    # CONFIG_SENSORS_DME1737 is not set
    # CONFIG_SENSORS_EMC1403 is not set
    # CONFIG_SENSORS_EMC2103 is not set
    # CONFIG_SENSORS_SMSC47M1 is not set
    # CONFIG_SENSORS_SMSC47M192 is not set
    # CONFIG_SENSORS_SMSC47B397 is not set
    # CONFIG_SENSORS_ADS7828 is not set
    # CONFIG_SENSORS_ADS7871 is not set
    # CONFIG_SENSORS_AMC6821 is not set
    # CONFIG_SENSORS_THMC50 is not set
    # CONFIG_SENSORS_TMP102 is not set
    # CONFIG_SENSORS_TMP401 is not set
    # CONFIG_SENSORS_TMP421 is not set
    # CONFIG_SENSORS_VT1211 is not set
    # CONFIG_SENSORS_W83781D is not set
    # CONFIG_SENSORS_W83791D is not set
    # CONFIG_SENSORS_W83792D is not set
    # CONFIG_SENSORS_W83793 is not set
    # CONFIG_SENSORS_W83795 is not set
    # CONFIG_SENSORS_W83L785TS is not set
    # CONFIG_SENSORS_W83L786NG is not set
    # CONFIG_SENSORS_W83627HF is not set
    # CONFIG_SENSORS_W83627EHF is not set
    # CONFIG_SENSORS_LIS3_SPI is not set
    # CONFIG_SENSORS_LIS3_I2C is not set
    # CONFIG_THERMAL is not set
    CONFIG_WATCHDOG=y
    # CONFIG_WATCHDOG_NOWAYOUT is not set
    
    #
    # Watchdog Device Drivers
    #
    # CONFIG_SOFT_WATCHDOG is not set
    CONFIG_DAVINCI_WATCHDOG=y
    # CONFIG_MAX63XX_WATCHDOG is not set
    
    #
    # USB-based Watchdog Cards
    #
    # CONFIG_USBPCWATCHDOG is not set
    CONFIG_SSB_POSSIBLE=y
    
    #
    # Sonics Silicon Backplane
    #
    # CONFIG_SSB is not set
    CONFIG_MFD_SUPPORT=y
    # CONFIG_MFD_CORE is not set
    # CONFIG_MFD_88PM860X is not set
    # CONFIG_MFD_SM501 is not set
    # CONFIG_MFD_ASIC3 is not set
    # CONFIG_HTC_EGPIO is not set
    # CONFIG_HTC_PASIC3 is not set
    # CONFIG_HTC_I2CPLD is not set
    # CONFIG_TPS65010 is not set
    # CONFIG_TPS6507X is not set
    # CONFIG_TWL4030_CORE is not set
    # CONFIG_MFD_STMPE is not set
    # CONFIG_MFD_TC35892 is not set
    # CONFIG_MFD_TMIO is not set
    # CONFIG_MFD_T7L66XB is not set
    # CONFIG_MFD_TC6387XB is not set
    # CONFIG_MFD_TC6393XB is not set
    # CONFIG_PMIC_DA903X is not set
    # CONFIG_PMIC_ADP5520 is not set
    # CONFIG_MFD_MAX8925 is not set
    # CONFIG_MFD_MAX8998 is not set
    # CONFIG_MFD_WM8400 is not set
    # CONFIG_MFD_WM831X_I2C is not set
    # CONFIG_MFD_WM831X_SPI is not set
    # CONFIG_MFD_WM8350_I2C is not set
    # CONFIG_MFD_WM8994 is not set
    # CONFIG_MFD_PCF50633 is not set
    # CONFIG_MFD_MC13XXX is not set
    # CONFIG_ABX500_CORE is not set
    # CONFIG_EZX_PCAP is not set
    # CONFIG_MFD_TPS6586X is not set
    # CONFIG_REGULATOR is not set
    CONFIG_MEDIA_SUPPORT=y
    
    #
    # Multimedia core support
    #
    CONFIG_MEDIA_CONTROLLER=y
    CONFIG_VIDEO_DEV=y
    CONFIG_VIDEO_V4L2_COMMON=y
    # CONFIG_VIDEO_ALLOW_V4L1 is not set
    # CONFIG_VIDEO_V4L1_COMPAT is not set
    CONFIG_VIDEO_V4L2_SUBDEV_API=y
    # CONFIG_DVB_CORE is not set
    CONFIG_VIDEO_MEDIA=y
    
    #
    # Multimedia drivers
    #
    # CONFIG_IR_CORE is not set
    # CONFIG_MEDIA_ATTACH is not set
    CONFIG_MEDIA_TUNER=y
    # CONFIG_MEDIA_TUNER_CUSTOMISE is not set
    CONFIG_MEDIA_TUNER_SIMPLE=y
    CONFIG_MEDIA_TUNER_TDA8290=y
    CONFIG_MEDIA_TUNER_TDA827X=y
    CONFIG_MEDIA_TUNER_TDA18271=y
    CONFIG_MEDIA_TUNER_TDA9887=y
    CONFIG_MEDIA_TUNER_TEA5761=y
    CONFIG_MEDIA_TUNER_TEA5767=y
    CONFIG_MEDIA_TUNER_MT20XX=y
    CONFIG_MEDIA_TUNER_XC2028=y
    CONFIG_MEDIA_TUNER_XC5000=y
    CONFIG_MEDIA_TUNER_MC44S803=y
    CONFIG_VIDEO_V4L2=y
    CONFIG_VIDEOBUF_GEN=y
    CONFIG_VIDEOBUF_DMA_CONTIG=y
    CONFIG_VIDEO_CAPTURE_DRIVERS=y
    # CONFIG_VIDEO_ADV_DEBUG is not set
    # CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
    # CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
    
    #
    # Encoders/decoders and other helper chips
    #
    
    #
    # Audio decoders
    #
    # CONFIG_VIDEO_TVAUDIO is not set
    # CONFIG_VIDEO_TDA7432 is not set
    # CONFIG_VIDEO_TDA9840 is not set
    # CONFIG_VIDEO_TDA9875 is not set
    # CONFIG_VIDEO_TEA6415C is not set
    # CONFIG_VIDEO_TEA6420 is not set
    # CONFIG_VIDEO_MSP3400 is not set
    # CONFIG_VIDEO_CS5345 is not set
    # CONFIG_VIDEO_CS53L32A is not set
    # CONFIG_VIDEO_M52790 is not set
    # CONFIG_VIDEO_TLV320AIC23B is not set
    # CONFIG_VIDEO_WM8775 is not set
    # CONFIG_VIDEO_WM8739 is not set
    # CONFIG_VIDEO_VP27SMPX is not set
    
    #
    # RDS decoders
    #
    # CONFIG_VIDEO_SAA6588 is not set
    
    #
    # Video decoders
    #
    # CONFIG_VIDEO_ADV7180 is not set
    # CONFIG_VIDEO_BT819 is not set
    # CONFIG_VIDEO_BT856 is not set
    # CONFIG_VIDEO_BT866 is not set
    # CONFIG_VIDEO_KS0127 is not set
    # CONFIG_VIDEO_OV7670 is not set
    # CONFIG_VIDEO_MT9V011 is not set
    # CONFIG_VIDEO_TCM825X is not set
    # CONFIG_VIDEO_SAA7110 is not set
    # CONFIG_VIDEO_SAA711X is not set
    # CONFIG_VIDEO_SAA717X is not set
    # CONFIG_VIDEO_SAA7191 is not set
    # CONFIG_VIDEO_TVP514X is not set
    # CONFIG_VIDEO_TVP5150 is not set
    # CONFIG_VIDEO_TVP7002 is not set
    # CONFIG_VIDEO_VPX3220 is not set
    
    #
    # Video and audio decoders
    #
    # CONFIG_VIDEO_CX25840 is not set
    
    #
    # MPEG video encoders
    #
    # CONFIG_VIDEO_CX2341X is not set
    
    #
    # Video encoders
    #
    # CONFIG_VIDEO_SAA7127 is not set
    # CONFIG_VIDEO_SAA7185 is not set
    # CONFIG_VIDEO_ADV7170 is not set
    # CONFIG_VIDEO_ADV7175 is not set
    # CONFIG_VIDEO_THS7303 is not set
    # CONFIG_VIDEO_THS7353 is not set
    # CONFIG_VIDEO_ADV7343 is not set
    # CONFIG_VIDEO_AK881X is not set
    
    #
    # Video improvement chips
    #
    # CONFIG_VIDEO_UPD64031A is not set
    # CONFIG_VIDEO_UPD64083 is not set
    # CONFIG_VIDEO_DM365_3A_HW is not set
    # CONFIG_VIDEO_DM365_AF is not set
    # CONFIG_VIDEO_DM365_AEW is not set
    # CONFIG_DM365_IPIPE is not set
    CONFIG_VIDEO_VPSS_SYSTEM=y
    # CONFIG_VIDEO_VPFE_CAPTURE is not set
    CONFIG_VIDEO_DM644X_VPBE=y
    CONFIG_VIDEO_VPBE_DISPLAY=y
    # CONFIG_VIDEO_CPIA2 is not set
    # CONFIG_VIDEO_SR030PC30 is not set
    # CONFIG_SOC_CAMERA is not set
    # CONFIG_SOC_CAMERA_MT9T031 is not set
    CONFIG_SOC_CAMERA_MT9P031=y
    # CONFIG_V4L_USB_DRIVERS is not set
    # CONFIG_V4L_MEM2MEM_DRIVERS is not set
    # CONFIG_RADIO_ADAPTERS is not set
    # CONFIG_DAB is not set
    
    #
    # Graphics support
    #
    # CONFIG_DRM is not set
    # CONFIG_VGASTATE is not set
    # CONFIG_VIDEO_OUTPUT_CONTROL is not set
    # CONFIG_FB is not set
    # CONFIG_BACKLIGHT_LCD_SUPPORT is not set
    
    #
    # Display device support
    #
    # CONFIG_DISPLAY_SUPPORT is not set
    
    #
    # Console display driver support
    #
    CONFIG_DUMMY_CONSOLE=y
    CONFIG_SOUND=y
    # CONFIG_SOUND_OSS_CORE is not set
    # CONFIG_SND is not set
    # CONFIG_SOUND_PRIME is not set
    # CONFIG_HID_SUPPORT is not set
    CONFIG_USB_SUPPORT=y
    CONFIG_USB_ARCH_HAS_HCD=y
    # CONFIG_USB_ARCH_HAS_OHCI is not set
    # CONFIG_USB_ARCH_HAS_EHCI is not set
    CONFIG_USB=y
    # CONFIG_USB_DEBUG is not set
    # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
    
    #
    # Miscellaneous USB options
    #
    CONFIG_USB_DEVICEFS=y
    CONFIG_USB_DEVICE_CLASS=y
    # CONFIG_USB_DYNAMIC_MINORS is not set
    # CONFIG_USB_OTG_WHITELIST is not set
    # CONFIG_USB_OTG_BLACKLIST_HUB is not set
    CONFIG_USB_MON=m
    # CONFIG_USB_WUSB is not set
    # CONFIG_USB_WUSB_CBAF is not set
    
    #
    # USB Host Controller Drivers
    #
    # CONFIG_USB_C67X00_HCD is not set
    # CONFIG_USB_OXU210HP_HCD is not set
    # CONFIG_USB_ISP116X_HCD is not set
    # CONFIG_USB_ISP1760_HCD is not set
    # CONFIG_USB_ISP1362_HCD is not set
    # CONFIG_USB_SL811_HCD is not set
    # CONFIG_USB_R8A66597_HCD is not set
    # CONFIG_USB_HWA_HCD is not set
    CONFIG_USB_MUSB_HDRC=m
    
    #
    # Platform Glue Layer
    #
    CONFIG_USB_MUSB_DAVINCI_GLUE=m
    CONFIG_USB_MUSB_DAVINCI=y
    # CONFIG_USB_MUSB_DA8XX is not set
    # CONFIG_USB_MUSB_TUSB6010 is not set
    # CONFIG_USB_MUSB_OMAP2PLUS is not set
    # CONFIG_USB_MUSB_AM35X is not set
    # CONFIG_USB_MUSB_BLACKFIN is not set
    # CONFIG_USB_MUSB_UX500 is not set
    # CONFIG_USB_MUSB_HOST is not set
    CONFIG_USB_MUSB_PERIPHERAL=y
    # CONFIG_USB_MUSB_OTG is not set
    CONFIG_USB_GADGET_MUSB_HDRC=y
    # CONFIG_MUSB_PIO_ONLY is not set
    # CONFIG_USB_INVENTRA_DMA_HW is not set
    CONFIG_USB_TI_CPPI_DMA_HW=m
    # CONFIG_USB_TI_CPPI41_DMA_HW is not set
    # CONFIG_USB_INVENTRA_DMA is not set
    CONFIG_USB_TI_CPPI_DMA=y
    # CONFIG_USB_TI_CPPI41_DMA is not set
    # CONFIG_USB_TUSB_OMAP_DMA is not set
    # CONFIG_USB_MUSB_DEBUG is not set
    
    #
    # USB Device Class drivers
    #
    # CONFIG_USB_ACM is not set
    # CONFIG_USB_PRINTER is not set
    # CONFIG_USB_WDM is not set
    # CONFIG_USB_TMC is not set
    
    #
    # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
    #
    
    #
    # also be needed; see USB_STORAGE Help for more info
    #
    # CONFIG_USB_STORAGE is not set
    # CONFIG_USB_UAS is not set
    # CONFIG_USB_LIBUSUAL is not set
    
    #
    # USB Imaging devices
    #
    # CONFIG_USB_MDC800 is not set
    # CONFIG_USB_MICROTEK is not set
    
    #
    # USB port drivers
    #
    # CONFIG_USB_SERIAL is not set
    
    #
    # USB Miscellaneous drivers
    #
    # CONFIG_USB_EMI62 is not set
    # CONFIG_USB_EMI26 is not set
    # CONFIG_USB_ADUTUX is not set
    # CONFIG_USB_SEVSEG is not set
    # CONFIG_USB_RIO500 is not set
    # CONFIG_USB_LEGOTOWER is not set
    # CONFIG_USB_LCD is not set
    # CONFIG_USB_LED is not set
    # CONFIG_USB_CYPRESS_CY7C63 is not set
    # CONFIG_USB_CYTHERM is not set
    # CONFIG_USB_IDMOUSE is not set
    # CONFIG_USB_FTDI_ELAN is not set
    # CONFIG_USB_APPLEDISPLAY is not set
    # CONFIG_USB_SISUSBVGA is not set
    # CONFIG_USB_LD is not set
    # CONFIG_USB_TRANCEVIBRATOR is not set
    # CONFIG_USB_IOWARRIOR is not set
    # CONFIG_USB_TEST is not set
    # CONFIG_USB_ISIGHTFW is not set
    # CONFIG_USB_YUREX is not set
    CONFIG_USB_GADGET=m
    # CONFIG_USB_GADGET_DEBUG is not set
    # CONFIG_USB_GADGET_DEBUG_FILES is not set
    # CONFIG_USB_GADGET_DEBUG_FS is not set
    CONFIG_USB_GADGET_VBUS_DRAW=2
    CONFIG_USB_GADGET_SELECTED=y
    # CONFIG_USB_GADGET_R8A66597 is not set
    # CONFIG_USB_GADGET_M66592 is not set
    # CONFIG_USB_GADGET_DUMMY_HCD is not set
    CONFIG_USB_GADGET_DUALSPEED=y
    # CONFIG_USB_ZERO is not set
    # CONFIG_USB_ETH is not set
    # CONFIG_USB_GADGETFS is not set
    # CONFIG_USB_FUNCTIONFS is not set
    CONFIG_USB_FILE_STORAGE=m
    # CONFIG_USB_FILE_STORAGE_TEST is not set
    # CONFIG_USB_MASS_STORAGE is not set
    # CONFIG_USB_G_SERIAL is not set
    # CONFIG_USB_G_PRINTER is not set
    # CONFIG_USB_CDC_COMPOSITE is not set
    # CONFIG_USB_G_MULTI is not set
    # CONFIG_USB_G_HID is not set
    # CONFIG_USB_G_DBGP is not set
    # CONFIG_USB_G_WEBCAM is not set
    
    #
    # OTG and related infrastructure
    #
    CONFIG_USB_OTG_UTILS=y
    # CONFIG_USB_GPIO_VBUS is not set
    # CONFIG_USB_ULPI is not set
    CONFIG_NOP_USB_XCEIV=y
    CONFIG_MMC=y
    # CONFIG_MMC_DEBUG is not set
    # CONFIG_MMC_UNSAFE_RESUME is not set
    
    #
    # MMC/SD/SDIO Card Drivers
    #
    CONFIG_MMC_BLOCK=m
    CONFIG_MMC_BLOCK_MINORS=8
    # CONFIG_MMC_BLOCK_BOUNCE is not set
    # CONFIG_SDIO_UART is not set
    # CONFIG_MMC_TEST is not set
    
    #
    # MMC/SD/SDIO Host Controller Drivers
    #
    # CONFIG_MMC_SDHCI is not set
    CONFIG_MMC_DAVINCI=m
    # CONFIG_MMC_SPI is not set
    # CONFIG_MMC_USHC is not set
    # CONFIG_MEMSTICK is not set
    # CONFIG_NEW_LEDS is not set
    # CONFIG_ACCESSIBILITY is not set
    CONFIG_RTC_LIB=y
    # CONFIG_RTC_CLASS is not set
    # CONFIG_DMADEVICES is not set
    # CONFIG_AUXDISPLAY is not set
    # CONFIG_UIO is not set
    # CONFIG_STAGING is not set
    
    #
    # File systems
    #
    # CONFIG_EXT2_FS is not set
    # CONFIG_EXT3_FS is not set
    # CONFIG_EXT4_FS is not set
    # CONFIG_REISERFS_FS is not set
    # CONFIG_JFS_FS is not set
    # CONFIG_FS_POSIX_ACL is not set
    # CONFIG_XFS_FS is not set
    # CONFIG_GFS2_FS is not set
    # CONFIG_OCFS2_FS is not set
    # CONFIG_BTRFS_FS is not set
    # CONFIG_NILFS2_FS is not set
    CONFIG_FILE_LOCKING=y
    CONFIG_FSNOTIFY=y
    CONFIG_DNOTIFY=y
    CONFIG_INOTIFY_USER=y
    # CONFIG_FANOTIFY is not set
    # CONFIG_QUOTA is not set
    # CONFIG_QUOTACTL is not set
    # CONFIG_AUTOFS4_FS is not set
    # CONFIG_FUSE_FS is not set
    
    #
    # Caches
    #
    # CONFIG_FSCACHE is not set
    
    #
    # CD-ROM/DVD Filesystems
    #
    # CONFIG_ISO9660_FS is not set
    
    #
    # DOS/FAT/NT Filesystems
    #
    CONFIG_FAT_FS=y
    CONFIG_MSDOS_FS=y
    CONFIG_VFAT_FS=y
    CONFIG_FAT_DEFAULT_CODEPAGE=437
    CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
    # CONFIG_NTFS_FS is not set
    
    #
    # Pseudo filesystems
    #
    CONFIG_PROC_FS=y
    CONFIG_PROC_SYSCTL=y
    CONFIG_PROC_PAGE_MONITOR=y
    CONFIG_SYSFS=y
    CONFIG_TMPFS=y
    # CONFIG_TMPFS_POSIX_ACL is not set
    # CONFIG_HUGETLB_PAGE is not set
    # CONFIG_CONFIGFS_FS is not set
    CONFIG_MISC_FILESYSTEMS=y
    # CONFIG_AFFS_FS is not set
    # CONFIG_ECRYPT_FS is not set
    # CONFIG_HFS_FS is not set
    # CONFIG_HFSPLUS_FS is not set
    # CONFIG_BEFS_FS is not set
    # CONFIG_BFS_FS is not set
    # CONFIG_EFS_FS is not set
    CONFIG_JFFS2_FS=y
    CONFIG_JFFS2_FS_DEBUG=0
    CONFIG_JFFS2_FS_WRITEBUFFER=y
    # CONFIG_JFFS2_FS_WBUF_VERIFY is not set
    # CONFIG_JFFS2_SUMMARY is not set
    # CONFIG_JFFS2_FS_XATTR is not set
    # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
    CONFIG_JFFS2_ZLIB=y
    # CONFIG_JFFS2_LZO is not set
    CONFIG_JFFS2_RTIME=y
    # CONFIG_JFFS2_RUBIN is not set
    CONFIG_UBIFS_FS=y
    # CONFIG_UBIFS_FS_XATTR is not set
    # CONFIG_UBIFS_FS_ADVANCED_COMPR is not set
    CONFIG_UBIFS_FS_LZO=y
    CONFIG_UBIFS_FS_ZLIB=y
    # CONFIG_UBIFS_FS_DEBUG is not set
    # CONFIG_LOGFS is not set
    # CONFIG_CRAMFS is not set
    # CONFIG_SQUASHFS is not set
    # CONFIG_VXFS_FS is not set
    # CONFIG_MINIX_FS is not set
    # CONFIG_OMFS_FS is not set
    # CONFIG_QNX4FS_FS is not set
    # CONFIG_ROMFS_FS is not set
    # CONFIG_SYSV_FS is not set
    # CONFIG_NETWORK_FILESYSTEMS is not set
    
    #
    # Partition Types
    #
    CONFIG_PARTITION_ADVANCED=y
    # CONFIG_ACORN_PARTITION is not set
    # CONFIG_OSF_PARTITION is not set
    # CONFIG_AMIGA_PARTITION is not set
    # CONFIG_ATARI_PARTITION is not set
    # CONFIG_MAC_PARTITION is not set
    CONFIG_MSDOS_PARTITION=y
    # CONFIG_BSD_DISKLABEL is not set
    # CONFIG_MINIX_SUBPARTITION is not set
    # CONFIG_SOLARIS_X86_PARTITION is not set
    # CONFIG_UNIXWARE_DISKLABEL is not set
    # CONFIG_LDM_PARTITION is not set
    # CONFIG_SGI_PARTITION is not set
    # CONFIG_ULTRIX_PARTITION is not set
    # CONFIG_SUN_PARTITION is not set
    # CONFIG_KARMA_PARTITION is not set
    # CONFIG_EFI_PARTITION is not set
    # CONFIG_SYSV68_PARTITION is not set
    CONFIG_NLS=y
    CONFIG_NLS_DEFAULT="iso8859-1"
    CONFIG_NLS_CODEPAGE_437=y
    # CONFIG_NLS_CODEPAGE_737 is not set
    # CONFIG_NLS_CODEPAGE_775 is not set
    # CONFIG_NLS_CODEPAGE_850 is not set
    # CONFIG_NLS_CODEPAGE_852 is not set
    # CONFIG_NLS_CODEPAGE_855 is not set
    # CONFIG_NLS_CODEPAGE_857 is not set
    # CONFIG_NLS_CODEPAGE_860 is not set
    # CONFIG_NLS_CODEPAGE_861 is not set
    # CONFIG_NLS_CODEPAGE_862 is not set
    # CONFIG_NLS_CODEPAGE_863 is not set
    # CONFIG_NLS_CODEPAGE_864 is not set
    # CONFIG_NLS_CODEPAGE_865 is not set
    # CONFIG_NLS_CODEPAGE_866 is not set
    # CONFIG_NLS_CODEPAGE_869 is not set
    # CONFIG_NLS_CODEPAGE_936 is not set
    # CONFIG_NLS_CODEPAGE_950 is not set
    # CONFIG_NLS_CODEPAGE_932 is not set
    # CONFIG_NLS_CODEPAGE_949 is not set
    # CONFIG_NLS_CODEPAGE_874 is not set
    # CONFIG_NLS_ISO8859_8 is not set
    # CONFIG_NLS_CODEPAGE_1250 is not set
    # CONFIG_NLS_CODEPAGE_1251 is not set
    # CONFIG_NLS_ASCII is not set
    CONFIG_NLS_ISO8859_1=y
    # CONFIG_NLS_ISO8859_2 is not set
    # CONFIG_NLS_ISO8859_3 is not set
    # CONFIG_NLS_ISO8859_4 is not set
    # CONFIG_NLS_ISO8859_5 is not set
    # CONFIG_NLS_ISO8859_6 is not set
    # CONFIG_NLS_ISO8859_7 is not set
    # CONFIG_NLS_ISO8859_9 is not set
    # CONFIG_NLS_ISO8859_13 is not set
    # CONFIG_NLS_ISO8859_14 is not set
    # CONFIG_NLS_ISO8859_15 is not set
    # CONFIG_NLS_KOI8_R is not set
    # CONFIG_NLS_KOI8_U is not set
    # CONFIG_NLS_UTF8 is not set
    # CONFIG_DLM is not set
    
    #
    # Kernel hacking
    #
    CONFIG_PRINTK_TIME=y
    CONFIG_ENABLE_WARN_DEPRECATED=y
    CONFIG_ENABLE_MUST_CHECK=y
    CONFIG_FRAME_WARN=1024
    # CONFIG_MAGIC_SYSRQ is not set
    # CONFIG_STRIP_ASM_SYMS is not set
    # CONFIG_UNUSED_SYMBOLS is not set
    CONFIG_DEBUG_FS=y
    # CONFIG_HEADERS_CHECK is not set
    CONFIG_DEBUG_KERNEL=y
    # CONFIG_DEBUG_SHIRQ is not set
    # CONFIG_LOCKUP_DETECTOR is not set
    # CONFIG_HARDLOCKUP_DETECTOR is not set
    # CONFIG_DETECT_HUNG_TASK is not set
    # CONFIG_SCHED_DEBUG is not set
    # CONFIG_SCHEDSTATS is not set
    # CONFIG_TIMER_STATS is not set
    # CONFIG_DEBUG_OBJECTS is not set
    # CONFIG_SLUB_STATS is not set
    # CONFIG_DEBUG_KMEMLEAK is not set
    # CONFIG_DEBUG_PREEMPT is not set
    # CONFIG_DEBUG_RT_MUTEXES is not set
    # CONFIG_RT_MUTEX_TESTER is not set
    # CONFIG_DEBUG_SPINLOCK is not set
    # CONFIG_DEBUG_MUTEXES is not set
    # CONFIG_BKL is not set
    # CONFIG_DEBUG_LOCK_ALLOC is not set
    # CONFIG_PROVE_LOCKING is not set
    # CONFIG_SPARSE_RCU_POINTER is not set
    # CONFIG_LOCK_STAT is not set
    # CONFIG_DEBUG_SPINLOCK_SLEEP is not set
    # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
    # CONFIG_DEBUG_KOBJECT is not set
    # CONFIG_DEBUG_BUGVERBOSE is not set
    CONFIG_DEBUG_INFO=y
    # CONFIG_DEBUG_INFO_REDUCED is not set
    # CONFIG_DEBUG_VM is not set
    # CONFIG_DEBUG_WRITECOUNT is not set
    # CONFIG_DEBUG_MEMORY_INIT is not set
    # CONFIG_DEBUG_LIST is not set
    # CONFIG_TEST_LIST_SORT is not set
    # CONFIG_DEBUG_SG is not set
    # CONFIG_DEBUG_NOTIFIERS is not set
    # CONFIG_DEBUG_CREDENTIALS is not set
    CONFIG_FRAME_POINTER=y
    # CONFIG_BOOT_PRINTK_DELAY is not set
    # CONFIG_RCU_TORTURE_TEST is not set
    # CONFIG_RCU_CPU_STALL_DETECTOR is not set
    # CONFIG_BACKTRACE_SELF_TEST is not set
    # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
    # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
    # CONFIG_LKDTM is not set
    # CONFIG_FAULT_INJECTION is not set
    # CONFIG_LATENCYTOP is not set
    # CONFIG_SYSCTL_SYSCALL_CHECK is not set
    # CONFIG_PAGE_POISONING is not set
    CONFIG_HAVE_FUNCTION_TRACER=y
    CONFIG_HAVE_DYNAMIC_FTRACE=y
    CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
    CONFIG_TRACING_SUPPORT=y
    # CONFIG_FTRACE is not set
    # CONFIG_DYNAMIC_DEBUG is not set
    # CONFIG_ATOMIC64_SELFTEST is not set
    # CONFIG_SAMPLES is not set
    CONFIG_HAVE_ARCH_KGDB=y
    # CONFIG_KGDB is not set
    # CONFIG_STRICT_DEVMEM is not set
    # CONFIG_ARM_UNWIND is not set
    CONFIG_DEBUG_USER=y
    # CONFIG_DEBUG_ERRORS is not set
    # CONFIG_DEBUG_STACK_USAGE is not set
    # CONFIG_DEBUG_LL is not set
    # CONFIG_OC_ETM is not set
    
    #
    # Security options
    #
    CONFIG_KEYS=y
    # CONFIG_KEYS_DEBUG_PROC_KEYS is not set
    # CONFIG_SECURITY_DMESG_RESTRICT is not set
    CONFIG_SECURITY=y
    # CONFIG_SECURITYFS is not set
    # CONFIG_SECURITY_NETWORK is not set
    # CONFIG_SECURITY_PATH is not set
    # CONFIG_SECURITY_TOMOYO is not set
    # CONFIG_SECURITY_APPARMOR is not set
    # CONFIG_IMA is not set
    CONFIG_DEFAULT_SECURITY_DAC=y
    CONFIG_DEFAULT_SECURITY=""
    CONFIG_CRYPTO=y
    
    #
    # Crypto core or helper
    #
    CONFIG_CRYPTO_ALGAPI=y
    CONFIG_CRYPTO_ALGAPI2=y
    CONFIG_CRYPTO_AEAD2=y
    CONFIG_CRYPTO_BLKCIPHER=y
    CONFIG_CRYPTO_BLKCIPHER2=y
    CONFIG_CRYPTO_HASH=y
    CONFIG_CRYPTO_HASH2=y
    CONFIG_CRYPTO_RNG2=y
    CONFIG_CRYPTO_PCOMP2=y
    CONFIG_CRYPTO_MANAGER=y
    CONFIG_CRYPTO_MANAGER2=y
    CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
    # CONFIG_CRYPTO_GF128MUL is not set
    # CONFIG_CRYPTO_NULL is not set
    CONFIG_CRYPTO_WORKQUEUE=y
    # CONFIG_CRYPTO_CRYPTD is not set
    # CONFIG_CRYPTO_AUTHENC is not set
    # CONFIG_CRYPTO_TEST is not set
    
    #
    # Authenticated Encryption with Associated Data
    #
    # CONFIG_CRYPTO_CCM is not set
    # CONFIG_CRYPTO_GCM is not set
    # CONFIG_CRYPTO_SEQIV is not set
    
    #
    # Block modes
    #
    # CONFIG_CRYPTO_CBC is not set
    # CONFIG_CRYPTO_CTR is not set
    # CONFIG_CRYPTO_CTS is not set
    CONFIG_CRYPTO_ECB=y
    # CONFIG_CRYPTO_LRW is not set
    # CONFIG_CRYPTO_PCBC is not set
    # CONFIG_CRYPTO_XTS is not set
    
    #
    # Hash modes
    #
    # CONFIG_CRYPTO_HMAC is not set
    # CONFIG_CRYPTO_XCBC is not set
    # CONFIG_CRYPTO_VMAC is not set
    
    #
    # Digest
    #
    CONFIG_CRYPTO_CRC32C=m
    # CONFIG_CRYPTO_GHASH is not set
    # CONFIG_CRYPTO_MD4 is not set
    CONFIG_CRYPTO_MD5=m
    CONFIG_CRYPTO_MICHAEL_MIC=y
    # CONFIG_CRYPTO_RMD128 is not set
    # CONFIG_CRYPTO_RMD160 is not set
    # CONFIG_CRYPTO_RMD256 is not set
    # CONFIG_CRYPTO_RMD320 is not set
    CONFIG_CRYPTO_SHA1=m
    # CONFIG_CRYPTO_SHA256 is not set
    # CONFIG_CRYPTO_SHA512 is not set
    # CONFIG_CRYPTO_TGR192 is not set
    # CONFIG_CRYPTO_WP512 is not set
    
    #
    # Ciphers
    #
    CONFIG_CRYPTO_AES=y
    # CONFIG_CRYPTO_ANUBIS is not set
    CONFIG_CRYPTO_ARC4=y
    # CONFIG_CRYPTO_BLOWFISH is not set
    # CONFIG_CRYPTO_CAMELLIA is not set
    # CONFIG_CRYPTO_CAST5 is not set
    # CONFIG_CRYPTO_CAST6 is not set
    CONFIG_CRYPTO_DES=m
    # CONFIG_CRYPTO_FCRYPT is not set
    # CONFIG_CRYPTO_KHAZAD is not set
    # CONFIG_CRYPTO_SALSA20 is not set
    # CONFIG_CRYPTO_SEED is not set
    # CONFIG_CRYPTO_SERPENT is not set
    # CONFIG_CRYPTO_TEA is not set
    # CONFIG_CRYPTO_TWOFISH is not set
    
    #
    # Compression
    #
    CONFIG_CRYPTO_DEFLATE=y
    # CONFIG_CRYPTO_ZLIB is not set
    CONFIG_CRYPTO_LZO=y
    
    #
    # Random Number Generation
    #
    # CONFIG_CRYPTO_ANSI_CPRNG is not set
    # CONFIG_CRYPTO_HW is not set
    # CONFIG_BINARY_PRINTF is not set
    
    #
    # Library routines
    #
    CONFIG_BITREVERSE=y
    CONFIG_GENERIC_FIND_LAST_BIT=y
    CONFIG_CRC_CCITT=m
    CONFIG_CRC16=y
    # CONFIG_CRC_T10DIF is not set
    # CONFIG_CRC_ITU_T is not set
    CONFIG_CRC32=y
    CONFIG_CRC7=y
    CONFIG_LIBCRC32C=m
    CONFIG_ZLIB_INFLATE=y
    CONFIG_ZLIB_DEFLATE=y
    CONFIG_LZO_COMPRESS=y
    CONFIG_LZO_DECOMPRESS=y
    CONFIG_GENERIC_ALLOCATOR=y
    CONFIG_HAS_IOMEM=y
    CONFIG_HAS_IOPORT=y
    CONFIG_HAS_DMA=y
    CONFIG_NLATTR=y
    CONFIG_GENERIC_ATOMIC64=y
    

    Hi Titus,


    Thank you very much for helping generously,
    I have attached .config.
    I have removed DEBUG_LL options as it was not working.

    I will check other things one by one and let you know.

    Regards,
    Ankur

  • Hi Ankur,

    refer the below thread, We can able to boot (silent boot) without any printk messages from kernel

    thats why i asked ur config file but unfortunately everythings seems to be good.

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/100/t/311679.aspx

    Can you able to see any oscillations happening in CRO while booting ubl,u-boot & kernel?

    I have removed DEBUG_LL options as it was not working.

    i asked to add the CONFIG_LL & early print support with defconfig of your EVM board config file(ur reference board) & just compile it and boot the uImage in ur customized board,

    Sometimes, the default kernel image compiled without any kernel printk like above thread by SOC vendors,

    myself i have seen (i could see only u-boot(upto starting kernel) and fs messages) in beagle EVM board with default kernel image but im not sure which options need to enable to get this silent effect thats why i asked ur .config file (try urslf, surf internet)

    before that just confirm, kindly check whether ur kernel is booting upto filesystem (as u told earlier) through debugger,  and try NFS filesystem boot

    Have tried before NFS boot with ur board?

    If not, plz do it, if you want steps i ll provide you,

    From NFS boot, we can confirm silent booting is enabled in ur config (and not more serial driver pblm) by mounting NFS fs.

    I thnk ur facing issue while mounting fs through NAND . so plz try NFS fs mount

     

  • Hi Titus,

    Yes silent mode isn't being used.
    I think in kernel command line "quite" parameter is passed then kernel doesnt spit out messages on console.
    Yes i am able to see oscillations happening on CRO(on UART_RXD line) while booting ubl, uboot..but after control is passed to kernel there is no oscillation.

    I take your suggestion but first i am trying to compile reference board kernel with DEBUG_LL option want to see if kernel boots up(in reference board itself) or not.
    I have already tested once, and when DEBUG_LL is enabled reference board kernel doesn't boot, it stops at "Starting kernel...". I will try once again just to reconfirm.
    With DEBUG_LL option If reference board kernel boots in reference board itself then i will put it into my board and test it. What do you say?

    Regarding emulator still i am not sure whether its working fine or not.
    I feel still .gel file has some problem.

    Regarding NFS,
    Ethernet phy used in custom board is different than what is used in referance board(not even pin compatible), So i am not able to use Ethernet port on my board.
    I have never ported Ethernet phy in u-boot/kernel. Any suggestion in that area will also help.
    As of now i cant try NFS :(
    For loading kernel also i use UART.

    Regards,
    Ankur

  • Hi Ankur,

    I have already tested once, and when DEBUG_LL is enabled reference board kernel doesn't boot, it stops at "Starting kernel...". I will try once again just to reconfirm.
    With DEBUG_LL option If reference board kernel boots in reference board itself then i will put it into my board and test

    Also enable early printk with DEBUG_LL  & compile bcz we can test whether single printk is coming from kernel or not in default kernel image

    Do you have refernce board (EVM) board with you?

    If there, then try to boot ur default images with that board. Check whether any printk is coming or not!

    Which Eth PHY are you using?

    How about MMC & USB booting?

    http://processors.wiki.ti.com/index.php/SD_card_boot_and_flashing_tool_for_DM355_and_DM365

  • Hi Titus,

    Thank you very much for reply,
    I had enabled the earlyprinks also but it didnt boot when DEBUG_LL and earlyprintk is enabled.
    Yes i have referance board with me. I have attached bootlog of  reference(EVM) board in working condition.

    In custom board we are using DP83848I PHYTER.
    There is no mmc in our board. USB i havent tried yet.

    But by USB booting you mean loading uImage through USB right ?

    Thank you,

    Regards,
    Ankur

    DM36x initialization passed!
    TI UBL Base Version: 1.50
    Boot Loader BootMode = NAND
    Starting NAND Copy...
    Valid magicnum, 0xA1ACED66, found in block 0x00000008.
    Boot Mode Task Completed
    
    IPNC UBL Version: 2.2.0
    Platform: DM368-432
    
    UBL Executed Sucessfully
    
    Jumping to entry point at 0x81080000
    
    U-Boot 1.3.4 (Oct 29 2013 - 22:09:52) DM368-IPNC-5.1.0
    
    I2C:   ready
    DRAM:  128 MB
    NAND:  NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
    Bad block table not found for chip 0
    Bad block table not found for chip 0
    
     loop oob 81021ad8 Bad block table written to 0x07fe0000, version 0x01
    
     loop oob 81021ad8 Bad block table written to 0x07fc0000, version 0x01
    128 MiB
    In:    serial
    Out:   serial
    Err:   serial
    ARM Clock :- 432MHz
    DDR Clock :- 340MHz
    Ethernet PHY: GENERIC @ 0x01
    Hit any key to stop autoboot:  4  3  2  1  0 
    
    Loading from NAND 128MiB 3,3V 8-bit, offset 0x500000
       Image Name:   Linux-2.6.37_IPNC_DM368_5.1.0
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3711968 Bytes =  3.5 MB
       Load Address: 80008000
       Entry Point:  80008000
    ## Booting kernel from Legacy Image at 80700000 ...
       Image Name:   Linux-2.6.37_IPNC_DM368_5.1.0
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3711968 Bytes =  3.5 MB
       Load Address: 80008000
       Entry Point:  80008000
       Loading Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    [    0.000000] Linux version 2.6.37_IPNC_DM368_5.1.0 (root@localhost.localdomain) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Tue Oct 29 22:32:22 CST 2013
    [    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    [    0.000000] CPU: VIVT data cache, VIVT instruction cache
    [    0.000000] Machine: DaVinci DM36x IPNC
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] DaVinci dm36x_rev1.2 variant 0x8
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 12192
    [    0.000000] Kernel command line: mem=48M console=ttyS1,115200n8 noinitrd ip=192.168.1.101:192.168.1.100:192.168.1.1:255.255.255.0 rw ubi.mtd=3,2048 rootfstype=ubifs root=ubi0:rootfs cmemk.phys_start=0x83000000 cmemk.phys_end=0x88000000 cmemk.phys_start_1=0x00001000 cmemk.phys_end_1=0x00008000 cmemk.pools_1=1x28672 cmemk.allowOverlap=1 cmemk.useHeapIfPoolUnavailable=1 nohz=off highres=off clocksource=acpi_pm lpj=1077248 eth=00:0C:0C:02:39:9E
    [    0.000000] TI DaVinci EMAC: kernel boot params Ethernet address: 00:0C:0C:02:39:9E
    [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
    [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Memory: 48MB = 48MB total
    [    0.000000] Memory: 44916k/44916k available, 4236k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     DMA     : 0xff000000 - 0xffe00000   (  14 MB)
    [    0.000000]     vmalloc : 0xc3800000 - 0xfea00000   ( 946 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xc3000000   (  48 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .init : 0xc0008000 - 0xc002a000   ( 136 kB)
    [    0.000000]       .text : 0xc002a000 - 0xc036b000   (3332 kB)
    [    0.000000]       .data : 0xc036c000 - 0xc03923e0   ( 153 kB)
    [    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptable hierarchical RCU implementation.
    [    0.000000] 	RCU-based detection of stalled CPUs is disabled.
    [    0.000000] 	Verbose stalled-CPUs detection is disabled.
    [    0.000000] NR_IRQS:245
    [    0.000000] Console: colour dummy device 80x30
    [    0.000296] Calibrating delay loop (skipped) preset value.. 215.44 BogoMIPS (lpj=1077248)
    [    0.000354] pid_max: default: 32768 minimum: 301
    [    0.000579] Security Framework initialized
    [    0.000728] Mount-cache hash table entries: 512
    [    0.001582] CPU: Testing write buffer coherency: ok
    [    0.003312] devtmpfs: initialized
    [    0.006434] DaVinci: 8 gpio irqs
    [    0.007073] NET: Registered protocol family 16
    [    0.043144] dm365_rmd_cs_rdk_150_wl_init
    [    0.123176] bio: create slab <bio-0> at 0
    [    0.128070] SCSI subsystem initialized
    [    0.132807] usbcore: registered new interface driver usbfs
    [    0.134185] usbcore: registered new interface driver hub
    [    0.135129] usbcore: registered new device driver usb
    [    0.138535] vpss vpss: dm365_vpss vpss probed
    [    0.138600] vpss vpss: dm365_vpss vpss probe success
    [    0.142879] Advanced Linux Sound Architecture Driver Version 1.0.23.
    [    0.146539] Switching to clocksource timer0_1
    [    0.230520] NET: Registered protocol family 2
    [    0.230832] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.231596] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
    [    0.231737] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.231826] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.231859] TCP reno registered
    [    0.231897] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.231958] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.232462] NET: Registered protocol family 1
    [    0.301552] JFFS2 version 2.2. (NAND) ? 2001-2006 Red Hat, Inc.
    [    0.305165] msgmni has been set to 87
    [    0.309235] io scheduler noop registered (default)
    [    0.311198] CSL: Module install successful, device major num = 254 
    [    0.311245] CSL: Module version 0.10.00, built on Oct 29 2013 22:11:56 
    [    0.311296] I2C: Module install successful, device major num = 253 
    [    0.311338] DMA: Module install successful, device major num = 252 
    [    0.311366] DRV: Module install successful
    [    0.311391] DRV: Module built on Oct 29 2013 22:12:00 
    [    0.311417] DRV: EDMACC.QUEPRI  = 00002777
    [    0.311440] DRV: SYSTEM.MSTPRI0 = 00440011
    [    0.311462] DRV: SYSTEM.MSTPRI1 = 00000444
    [    0.311483] DRV: ISP.BCR        = 00000002
    [    0.311506] DRV: SYSTEM.MISC    = 00000391
    [    0.311530] EDMAK module: built on Oct 29 2013 at 22:11:20
    [    0.311560]   Reference Linux version 2.6.37
    [    0.311585]   File /opt/workdir/OV9715_Ver5_0/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
    [    0.313281] IRQK module: built on Oct 29 2013 at 22:11:09
    [    0.313331]   Reference Linux version 2.6.37
    [    0.313357]   File /opt/workdir/OV9715_Ver5_0/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
    [    0.315082] irqk initialized
    [    0.315160] CMEMK module: built on Oct 29 2013 at 22:11:16
    [    0.315198]   Reference Linux version 2.6.37
    [    0.315224]   File /opt/workdir/OV9715_Ver5_0/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
    [    0.320626] allocated heap buffer 0xc4000000 of size 0x5000000
    [    0.320668] heap fallback enabled - will try heap if pool buffer is not available
    [    0.320709] CMEM Range Overlaps Kernel Physical - allowing overlap
    [    0.320744] CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
    [    0.320891] cmemk initialized
    [    0.320947] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [    0.421386] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
    [    0.481278] serial8250.0: ttyS1 at MMIO 0x1d06000 (irq = 41) is a 16550A
    [    1.011667] console [ttyS1] enabled
    [    1.052987] brd: module loaded
    [    1.065481] NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung )
    [    1.074118] Bad block table not found for chip 0
    [    1.080329] Bad block table not found for chip 0
    [    1.084964] Scanning device for bad blocks
    [    1.178422] Bad eraseblock 869 at 0x000006ca0000
    [    1.201633] Creating 7 MTD partitions on "davinci_nand.0":
    [    1.207164] 0x000000000000-0x000000300000 : "bootloader"
    [    1.217379] 0x000000300000-0x000000500000 : "params"
    [    1.227408] 0x000000500000-0x000000900000 : "kernel"
    [    1.237570] 0x000000900000-0x000003100000 : "filesystem1"
    [    1.248339] 0x000003100000-0x000003900000 : "data1"
    [    1.258407] 0x000003900000-0x000006100000 : "filesystem2"
    [    1.268915] 0x000006100000-0x000008000000 : "data2"
    [    1.279056] davinci_nand davinci_nand.0: controller rev. 2.3
    [    1.288171] UBI: attaching mtd3 to ubi0
    [    1.292363] UBI: physical eraseblock size:   131072 bytes (128 KiB)
    [    1.298648] UBI: logical eraseblock size:    126976 bytes
    [    1.304233] UBI: smallest flash I/O unit:    2048
    [    1.308949] UBI: sub-page size:              512
    [    1.313688] UBI: VID header offset:          2048 (aligned 2048)
    [    1.319706] UBI: data offset:                4096
    [    1.594873] UBI: max. sequence number:       11
    [    1.612326] UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 2, need 3
    [    1.625462] UBI: attached mtd3 to ubi0
    [    1.629231] UBI: MTD device name:            "filesystem1"
    [    1.634851] UBI: MTD device size:            40 MiB
    [    1.639743] UBI: number of good PEBs:        320
    [    1.644479] UBI: number of bad PEBs:         0
    [    1.648933] UBI: number of corrupted PEBs:   0
    [    1.653443] UBI: max. allowed volumes:       128
    [    1.658068] UBI: wear-leveling threshold:    4096
    [    1.662842] UBI: number of internal volumes: 1
    [    1.667296] UBI: number of user volumes:     1
    [    1.671789] UBI: available PEBs:             0
    [    1.676242] UBI: total number of reserved PEBs: 320
    [    1.681172] UBI: number of PEBs reserved for bad PEB handling: 2
    [    1.687185] UBI: max/mean erase counter: 2/0
    [    1.691504] UBI: image sequence number:  756859920
    [    1.696343] UBI: background thread "ubi_bgt0d" started, PID 417
    [    1.704531] spi_davinci spi_davinci.0: Controller at 0xfec66000
    [    1.760121] davinci_mdio davinci_mdio.0: davinci mdio revision 1.4
    [    1.766332] davinci_mdio davinci_mdio.0: detected phy mask fffffffd
    [    1.774200] davinci_mdio.0: probed
    [    1.777647] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    [    1.786550] i2c /dev entries driver
    [    1.792605] Linux media interface: v0.10
    [    1.797265] Linux video capture interface: v2.00
    [    1.804366] vpbe-osd vpbe-osd: OSD sub device probe success
    [    1.810994] vpbe-venc vpbe-venc: VENC sub device probe success
    [    1.817858] vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered
    [    1.823905] Setting default output to Composite
    [    1.828459] Setting default mode to ntsc
    [    1.832667] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.
    [    1.839380] vpbe-v4l2 vpbe-v4l2: layer=c293fc00,layer->video_dev=c293fce8
    [    1.847290] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.
    [    1.854246] vpbe-v4l2 vpbe-v4l2: layer=c293fe00,layer->video_dev=c293fee8
    [    1.863134] watchdog watchdog: heartbeat 60 sec
    [    1.873728] Error: Driver 'davinci-mcbsp' is already registered, aborting...
    [    1.884034] asoc: cq93vc-hifi <-> davinci-vcif mapping ok
    [    1.893967] ALSA device list:
    [    1.896966]   #0: DaVinci DM365 EVM
    [    1.901937] nf_conntrack version 0.5.0 (701 buckets, 2804 max)
    [    1.909913] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    1.915733] TCP cubic registered
    [    1.919021] NET: Registered protocol family 17
    [    1.991889] net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=181b8b0)
    [    2.060594] IP-Config: Complete:
    [    2.063673]      device=eth0, addr=192.168.1.101, mask=255.255.255.0, gw=192.168.1.1,
    [    2.071550]      host=192.168.1.101, domain=, nis-domain=(none),
    [    2.077567]      bootserver=192.168.1.100, rootserver=192.168.1.100, rootpath=
    [    2.141883] UBIFS: recovery needed
    [    2.219250] UBIFS: recovery completed
    [    2.223037] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [    2.229065] UBIFS: file system size:   38473728 bytes (37572 KiB, 36 MiB, 303 LEBs)
    [    2.236791] UBIFS: journal size:       5332992 bytes (5208 KiB, 5 MiB, 42 LEBs)
    [    2.244166] UBIFS: media format:       w4/r0 (latest is w4/r0)
    [    2.250005] UBIFS: default compressor: lzo
    [    2.254156] UBIFS: reserved for root:  0 bytes (0 KiB)
    [    2.262308] VFS: Mounted root (ubifs filesystem) on device 0:13.
    [    2.270527] devtmpfs: mounted
    [    2.273671] Freeing init memory: 136K
    INIT: version 2.86 booting
    [    2.859092] UBI: attaching mtd4 to ubi1
    [    2.863074] UBI: physical eraseblock size:   131072 bytes (128 KiB)
    [    2.869354] UBI: logical eraseblock size:    126976 bytes
    [    2.874835] UBI: smallest flash I/O unit:    2048
    [    2.879547] UBI: sub-page size:              512
    [    2.884232] UBI: VID header offset:          2048 (aligned 2048)
    [    2.890300] UBI: data offset:                4096
    [    2.949122] UBI: max. sequence number:       19
    [    2.969241] UBI: attached mtd4 to ubi1
    [    2.973151] UBI: MTD device name:            "data1"
    [    2.978133] UBI: MTD device size:            8 MiB
    [    2.983053] UBI: number of good PEBs:        64
    [    2.987594] UBI: number of bad PEBs:         0
    [    2.992302] UBI: number of corrupted PEBs:   0
    [    2.996760] UBI: max. allowed volumes:       128
    [    3.001473] UBI: wear-leveling threshold:    4096
    [    3.006185] UBI: number of internal volumes: 1
    [    3.010695] UBI: number of user volumes:     1
    [    3.015146] UBI: available PEBs:             0
    [    3.019591] UBI: total number of reserved PEBs: 64
    [    3.024442] UBI: number of PEBs reserved for bad PEB handling: 2
    [    3.030507] UBI: max/mean erase counter: 2/1
    [    3.034786] UBI: image sequence number:  1945338353
    [    3.039711] UBI: background thread "ubi_bgt1d" started, PID 486
    UBI device number 1, total 64 LEBs (8126464 bytes, 7.8 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
    [    3.660361] UBIFS: recovery needed
    [    3.749621] UBIFS: recovery completed
    [    3.753417] UBIFS: mounted UBI device 1, volume 0, name "ubifs_volume"
    [    3.759966] UBIFS: file system size:   6221824 bytes (6076 KiB, 5 MiB, 49 LEBs)
    [    3.767355] UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
    [    3.774555] UBIFS: media format:       w4/r0 (latest is w4/r0)
    [    3.780446] UBIFS: default compressor: lzo
    [    3.784555] UBIFS: reserved for root:  293871 bytes (286 KiB)
    [    3.990410] PHY: 0:01 - Link is Up - 100/Full
    mknod: /dev/spidev0.0: File exists
    Starting mounting local filesystems: mount Creat queue id:0
    queue id:0
    FileMngThread created
    Creat queue id:32769
    queue id:32769
    queue id:32769
    AlramThread created
    Share memory init success
    mount: mounting /dev/root on / failed: No such file or directory
    Creat queue id:65538
    queue id:65538
    Creat queue id:98307
    queue id:98307
    IPNC_DM368_5.1.0 (root@localhost.localdomain) (gcc version 4.3.3 (GCC) ) #1 PR 
    queue id:65538
    mount: mounting none on /dev/shm failed: No such file or directory
     failed (2: ).
    Check_device_version : DEVICE VER = 1 !!
    
    CPU is DM368
    
    *****************************************************************
    
      IPNC BUILD VERSION: DM368 IPNC RDK V5.10.00.00	
    
    *****************************************************************
    
    Error: SemWait: Invalid Semaphore handler
    Error: SemRelease: Invalid Semaphore handler
    ./av_server.out DM368 NTSC APPRO2A AEWB 720P H264 4000000 VBR AUTO MENUOFF &
    ApproDrvInit: 7
    Creat queue id:131076
    queue id:131076
    Starting internet superserver: inetd.
    insmod: can't read '/opt/ipnc/modules/deflate.ko': No such file or directory
    
    AVSERVER UI: Initializing.
     
     CLK Hz,
     ARM   Hz =  432000000
     DDR   Hz =  340000000
     VPSS  Hz =  340000000
     IMCOP Hz =  340000000
     
    insmod: can't read '/opt/ipnc/modules/mmc_core.ko': No such file or directory
     DRV LDC: GetConfig 0004 0x0
     [OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR 
    IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter
    [    5.453160] davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
    [    5.470670] davinci_mmc davinci_mmc.1: Using DMA, 4-bit mode
    [    5.718742] dm365_rmd_cs_rdk_150_wl_set_power
    SYSTEM.MSTPRI0 value changed to 00440011
    
    CONFIGURING AVSERVER FOR DM368 .....
    queue id:6[    5.744240] Powering on wifi 
    5538
     Sensor Mode Info,
     Width      = 1280 
     Height     =  740 
     fps        =   30 
     Bin Enable =    1 
     
     Sensor Frame Timing Info,
     fps     [    5.770732] mt9p031 1-0048: No MT9P031 chip detected, register read ffffff87
                 = 30
     t_frame (ns)         = 33333334.000000
     t_row   (ns)         = 34062.500000
     t_pclk  (ns)         = 15.625000
     W                    = 1280
     H                    = 740
     SW                   = 821
     SD                   = 0
     HB                   = 450
     VB                   = 238
     HBmin                = 450
     VBmin                = 9
     f_pclk               = 64000000
     shutterOverhead (ns) = 6656.250000
     col_size             = 1280
     row_size             = 738
     col_bin              = 0
     row_bin              = 0
     col_start            = 0
     row_start            = 72
     pll_M                = 16
     pll_N                = 1
     pll_DIV              = 1
     
    Check ID success!
    APPRO Setting Applied
    queue id:131076
    
     FR : 0 users registered from exsiting face album
    IPNC_DM368_5.1.0 (root@localhost.localdomain) (gcc version 4.3.3 (GCC) ) #1 PR 
    IPNC AUTO_IRIS = 1 #####################
    Aew_Cal_read_parameter !! 
    CAL Error: Magic number not match!!!
    Enable APPRO_DBG Function @@@@@@@@@@@@@@@@@@@@@
    [    6.395228] Loading iSCSI transport class v2.0-870.
    ##########################################################
    ##########################################################
    #####  APPRO AEW Formal Release On OV9715  V2.6       ####
    ##########################################################
    ##########################################################
    --->Chip init PASS
    [    6.604955] mmc1: host doesn't support card's voltages
    [    6.626877] dm365_rmd_cs_rdk_150_wl_set_power
    [    6.632603] Powering off wifi 
    [    6.635700] mmc1: error -22 whilst initialising SDIO card
    [    6.662806] dm365_rmd_cs_rdk_150_wl_set_power
    [    6.667190] Powering on wifi 
    [    6.935112] mmc1: host doesn't support card's voltages
    [    6.952338] dm365_rmd_cs_rdk_150_wl_set_power
    [    6.956730] Powering off wifi 
    [    6.959811] mmc1: error -22 whilst initialising SDIO card
    [    7.162257] iscsi: registered transport (tcp)
    [    7.282221] musb-hdrc: version 6.0, peripheral, debug=0
    [    7.387904] musb-hdrc musb-hdrc: dma type: dma-cppi3
    [    7.415173] musb-hdrc musb-hdrc: USB Peripheral mode controller at fec64000 using DMA, IRQ 12
    [    7.664685] loop: module loaded
    Simple mixer control 'PGA',0
      Capabilities: cvolume cvolume-joined penum
      Capture channels: Mono
      Limits: Capture 0 - 3
      Mono: Capture 2 [67%]
    [    7.851296] tun: Universal TUN/TAP device driver, 1.6
    [    7.856387] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    Simple mixer control 'Mono DAC',0
      Capabilities: pvolume pvolume-joined penum
      Playback channels: Mono
      Limits: Playback 0 - 63
      Mono: Playback 47 [75%]
    sycOnvif Profile 1
    [    8.021260] console [netcon0] enabled
    [    8.024951] netconsole: network logging started
    killall: dhcpcd: no process killed
    rm: cannot remove '/var/run/dhcpcd-eth0.pid': No such file or directory
    [    8.239207] PPP generic driver version 2.4.2
    [    8.320609] PPP Deflate Compression module registered
    
    -->CHIPX Version:0x31
    SystemInit success
    Schedule manager init success
    Dmva Schedule manager init success
    mkdosfs 2.11 (12 Mar 2005)
    unable to get drive geometry, using default 255/63/dev/ram0 has 255 heads and 63 sectors per track,
    logical sector size is 512,
    using 0xf8 media descriptor, with 8192 sectors;
    file system has 2 12-bit FATs and 4 sectors per cluster.
    FAT size is 6 sectors, and provides 2036 clusters.
    Root directory contains 512 slots.
    Volume ID is 00000009, no volume label.
    queue id:0
    umount: /mnt/mmc: not mounted
    net_search_gateway:eth0, 1020A, 0, 1
    net_search_gateway:eth0, 0, FE01020A, 3
    dns=168.95.1.1
    ERROR: Module g_file_storage does not exist in /proc/modules
    [    9.954974] g_file_storage gadget: No serial-number string provided!
    [    9.963893] g_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010
    [    9.976449] g_file_storage gadget: Number of LUNs=1
    [    9.981922] g_file_storage gadget-lun0: ro=0, nofua=0, file: /dev/ram0
    ApproDrvInit: 3
    queue id:131076
    queue id:0
    queue id:32769
    [01/Jan/1970:00:00:10 +0000] boa: server version Boa/0.94.13
    [01/Jan/1970:00:00:10 +0000] boa: server built Oct 29 2013 at 22:20:12.
    [01/Jan/1970:00:00:10 +0000] boa: starting server pid=685, port 80
    ApproDrvInit: 9
    ApproDrvInit: 8
    ApproDrvInit: 2
    queue id:131076
    queue id:131076
    ApproDrvInit: 6
    queue id:131076
    queue id:131076
    ApproDrvInit: 10
    queue id:131076
    Initializing...
    Initializing...
    Initializing...
    Initializing...
    Initializing...
    ...done initializing
    ...done initializing
    ...done initializing
    ...done initializing
    ...done initializing
    Play this stream using the URL:
    	rtsp://10.2.1.53:8555/PSIA/Streaming/channels/0?videoCodecType=MJPEG
    
    (We use port Play this stream using the URL:
    	rtsp://10.2.1.53:8557/PSIA/Streaming/channels/2?videoCodecType=H.264
    
    (We use port Play this stream using the URL:
    	rtsp://10.2.1.53:8556/PSIA/Streaming/channels/2?videoCodecType=H.264
    
    (We use port Play this stream using the URL:
    	rtsp://10.2.1.53:8554/PSIA/Streaming/channels/1?videoCodecType=MPEG4
    
    (We use port Play this stream using the URL:
    	rtsp://10.2.1.53:8553/PSIA/Streaming/channels/1?videoCodecType=MPEG4
    
    (We use port 8303 for optional RTSP-over-HTTP tunneling.)
    8302 for optional RTSP-over-HTTP tunneling.)
    8301 for optional RTSP-over-HTTP tunneling.)
    8304 for optional RTSP-over-HTTP tunneling.)
    8300 for optional RTSP-over-HTTP tunneling.)
    queue id:0
    <UDN>uuid:Upnp-TVEmulator-00:0c:0c:02:39:9e</UDN>
    
    Upnp port is 0
    UPnP Initialized OK ip=10.2.1.53, port=49152
    desc_doc_url = http://10.2.1.53/tvdevicedesc.xml
    mount: mounting devpts on /dev/pts failed: No such file or directory
    INIT: Entering runlevel: 5
    error code = 0
    Starting telnet daemon.
    Starting syslogd/klogd: device advertisement succeed.
    done
    getty: ioctl() TIOCSPGRP call failed: Inappropriate ioctl for device
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org 192.168.1.101 console
    
    Arago 2009.11 192.168.1.101 console
    
    192.168.1.101 login: root
    -sh: can't access tty; job control turned off
    root@192:~# ps
      PID USER       VSZ STAT COMMAND
        1 root      1624 S    init [5]            
        2 root         0 SW   [kthreadd]
        3 root         0 SW   [ksoftirqd/0]
        4 root         0 SW   [kworker/0:0]
        5 root         0 SW   [kworker/u:0]
        6 root         0 SW<  [khelper]
        7 root         0 SW   [kworker/u:1]
      149 root         0 SW   [sync_supers]
      151 root         0 SW   [bdi-default]
      153 root         0 SW<  [kblockd]
      167 root         0 SW   [khubd]
      170 root         0 SW   [kseriod]
      176 root         0 SW<  [kmmcd]
      275 root         0 SW   [kswapd0]
      334 root         0 SW   [fsnotify_mark]
      336 root         0 SW<  [aio]
      342 root         0 SW<  [crypto]
      378 root         0 SW   [mtdblock0]
      383 root         0 SW   [mtdblock1]
      388 root         0 SW   [mtdblock2]
      393 root         0 SW   [mtdblock3]
      398 root         0 SW   [mtdblock4]
      403 root         0 SW   [mtdblock5]
      408 root         0 SW   [mtdblock6]
      417 root         0 SW   [ubi_bgt0d]
      418 root         0 SW<  [spi_davinci.0]
      470 root         0 SW   [kworker/0:1]
      472 root         0 SW   [ubifs_bgt0_0]
      486 root         0 SW   [ubi_bgt1d]
      491 root         0 SW   [ubifs_bgt1_0]
      505 root     97120 S    ./system_server 
      535 root      230m S    ./av_server.out DM368 NTSC APPRO2A AEWB 720P H264 400
      540 root      2976 S    /usr/sbin/inetd 
      567 root         0 SW   [kworker/u:2]
      599 root         0 SW<  [iscsi_eh]
      624 root         0 SW   [flush-ubifs_0_0]
      625 root         0 SW   [flush-ubifs_1_0]
      665 root      1644 S    /opt/ipnc/dhcpcd/dhcpcd 
      678 root         0 SW   [flush-1:0]
      682 root         0 SW   [file-storage-ga]
      685 root     42592 S    ./boa -c /etc 
      689 root      1764 S    avahi-autoipd: [eth0] announcing 169.254.5.37        
      690 root     47828 S    ./wis-streamer -s -h 
      691 root      1764 S    avahi-autoipd: [eth0] callout dispatcher             
      694 root      2704 S    avahi-daemon: running [192.local]        
      698 root     67624 S    ./upnp-scanip 
      699 root     24384 S    ./wis-streamer -s -h 
      700 root     24384 S    ./wis-streamer -s -h 
      701 root     24384 S    ./wis-streamer -s -h 
      702 root     24384 S    ./wis-streamer -s -h 
      713 root      1940 S    /usr/sbin/avahi-dnsconfd -D 
      726 root      2900 S    /usr/sbin/telnetd 
      731 root      2964 S    /sbin/syslogd -n -C64 -m 20 
      733 root      2900 S    /sbin/klogd -n 
      735 root      3080 S    -sh 
      741 root      3080 R    ps 
    root@192:~# 

  • Hi Titus,

    I have created one more post regarding NAND block

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/100/t/311521.aspx

    could you please reply that too if you have any suggestions for me.

    Thank you,


    Regards,

    Ankur

  • Hi Ankur,

    In custom board we are using DP83848I PHYTER.

    chk whether the obj file is created or not after done u-boot compilation ?  "arch/arm/cpu/arm926ejs/davinci/dp83848.o"

    In EVM, Which eth PHY is used?

    Regarding this

    plz send ur original u-boot source & modified u-boot source to my email id (titusece@yahoo.com) ASAP

    so that i can compare thoroughly through beyond compare tool for eth PHY & serial

    But by USB booting you mean loading uImage through USB right ?

    1) and also you can mount filesystem through USB if  you enabled ext3 / 4 fs support in kernel

    2) load kernel image from nand flash & mount fs in USB disk

          *) format your pendrive in ext3 fs support

           *) copy the filesystem tar archive file into usb & untar there itself

           *) set boot args as "setenv bootargs 'console=${console} rootwait=5 rw root=/dev/sda1 rootfstype=ext3"

     

    parallely double confirm that kernel able to boot through debugger without seeing any console messages

    kindly check whether ur kernel is booting upto filesystem (as u told earlier) through debugger,

     

    Have you tried ramdisk (RAM fs) booting (with small piece of filesystem)  without accessing any media (network, mmc, usb, nand) ?

    If you want to boot with ramdisk, i ll provide you the details with boot args everything (creating , mounting etc.,).

    Is there any h/w changes (differ than reference board(EVM) )  done in your customized board?

    kindly chk it (like different max converter or transceiver or pull up/ down ) .

    What are all the changes have you done  in ur u-boot code to bringup ur board?

    To chk whether it is affecting serial settings?

     

    i ll let you know if i got something to debug.

  • Hi,

    In your EVM board, the serial console is "console=ttyS1"  and ur custom board used "console=ttyS0"

    Do you modified u-boot code for this in u-boot board file (already we hv discussed this kw!) ?

    If yes, you can keep as it is, Right!

    Ok, plz share your default u-boot & modified uboot source code ASAP.

  • Hi Titus,

    Thank you for reply,
    Yes i could see cpu/arm926ejs/davinci/dp83848.o getting generated.
    In EVM DM9161B phy is used.
    I had tried ramdisk but i havent tried mouting filesystem on USB.
    Ya there are changes in hardware, DDR, NAND chips are different make because we had to use industry standard chips.
    There is no SDCard in our board and as i mentioned that Ethernet phy is different.
    Regarding max converter and transceiver or pull up/down i will have to check.
    In uboot code, I have added entry in nand_ids.c for NAND chip used in our board. I have changed debug UART1 to UART0, 
    I have put PINMUX changes also, though they are there on UBL code itself.
    Regards,
    Ankur
  • Finally I could figure out root cause of  "Starting kernel..." hang,
    Here is the decription of the same,

    The reference board (Appro's IPNC_DM365_OV9715) and our custom board uses NAND boot mode.
    From u-boot,
    1. Appro board uses nboot command to load kernel from NAND to RAM and then uses bootm command to boot.
    2. In custom board also initially we tried nboot command to load kernel from NAND to RAM and used bootm command to boot. Image gets loaded to RAM but it shows Bad CRC error and doesn't boot.
    3. Accidently right after doing nboot, i tried nand read and then used bootm command and kernel started booting.

    So Here is my conclusion,
    1. nboot command is not copying kernel fully, May be it is not skipping bad block.
    2. nand read command copies kernel from NAND to RAM but it is not able to make kernel bootable after loading kernel to RAM. (I think nboot does some trick to adjust either addresses or adding some booting information, i am yet to check this)
    Here is log for your information,

    DM368 IPNC :>nboot 0x80700000 0 0x1800000

    Loading from NAND 1GiB 3,3V 8-bit, offset 0x1800000
       Image Name:   Linux-2.6.37_IPNC_DM365_5.1.0
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3439712 Bytes =  3.3 MB
       Load Address: 80008000
       Entry Point:  80008000
    DM368 IPNC :>iminfo 0x80700000

    ## Checking Image at 80700000 ...
       Legacy image found
       Image Name:   Linux-2.6.37_IPNC_DM365_5.1.0
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3439712 Bytes =  3.3 MB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ...    Bad Data CRC
    DM368 IPNC :>nand read 0x80700000 0x1800000 0x400000

    NAND read: device 0 offset 0x1800000, size 0x400000
     4194304 bytes read: OK
    DM368 IPNC :>iminfo

    ## Checking Image at 80008000 ...
    Unknown image format!
    DM368 IPNC :>iminfo 0x80700000

    ## Checking Image at 80700000 ...
       Legacy image found
       Image Name:   Linux-2.6.37_IPNC_DM365_5.1.0
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3439712 Bytes =  3.3 MB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
    DM368 IPNC :>bootm 0x80700000
    ## Booting kernel from Legacy Image at 80700000 ...
       Image Name:   Linux-2.6.37_IPNC_DM365_5.1.0
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3439712 Bytes =  3.3 MB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    Inside function do_bootm_linux
    cmdline : mem=48M console=ttyS0,115200n8 noinitrd ip=off rw ubi.mtd=3,2048 rootfstype=ubifs root=ubi0:rootfs cmemk.phys_start=0x83000000 cmemk.phys_end=0x88000000 cmemk.phys_start_1=0x00001000 cmemk.phys_end_1=0x00008000 cmemk.pools_1=1x28672 cmemk.allowOverlap=1 cmemk.useHeapIfPoolUnavailable=1 nohz=off highres=off clocksource=acpi_pm lpj=1077248
    do_bootm:Kernel Entry point 0x80008000

    Starting kernel ...

    Printing kernel parameters 80000100Cleanup is done 1939
    Entry point address 2147516416
    [    0.000000] Linux version 2.6.37_IPNC_DM365_5.1.0 (root@test-desktop) (gcc version 4.3.3 (GCC) ) #2 PREEMPT Wed Dec 11 11:35:18 EST 2013
    [    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    [    0.000000] CPU: VIVT data cache, VIVT instruction cache
    [    0.000000] Machine: DaVinci DM36x IPNC
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] DaVinci dm36x_rev1.2 variant 0x8
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 12192
    [    0.000000] Kernel command line: mem=48M console=ttyS0,115200n8 noinitrd ip=off rw ubi.mtd=3,2048 rootfstype=ubifs root=ubi0:rootfs cmemk.phys_start=0x83000000 cmemk.phys_end=0x88000000 cmemk.phys_start_1=0x00001000 cmemk.phys_end_1=0x00008000 cmemk.pools_1=1x28672 cmemk.allowOverlap=1 cmemk.useHeapIfPoolUnavailable=1 nohz=off highres=off clocksource=acpi_pm lpj=1077248
    [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
    [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Memory: 48MB = 48MB total
    [    0.000000] Memory: 45184k/45184k available, 3968k reserved, 0K highmem

  • Forgot to mention,
    Titus gave various suggestion, while working on those suggestions only i could boot the board.
    Thank you very much Titus, Thank you for helping till end.

    I will add further information as too why with "nboot " or "nand read" alone kernel was not booting,