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.

UBI.img mount am437x gp evm (from file system)

Other Parts Discussed in Thread: ASH

Hi forums,

I am currently trying to mount the ubi.img on mtd9 but i get the following error. any suggestions and solutions are welcome.

log is as below

root@am437x-evm:/# ls                                                           
bin      etc      lib      opt      sbin     tmp      var                       
boot     home     media    proc     srv      ubi.img  www                       
dev      include  mnt      run      sys      usr                                
root@am437x-evm:/#  mtdinfo /dev/mtd9                                           
mtd9                                                                            
Name:                           NAND.file-system                                
Type:                           nand                                            
Eraseblock size:                262144 bytes, 256.0 KiB                         
Amount of eraseblocks:          2008 (526385152 bytes, 502.0 MiB)               
Minimum input/output unit size: 4096 bytes                                      
Sub-page size:                  1024 bytes                                      
OOB size:                       224 bytes                                       
Character device major/minor:   90:18                                           
Bad blocks are allowed:         true                                            
Device is writable:             true                                            
                                                                                
root@am437x-evm:/# ubiformat /dev/mtd9 -f ubi.img -s 1024 -O 2048               
ubiformat: mtd9 (nand), size 526385152 bytes (502.0 MiB), 2008 eraseblocks of 2s
libscan: scanning eraseblock 2007 -- 100 % complete                             
ubiformat: 139 eraseblocks have valid erase counter, mean value is 1            
ubiformat: 1869 eraseblocks are supposedly empty                                
ubiformat: warning!: only 139 of 2008 eraseblocks have valid erase counter      
ubiformat: erase counter 0 will be used for all eraseblocks                     
ubiformat: note, arbitrary erase counter value may be specified using -e option 
ubiformat: continue? (y/N) y                                                    
ubiformat: use erase counter 0 for all eraseblocks                              
ubiformat: warning!: VID header and data offsets on flash are 4096 and 8192, wh6
ubiformat: use new offsets 2048 and 4096? ubiformat: continue? (y/N) y          
ubiformat: use offsets 2048 and 4096                                            
ubiformat: error!: file "ubi.img" is too large (576061440 bytes)                
           error 0 (Success)                                                    
root@am437x-evm:/# 

Regards

-Ash

  • Hi,

    ash parker said:
    ubiformat: error!: file "ubi.img" is too large (576061440 bytes)

    ash parker said:
    ubiformat: mtd9 (nand), size 526385152 bytes (502.0 MiB), 2008 eraseblocks of 2s

    It seems that your image is larger than the partition size.

  • Hi Biser,

    How do i reduce the file size of my filesystem?? any documentation on that part ??

    Regards
    -Ash
  • Hi Ash,

    You can reduce the file system by removing the unnecessary stuff which you don't need and have no plans to use them in the future.
    You can also find a small arago base ubi image at this location <processor sdk install dir>/filesystem/

    Best regards,
    Kemal
  • Hi Kemal,

    I was successfully able to boot from nand from mtd 9 after the following steps

    step 1:
    ubiformat /dev/mtd9 -f /arago-base-tisdk-image-am437x-evm.ubi -s 4096

    step 2:
    #ubiattach /dev/ubi_ctrl -m 9 -O 4096

    step 3:
    #setenv bootargs 'console=ttyO0,115200n8 noinitrd ip=off mem=256M rootwait=1 rw ubi.mtd=9,4096 rootfstype=ubifs root=ubi0:rootfs init=/init'

    when booting the GPEVM still boots from the memory card.
    in order to make it boot from flash i had to stop the boot and issue a run nandboot
    eg
    uBoot# run nandboot

    how do i boot the microprocessor without the need to inset the sdcard in my sd card slot ??

    Regards
    -Ash
  • You can achieve this by editing the boot command to run nandboot, this is explained here. processors.wiki.ti.com/.../AM335x_U-Boot_User's_Guide

    U-Boot# setenv bootcmd run nandboot
  • Hi Kemal,

    after trying run nand boot i get error

    U-Boot# boot
    ## Error: "nand_boot" not defined


    Regards
    -Ash
  • Remove the underscore.
  • Hi Kemal,

    My u-boot is always loading from mmc is there any way i can boot from NAND. when there is no sdcard the boot process does not initiate. here is my env variables

    U-Boot SPL 2014.07-gfb6ab76 (Jul 06 2015 - 16:10:49)
    SPL: Please implement spl_start_uboot() for your board
    SPL: Direct Linux boot not active!
    reading u-boot.img
    reading u-boot.img


    U-Boot 2014.07-gfb6ab76 (Jul 06 2015 - 16:10:49)

    I2C: ready
    DRAM: 1 GiB
    NAND: 512 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env
    Net: cpsw, usb_ether
    Hit any key to stop autoboot: 0
    U-Boot# printenv
    arch=arm
    baudrate=115200
    board=am43xx
    board_name=AM43__GP
    board_rev=1.4A
    bootargs=console=ttyO0,115200n8 noinitrd ip=off mem=256M rootwait=1 rw ubi.mtd=9,4096 rootfstype=ubifs root=ubi0:rootfs init=/init
    bootcmd=run nandboot
    bootdelay=1
    bootdir=/boot
    bootenv=uEnv.txt
    bootfile=zImage
    bootm_size=0x10000000
    bootpart=0:2
    console=ttyO0,115200n8
    cpu=armv7
    dfu_alt_info_emmc=MLO raw 0x100 0x100 mmcpart 0;u-boot.img raw 0x300 0x1000 mmcpart 0
    dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;spl-os-args fat 0 1;spl-os-image fat 0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1
    dfu_alt_info_ram=kernel ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ramdisk ram 0x81000000 0x4000000
    dfu_bufsiz=0x10000
    eth1addr=34:b1:f7:31:40:04
    ethact=cpsw
    ethaddr=34:b1:f7:31:40:02
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtfile=undefined
    findfdt=if test $board_name = AM43EPOS; then setenv fdtfile am43x-epos-evm.dtb; fi; if test $board_name = AM43__GP; then setenv fdtfile am437x-gp-evm.dtb; fi; if test
    importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize
    kernel_addr_r=0x82000000
    loadaddr=0x82000000
    loadbootenv=load ${devtype} ${devnum} ${loadaddr} ${bootenv}
    loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
    loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
    loadramdisk=load ${devtype} ${devnum} ${rdaddr} ramdisk.gz
    mmcargs=setenv bootargs console=${console} ${optargs} root=${mmcroot} rootfstype=${mmcrootfstype}
    mmcboot=mmc dev ${mmcdev}; setenv devnum ${mmcdev}; setenv devtype mmc; if mmc rescan; then echo SD/MMC found on device ${devnum};if run loadbootenv; then echo Loaded ;
    mmcdev=0
    mmcroot=/dev/mmcblk0p2 rw
    mmcrootfstype=ext4 rootwait
    mtddevname=NAND.SPL
    mtddevnum=0
    mtdids=nand0=nand.0
    mtdparts=mtdparts=nand.0:256k(NAND.SPL),256k(NAND.SPL.backup1),256k(NAND.SPL.backup2),256k(NAND.SPL.backup3),512k(NAND.u-boot-spl-os),1m(NAND.u-boot),256k(NAND.u-boot-)
    nand_erasesize=40000
    nand_oobsize=e0
    nand_writesize=1000
    nandargs=setenv bootargs console=${console} ${optargs} root=${nandroot} rootfstype=${nandrootfstype}
    nandboot=echo Booting from nand ...; run nandargs; nand read ${fdtaddr} NAND.u-boot-spl-os; nand read ${loadaddr} NAND.kernel; bootz ${loadaddr} - ${fdtaddr}
    nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system,4096
    nandrootfstype=ubifs rootwait=1
    netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
    netboot=echo Booting from network ...; setenv autoload no; dhcp; tftp ${loadaddr} ${bootfile}; tftp ${fdtaddr} ${fdtfile}; run netargs; bootz ${loadaddr} - ${fdtaddr}
    nfsopts=nolock
    partition=nand0,0
    partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}
    ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype}
    ramdisk_addr_r=0x88080000
    ramroot=/dev/ram0 rw
    ramrootfstype=ext2
    rdaddr=0x88080000
    rootpath=/export/rootfs
    soc=am33xx
    static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
    stderr=serial
    stdin=serial
    stdout=serial
    usbargs=setenv bootargs console=${console} ${optargs} root=${usbroot} rootfstype=${usbrootfstype}
    usbboot=setenv devnum ${usbdev}; setenv devtype usb; usb start ${usbdev}; if usb dev ${usbdev}; then if run loadbootenv; then echo Loaded environment from ${bootenv};r;
    usbdev=0
    usbnet_devaddr=34:b1:f7:31:40:04
    usbroot=/dev/sda2 rw
    usbrootfstype=ext4 rootwait
    vendor=ti
    ver=U-Boot 2014.07-gfb6ab76 (Jul 06 2015 - 16:10:49)

    Environment size: 4341/65532 bytes


    Regards
    -Ash
  • In this situation, you probably need to setup the SYSBOOT switch to boot from NAND device. Check this: processors.wiki.ti.com/.../AM437x_General_Purpose_EVM_HW_User_Guide
  • Hi Kemal,
    after refering the datasheet i understand the sys boot [0-4] should be [01111b] from the datasheet spruhl7d page 189.
    even after enabling the switch 12 in my GPEVM to those corresponding values. it fails to boot from the nand flash without the sd card inserted into the sd card slot. what could i be doing wrong here??

    after setting these switch to the respective settings the board does not boot. or in other words the uart in minicom is not responsive.



    regards
    -Ash

  • Could you try this sysboot [0-4] [01100b]
  • Hi Kemal,

    The board still does not boot using the sysboot [01100b]. Can i be misssing something here ??
    My board revision is 1.4a is this a contributing factor ??

    Regards
    -Ash
  • Hi Ash,

    Could you verify that the 4 MLOs and the u-boot.img are flashed properly to you NAND? Is the EVM sends CCCC signs to the console, when you turn it on?

    Best regards,
    Kemal

  • Hi Kemal ,

    The only signal i get is the cccccccc in a loop after removing the mmc card. with the mmc card inserted below is my boot sequence.

    Press CTRL-A Z for help on special keys
    
    CCCCCCCC
    U-Boot SPL 2014.07-gfb6ab76 (Jul 06 2015 - 16:10:49)
    SPL: Please implement spl_start_uboot() for your board
    SPL: Direct Linux boot not active!
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2014.07-gfb6ab76 (Jul 06 2015 - 16:10:49)
    
    I2C:   ready
    DRAM:  1 GiB
    NAND:  512 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env                                                               
    Net:   cpsw, usb_ether                                                          
    Hit any key to stop autoboot:  0                                                
    Booting from nand ...                                                           
                                                                                    
    NAND read: device 0 offset 0x100000, size 0x80000                               
     524288 bytes read: OK                                                          
                                                                                    
    NAND read: device 0 offset 0x300000, size 0x700000                              
     7340032 bytes read: OK                                                         
    Kernel image @ 0x82000000 [ 0x000000 - 0x427598 ]                               
    ## Flattened Device Tree blob at 88000000                                       
       Booting using the fdt blob at 0x88000000                                     
       Loading Device Tree to 8fff1000, end 8ffffcb1 ... OK                         
                                                                                    
    Starting kernel ...                                                             
                                                                                    
    [    0.000000] Booting Linux on physical CPU 0x0                                
    [    0.000000] Linux version 3.14.43-g875c69b (alpha@alpha-virtual-machine) (gc5
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d 
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
    [    0.000000] Machine model: TI AM437x GP EVM                                  
    [    0.000000] cma: CMA: reserved 24 MiB at ae000000                            
    [    0.000000] Memory policy: Data cache writeback                              
    [    0.000000] CPU: All CPU(s) started in SVC mode.                             
    [    0.000000] AM437x ES1.1 (sgx neon )                                         
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pa2
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw 1
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)             
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) 
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)   
    [    0.000000] Memory: 1003864K/1046528K available (5871K kernel code, 311K rwd)
    [    0.000000] Virtual kernel memory layout:                                    
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)                
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                
    [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)                
    [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)                
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)                
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)                
    [    0.000000]       .text : 0xc0008000 - 0xc07de0c4   (8025 kB)                
    [    0.000000]       .init : 0xc07df000 - 0xc0821ebc   ( 268 kB)                
    [    0.000000]       .data : 0xc0822000 - 0xc086fd20   ( 312 kB)                
    [    0.000000]        .bss : 0xc086fd20 - 0xc08aa038   ( 233 kB)                
    [    0.000000] NR_IRQS:16 nr_irqs:16 16                                         
    [    0.000000] GIC CPU mask not found - kernel will fail to boot.               
    [    0.000000] GIC CPU mask not found - kernel will fail to boot.               
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz                    
    [    0.000022] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 1789s
    [    0.000049] OMAP clocksource: timer1 at 24000000 Hz                          
    [    0.000290] Console: colour dummy device 80x30                               
    [    0.000323] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'       
    [    0.000331] This ensures that you still see kernel messages. Please          
    [    0.000337] update your kernel commandline.                                  
    [    0.000369] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)         
    [    0.059138] pid_max: default: 32768 minimum: 301                             
    [    0.059269] Security Framework initialized                                   
    [    0.059337] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)      
    [    0.059356] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) 
    [    0.065712] CPU: Testing write buffer coherency: ok                          
    [    0.066134] Setting up static identity map for 0x805c21e0 - 0x805c2238       
    [    0.066248] L310 cache controller enabled                                    
    [    0.066267] l2x0: 16 ways, CACHE_ID 0x410000c9, AUX_CTRL 0x7e030000, Cache sB
    [    0.066997] devtmpfs: initialized                                            
    [    0.069291] VFP support v0.3: implementor 41 architecture 3 part 30 variant 4
    [    0.076586] omap_hwmod: tptc0 using broken dt data from edma                 
    [    0.076654] omap_hwmod: tptc1 using broken dt data from edma                 
    [    0.076710] omap_hwmod: tptc2 using broken dt data from edma                 
    [    0.137088] omap_hwmod: dss_dispc: cannot be enabled for reset (3)           
    [    0.140368] omap_hwmod: dss_rfbi: cannot be enabled for reset (3)            
    [    0.140959] pinctrl core: initialized pinctrl subsystem                      
    [    0.141807] regulator-dummy: no parameters                                   
    [    0.143533] NET: Registered protocol family 16                               
    [    0.144887] DMA: preallocated 256 KiB pool for atomic coherent allocations   
    [    0.146833] cpuidle: using governor ladder                                   
    [    0.146843] cpuidle: using governor menu                                     
    [    0.152209] syscon 44e10000.control_module: regmap [mem 0x44e10000-0x44e107fd
    [    0.152896] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclea)
    [    0.152937] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 ()
    [    0.153589] platform 49000000.edma: alias fck already exists                 
    [    0.153607] platform 49000000.edma: alias fck already exists                 
    [    0.153617] platform 49000000.edma: alias fck already exists                 
    [    0.156177] OMAP GPIO hardware version 0.1                                   
    [    0.166972] omap-gpmc 50000000.gpmc: could not find pctldev for node /pinmuxe
    [    0.166999] platform 50000000.gpmc: Driver omap-gpmc requests probe deferral 
    [    0.173121] No ATAGs?                                                        
    [    0.173144] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint.
    [    0.173153] hw-breakpoint: maximum watchpoint size is 4 bytes.               
    [    0.194602] bio: create slab <bio-0> at 0                                    
    [    0.207787] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver     
    [    0.208766] evm_v3_3d: 3300 mV                                               
    [    0.209305] vtt_fixed: 1500 mV                                               
    [    0.209790] vmmcwl_fixed: 1800 mV                                            
    [    0.212960] vgaarb: loaded                                                   
    [    0.213398] i2c-core: driver [palmas] using legacy suspend method            
    [    0.213407] i2c-core: driver [palmas] using legacy resume method             
    [    0.213998] SCSI subsystem initialized                                       
    [    0.215221] usbcore: registered new interface driver usbfs                   
    [    0.215372] usbcore: registered new interface driver hub                     
    [    0.215540] usbcore: registered new device driver usb                        
    [    0.216443] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@4e
    [    0.216465] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral   
    [    0.216489] omap_i2c 4802a000.i2c: could not find pctldev for node /pinmux@4e
    [    0.216500] platform 4802a000.i2c: Driver omap_i2c requests probe deferral   
    [    0.216880] pps_core: LinuxPPS API ver. 1 registered                         
    [    0.216889] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
    [    0.217001] PTP clock support registered                                     
    [    0.218544] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400            
    [    0.219577] Advanced Linux Sound Architecture Driver Initialized.            
    [    0.220890] Switched to clocksource timer1                                   
    [    0.236367] NET: Registered protocol family 2                                
    [    0.237022] TCP established hash table entries: 8192 (order: 3, 32768 bytes) 
    [    0.237094] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)        
    [    0.237158] TCP: Hash tables configured (established 8192 bind 8192)         
    [    0.237290] TCP: reno registered                                             
    [    0.237300] UDP hash table entries: 512 (order: 1, 8192 bytes)               
    [    0.237321] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)          
    [    0.237489] NET: Registered protocol family 1                                
    [    0.237820] RPC: Registered named UNIX socket transport module.              
    [    0.237831] RPC: Registered udp transport module.                            
    [    0.237836] RPC: Registered tcp transport module.                            
    [    0.237840] RPC: Registered tcp NFSv4.1 backchannel transport module.        
    [    0.240785] futex hash table entries: 256 (order: -1, 3072 bytes)            
    [    0.350658] bounce pool size: 64 pages                                       
    [    0.350845] VFS: Disk quotas dquot_6.5.2                                     
    [    0.350944] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)       
    [    0.351360] NFS: Registering the id_resolver key type                        
    [    0.351414] Key type id_resolver registered                                  
    [    0.351421] Key type id_legacy registered                                    
    [    0.351456] jffs2: version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc. 
    [    0.351580] msgmni has been set to 1484                                      
    [    0.352744] NET: Registered protocol family 38                               
    [    0.352779] io scheduler noop registered                                     
    [    0.352785] io scheduler deadline registered                                 
    [    0.352802] io scheduler cfq registered (default)                            
    [    0.356544] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796 
    [    0.360321] backlight supply power not found, using dummy regulator          
    [    0.362064] OMAP DSS rev 2.0                                                 
    [    0.367576] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled         
    [    0.371330] omap8250 44e09000.serial: No clock speed specified: using defaul0
    [    0.371865] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 104, base_baud 0
    [    1.095047] console [ttyS0] enabled                                          
    [    1.099036] omap8250 481a6000.serial: No clock speed specified: using defaul0
    [    1.107605] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 76, base_baud =0
    [    1.118167] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20      
    [    1.125297] [drm] Initialized drm 1.1.0 20060810                             
    [    1.138204] brd: module loaded                                               
    [    1.145762] loop: module loaded                                              
    [    1.149199] (stk) :sysfs entries created                                     
    [    1.153275] (stk) : debugfs entries created                                  
    [    1.157584] (hci_tty): inside hci_tty_init                                   
    [    1.162318] (hci_tty): allocated 250, 0                                      
    [    1.169892] mtdoops: mtd device (mtddev=name/number) must be supplied        
    [    1.178118] of_dma_request_slave_channel: dma-names property of node '/ocp/sy
    [    1.187808] spi spi1.0: not using DMA for McSPI                              
    [    1.195864] usbcore: registered new interface driver asix                    
    [    1.201528] usbcore: registered new interface driver ax88179_178a            
    [    1.207809] usbcore: registered new interface driver cdc_ether               
    [    1.213829] usbcore: registered new interface driver smsc95xx                
    [    1.219747] usbcore: registered new interface driver net1080                 
    [    1.225563] usbcore: registered new interface driver cdc_subset              
    [    1.231658] usbcore: registered new interface driver zaurus                  
    [    1.237449] usbcore: registered new interface driver cdc_ncm                 
    [    1.243610] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver       
    [    1.250171] ehci-pci: EHCI PCI platform driver                               
    [    1.254839] ehci-omap: OMAP-EHCI Host Controller driver                      
    [    1.260604] usbcore: registered new interface driver cdc_wdm                 
    [    1.266497] usbcore: registered new interface driver usb-storage             
    [    1.273618] mousedev: PS/2 mouse device common for all mice                  
    [    1.281198] i2c-core: driver [rtc-ds1307] using legacy suspend method        
    [    1.287673] i2c-core: driver [rtc-ds1307] using legacy resume method         
    [    1.294765] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0 
    [    1.302848] i2c /dev entries driver                                          
    [    1.306500] Driver for 1-wire Dallas network protocol.                       
    [    1.314026] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec   
    [    1.398560] mmc0: host does not support reading read-only switch. assuming w.
    [    1.408731] mmc0: new high speed SD card at address 1234                     
    [    1.414625] mmcblk0: mmc0:1234 SA02G 1.85 GiB                                
    [    1.421132]  mmcblk0: p1 p2                                                  
    [    1.481775] ledtrig-cpu: registered to indicate activity on CPUs             
    [    1.491257] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1                
    [    1.498127] omap-des 53701000.des: OMAP DES hw accel rev: 0.33               
    [    1.505302] omap-sham 53100000.sham: hw accel on OMAP rev 0.0                
    [    1.513939] usbcore: registered new interface driver usbhid                  
    [    1.519541] usbhid: USB HID core driver                                      
    [    1.523781] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
    [    1.533842] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    1.541907] oprofile: no performance counters                                
    [    1.546617] oprofile: using timer interrupt.                                 
    [    1.551214] TCP: cubic registered                                            
    [    1.554545] Initializing XFRM netlink socket                                 
    [    1.558844] NET: Registered protocol family 17                               
    [    1.563361] NET: Registered protocol family 15                               
    [    1.567900] Key type dns_resolver registered                                 
    [    1.572837] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 reg7
    [    1.581632] cpu cpu0: cpu0 clock notifier not ready, retry                   
    [    1.587220] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe defel
    [    1.595345] PM: bootloader does not support rtc-only!                        
    [    1.600448] ThumbEE CPU extension supported.                                 
    [    1.604866] Registering SWP/SWPB emulation handler                           
    [    1.611243] vmmcwl_fixed: disabling                                          
    [    1.614761] regulator-dummy: disabling                                       
    [    1.620172] omapdrm omapdrm.0: DMM not available, disable DMM support        
    [    1.627802] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).      
    [    1.634489] [drm] No driver support for vblank timestamp query.              
    [    1.705134] Console: switching to colour frame buffer device 100x30          
    [    1.715603] omapdrm omapdrm.0: fb0: omapdrm frame buffer device              
    [    1.721560] omapdrm omapdrm.0: registered panic notifier                     
    [    1.726909] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0              
    [    1.733118] Error: Driver 'tfp410' is already registered, aborting...        
    [    1.740952] omap-gpmc 50000000.gpmc: GPMC revision 6.0                       
    [    1.746124] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000            
    [    1.753180] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc         
    [    1.759567] nand: Micron MT29F4G08ABAEAWP                                    
    [    1.763633] nand: 512MiB, SLC, page size: 4096, OOB size: 224                
    [    1.769401] using OMAP_ECC_BCH16_CODE_HW ECC scheme                          
    [    1.774456] 10 ofpart partitions found on MTD device omap2-nand.0            
    [    1.780578] Creating 10 MTD partitions on "omap2-nand.0":                    
    [    1.786022] 0x000000000000-0x000000040000 : "NAND.SPL"                       
    [    1.792593] 0x000000040000-0x000000080000 : "NAND.SPL.backup1"               
    [    1.799644] 0x000000080000-0x0000000c0000 : "NAND.SPL.backup2"               
    [    1.806814] 0x0000000c0000-0x000000100000 : "NAND.SPL.backup3"               
    [    1.813943] 0x000000100000-0x000000180000 : "NAND.u-boot-spl-os"             
    [    1.821323] 0x000000180000-0x000000280000 : "NAND.u-boot"                    
    [    1.828138] 0x000000280000-0x0000002c0000 : "NAND.u-boot-env"                
    [    1.835180] 0x0000002c0000-0x000000300000 : "NAND.u-boot-env.backup1"        
    [    1.843013] 0x000000300000-0x000000a00000 : "NAND.kernel"                    
    [    1.851094] 0x000000a00000-0x000020000000 : "NAND.file-system"               
    [    1.964729] prom_parse: Bad cell count for /ocp/i2c@44e0b000/tps65218@24     
    [    1.973869] vdd_core: 920 <--> 1140 mV at 1100 mV                            
    [    1.979274] prom_parse: Bad cell count for /ocp/i2c@44e0b000/tps65218@24     
    [    1.987903] vdd_mpu: 920 <--> 1375 mV at 1330 mV                             
    [    1.992760] prom_parse: Bad cell count for /ocp/i2c@44e0b000/tps65218@24     
    [    2.002393] vdcdc3: 1500 mV                                                  
    [    2.005401] prom_parse: Bad cell count for /ocp/i2c@44e0b000/tps65218@24     
    [    2.014619] v1_0bat: 1000 mV                                                 
    [    2.017712] prom_parse: Bad cell count for /ocp/i2c@44e0b000/tps65218@24     
    [    2.026492] v1_8bat: 1800 mV                                                 
    [    2.029572] prom_parse: Bad cell count for /ocp/i2c@44e0b000/tps65218@24     
    [    2.038556] LDO1: 1800 mV                                                    
    [    2.042530] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz                  
    [    2.050417] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz                  
    [    2.056693]  remoteproc0: wkup_m3 is available                               
    [    2.061199]  remoteproc0: Note: remoteproc is still under development and co.
    [    2.070197]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backwa.
    [    2.080720]  remoteproc0: Direct firmware load failed with error -2          
    [    2.087038]  remoteproc0: Falling back to user helper                        
    [    2.092681] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    2.100072] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating volta2
    [    2.111054] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    2.118843] UBI: attaching mtd9 to ubi0                                      
    [    3.199556] UBI: scanning is finished                                        
    [    3.209576] UBI: attached mtd9 (name "NAND.file-system", size 502 MiB) to ub0
    [    3.216894] UBI: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes    
    [    3.223720] UBI: min./max. I/O unit sizes: 4096/4096, sub-page size 1024     
    [    3.230448] UBI: VID header offset: 4096 (aligned 4096), data offset: 8192   
    [    3.237357] UBI: good PEBs: 2008, bad PEBs: 0, corrupted PEBs: 0             
    [    3.243406] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
    [    3.250571] UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequ2
    [    3.259663] UBI: available PEBs: 0, total reserved PEBs: 2008, PEBs reserved0
    [    3.268966] UBI: background thread "ubi_bgt0d" started, PID 905              
    [    3.330942] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6            
    [    3.337075] davinci_mdio 4a101000.mdio: detected phy mask fffffffe           
    [    3.343960] libphy: 4a101000.mdio: probed                                    
    [    3.347999] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, drin
    [    3.356618] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    3.364582] cpsw 4a100000.ethernet: Detected MACID = 34:b1:f7:31:40:02       
    [    3.371673] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    3.380461] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    3.388393] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:)
    [    3.399785] ALSA device list:                                                
    [    3.402856]   No soundcards found.                                           
    [    3.422771] UBIFS: background thread "ubifs_bgt0_0" started, PID 917         
    [    3.446040] UBIFS: recovery needed                                           
    [    3.533916] UBIFS: recovery completed                                        
    [    3.537699] UBIFS: mounted UBI device 0, volume 0, name "rootfs"             
    [    3.543759] UBIFS: LEB size: 253952 bytes (248 KiB), min./max. I/O unit sizes
    [    3.552941] UBIFS: FS size: 484540416 bytes (462 MiB, 1908 LEBs), journal si)
    [    3.562902] UBIFS: reserved for root: 0 bytes (0 KiB)                        
    [    3.567978] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 32B6DAEA-A490l
    [    3.579415] VFS: Mounted root (ubifs filesystem) on device 0:14.             
    [    3.586805] devtmpfs: mounted                                                
    [    3.590238] Freeing unused kernel memory: 264K (c07df000 - c0821000)         
    INIT: version 2.88 booting                                                      
    Starting udev                                                                   
    [    4.177707] udevd[948]: starting version 182                                 
    [    4.837772] Bluetooth: Core ver 2.18                                         
    [    4.854266] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    4.868816] CAN device driver interface                                      
    Starting Bootlog daemon: [    5.007594] c_can_platform 481cc000.can: c_can_plat)
    [    5.033957] NET: Registered protocol family 31                               
    [    5.038436] Bluetooth: HCI device and connection manager initialized         
    [    5.078877] media: Linux media interface: v0.10                              
    [    5.193017] Bluetooth: HCI socket layer initialized                          
    [    5.197935] Bluetooth: L2CAP socket layer initialized                        
    [    5.228199] input: matrix_keypad@0 as /devices/matrix_keypad@0/input/input0  
    bootlogd: cannot allocate pseudo tty: No such file or directory                 
    bootlogd.                                                                       
    [    5.256936] Linux video capture interface: v2.00                             
    [    5.278017] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    5.289979] c_can_platform 481d0000.can: c_can_platform device registered (r)
    [    5.363016]  remoteproc0: powering up wkup_m3                                
    [    5.368036]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 15442
    [    5.422378] asoc-simple-card sound@0: tlv320aic3x-hifi <-> 4803c000.mcasp mak
    [    5.440457] Bluetooth: SCO socket layer initialized                          
    [    5.446943] input: pixcir_tangoc as /devices/44000000.ocp/4802a000.i2c/i2c-11
    [    5.527186] ov2659 0-0030: ov2659_probe: debug: 0                            
    [    5.602742] PM: CM3 Firmware Version = 0x190                                 
    [    5.650082] (stc):  chnl_id list empty :4                                    
    [    5.654088] (stk) : st_kim_start(stk) :ldisc_install = 1                     
    [    5.778981] random: dd urandom read with 22 bits of entropy available        
    [    5.803086]  remoteproc0: remote processor wkup_m3 is now up                 
    [    5.831873] ov2659 0-0030: Found OV2656 sensor                               
    [    5.837954] vpfe1: v4l2 sub device ov2659 registered                         
    [    5.921039] vpfe1: vpfe1 video device registered as /dev/video0              
    [    5.927006] ov2659 0-0030: ov2659 sensor driver registered !!                
    [    6.047513] ov2659 1-0030: ov2659_probe: debug: 0                            
    [    6.133229] ov2659 1-0030: Found OV2656 sensor                               
    [    6.139311] vpfe0: v4l2 sub device ov2659 registered                         
    [    6.535481] vpfe0: vpfe0 video device registered as /dev/video1              
    [    6.541510] ov2659 1-0030: ov2659 sensor driver registered !!                
    [    6.760961] (stk) :ldisc installation timeout                                
    [    6.765204] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to bd
    [    8.181087] (stk) :ldisc_install = 1                                         
    udevadm settle - timeout of 3 seconds reached, the event queue contains:        
      /sys/devices/44000000.ocp/48060000.mmc/mmc_host/mmc0/mmc0:1234/block/mmcblk0/)
      /sys/devices/44000000.ocp/48060000.mmc/mmc_host/mmc0/mmc0:1234/block/mmcblk0/)
      /sys/devices/virtual/mtd/mtd1/mtdblock1 (1111)                                
      /sys/devices/virtual/mtd/mtd2/mtdblock2 (1114)                                
      /sys/devices/virtual/mtd/mtd3/mtdblock3 (1117)                                
      /sys/devices/virtual/mtd/mtd4/mtdblock4 (1120)                                
      /sys/devices/virtual/mtd/mtd5/mtdblock5 (1123)                                
      /sys/devices/virtual/mtd/mtd6/mtdblock6 (1126)                                
      /sys/devices/virtual/mtd/mtd7/mtdblock7 (1129)                                
      /sys/devices/virtual/mtd/mtd8/mtdblock8 (1132)                                
      /sys/devices/virtual/mtd/mtd9/mtdblock9 (1135)                                
      /sys/devices/virtual/net/lo (1137)                                            
      /sys/devices/44000000.ocp/481cc000.can/net/can0 (1151)                        
      /sys/devices/44000000.ocp/481cc000.can/net/can0/queues/tx-0 (1152)            
      /sys/devices/44000000.ocp/48380000.omap_dwc3/48390000.usb (1160)              
      /sys/devices/44000000.ocp/483c0000.omap_dwc3/483d0000.usb (1161)              
      /sys/devices/44000000.ocp/481d0000.can/net/can1 (1163)                        
      /sys/devices/44000000.ocp/481d0000.can/net/can1/queues/tx-0 (1164)            
      /sys/bus/platform/drivers/TI-am335x-adc (1174)                                
    [    8.783743] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data.
    [    9.311837] (stk) :ldisc installation timeout                                
    [    9.316051] (stk) :ldisc_install = 0ALSA: Restoring mixer settings...        
    Mon Jul  6 22:17:00 UTC 2015                                                    
    INIT: Entering runlevel: 5                                                      
    Configuring network interfaces... [    9.684621] dwc3 48390000.usb: otg: primard
    [    9.692254] dwc3 48390000.usb: otg: shared host xhci-hcd.0.auto registered   
    [    9.699173] dwc3 48390000.usb: otg: can't start till gadget registers        
    [    9.718513] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller                   
    [    9.731561] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus n1
    [    9.745819] xhci-hcd xhci-hcd.1.auto: irq 206, io mem 0x483d0000             
    [    9.761195] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002    
    [    9.768026] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber1
    [    9.775306] usb usb1: Product: xHCI Host Controller                          
    [    9.780205] usb usb1: Manufacturer: Linux 3.14.43-g875c69b xhci-hcd          
    [    9.786509] usb usb1: SerialNumber: xhci-hcd.1.auto                          
    [    9.812956] net eth0: initializing cpsw version 1.15 (0)                     
    [    9.820545] hub 1-0:1.0: USB hub found                                       
    [    9.824506] hub 1-0:1.0: 1 port detected                                     
    [    9.828711] EXT4-fs (mmcblk0p2): recovery complete                           
    [    9.833889] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller                   
    [    9.839525] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. )
    [    9.848019] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus n2
    [    9.861186] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003    
    [    9.868017] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber1
    [    9.875301] usb usb2: Product: xHCI Host Controller                          
    [    9.880199] usb usb2: Manufacturer: Linux 3.14.43-g875c69b xhci-hcd          
    [    9.886506] usb usb2: SerialNumber: xhci-hcd.1.auto                          
    [    9.911521] net eth0: phy found : id is : 0x221622                           
    [    9.927852] hub 2-0:1.0: USB hub found                                       
    [    9.936225] hub 2-0:1.0: 1 port detected                                     
    udhcpc (v1.22.1) started                                                        
    Sending discover...                                                             
    [   10.311157] (stk) : timed out waiting for ldisc to be un-installed           
    [   10.495197] (stk) :ldisc_install = 1(stk) :ldisc installation timeout        
    [   11.493823] (stk) :ldisc_install = 0[   11.911836] libphy: 4a101000.mdio:00 l
    [   12.490966] (stk) : timed out waiting for ldisc to be un-installed           
    [   12.604124] (stk) :ldisc_install = 1Sending discover...                      
    Sending select for 192.168.1.46...                                              
    Lease of 192.168.1.46 obtained, lease time 86400                                
    /etc/udhcpc.d/50default: Adding DNS 192.168.1.1                                 
    done.                                                                           
    Starting system message bus: dbus.                                              
    Starting telnet daemon.                                                         
    Starting rpcbind daemon...rpcbind: cannot create socket for udp6                
    rpcbind: cannot create socket for tcp6                                          
    done.                                                                           
    creating NFS state directory: done                                              
    starting statd: (stk) :ldisc installation timeout                               
    [   13.603906] (stk) :ldisc_install = 0done                                     
    Starting syslogd/klogd: done                                                    
    Starting thttpd.                                                                
    Enabling thermal zones...                                                       
    /etc/rc5.d/S98thermal-zone-init: line 7: /sys/class/thermal/thermal_zone*/mode:y
    Stopping Bootlog daemon: bootlogd.                                              
                                                                                    
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org am437x-evm /dev/ttyO0                    
                                                                                    
    Arago 2015.05 am437x-evm /dev/ttyO0                                             
                                                                                    
    am437x-evm login: (stk) : timed out waiting for ldisc to be un-installed        
    [   14.712552] (stk) :ldisc_install = 1(stk) :ldisc installation timeout        
    [   15.713881] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to bd
    [   16.822607] (stk) :ldisc_install = 1(stk) :ldisc installation timeout        
    [   17.823847] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to bd
    [   18.827751] Bluetooth: st_register failed -22                                
                                                                                    
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org am437x-evm /dev/ttyO0                    
                                                                                    
    Arago 2015.05 am437x-evm /dev/ttyO0                                             
                                                                                    
    am437x-evm login: 
    


    above is my boot sequence if that helps

    U-Boot# printenv                                                                
    arch=arm                                                                        
    baudrate=115200                                                                 
    board=am43xx                                                                    
    board_name=AM43__GP                                                             
    board_rev=1.4A                                                                  
    bootargs=console=ttyO0,115200n8 noinitrd ip=off mem=256M rootwait=1 rw ubi.mtd=t
    bootcmd=run nandboot                                                            
    bootdelay=1                                                                     
    bootdir=/boot                                                                   
    bootenv=uEnv.txt                                                                
    bootfile=zImage                                                                 
    bootm_size=0x10000000                                                           
    bootpart=0:2                                                                    
    console=ttyO0,115200n8                                                          
    cpu=armv7                                                                       
    dfu_alt_info_emmc=MLO raw 0x100 0x100 mmcpart 0;u-boot.img raw 0x300 0x1000 mmc0
    dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;spl-os-args fat 0 1;1
    dfu_alt_info_ram=kernel ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ram0
    dfu_bufsiz=0x10000                                                              
    eth1addr=34:b1:f7:31:40:04                                                      
    ethact=cpsw                                                                     
    ethaddr=34:b1:f7:31:40:02                                                       
    fdt_addr_r=0x88000000                                                           
    fdtaddr=0x88000000                                                              
    fdtfile=undefined                                                               
    filesize=661a4                                                                  
    findfdt=if test $board_name = AM43EPOS; then setenv fdtfile am43x-epos-evm.dtb; 
    importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr e
    kernel_addr_r=0x82000000                                                        
    loadaddr=0x82000000                                                             
    loadbootenv=load ${devtype} ${devnum} ${loadaddr} ${bootenv}                    
    loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}            
    loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}        
    loadramdisk=load ${devtype} ${devnum} ${rdaddr} ramdisk.gz                      
    mmcargs=setenv bootargs console=${console} ${optargs} root=${mmcroot} rootfstyp}
    mmcboot=mmc dev ${mmcdev}; setenv devnum ${mmcdev}; setenv devtype mmc; if mmc ;
    mmcdev=0                                                                        
    mmcroot=/dev/mmcblk0p2 rw                                                       
    mmcrootfstype=ext4 rootwait                                                     
    mtddevname=NAND.SPL                                                             
    mtddevnum=0                                                                     
    mtdids=nand0=nand.0                                                             
    mtdparts=mtdparts=nand.0:256k(NAND.SPL),256k(NAND.SPL.backup1),256k(NAND.SPL.ba)
    nand_erasesize=40000                                                            
    nand_oobsize=e0                                                                 
    nand_writesize=1000                                                             
    nandargs=setenv bootargs console=${console} ${optargs} root=${nandroot} rootfst}
    nandboot=echo Booting from nand ...; run nandargs; nand read ${fdtaddr} NAND.u-}
    nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system,4096                           
    nandrootfstype=ubifs rootwait=1                                                 
    netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${sp
    netboot=echo Booting from network ...; setenv autoload no; dhcp; tftp ${loadadd}
    nfsopts=nolock                                                                  
    partition=nand0,0                                                               
    partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=2MiB,size=-,uuid=${uuid}
    ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstyp}
    ramdisk_addr_r=0x88080000                                                       
    ramroot=/dev/ram0 rw                                                            
    ramrootfstype=ext2                                                              
    rdaddr=0x88080000                                                               
    rootpath=/export/rootfs                                                         
    soc=am33xx                                                                      
    static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off        
    stderr=serial                                                                   
    stdin=serial                                                                    
    stdout=serial                                                                   
    usbargs=setenv bootargs console=${console} ${optargs} root=${usbroot} rootfstyp}
    usbboot=setenv devnum ${usbdev}; setenv devtype usb; usb start ${usbdev}; if us;
    usbdev=0                                                                        
    usbnet_devaddr=34:b1:f7:31:40:04                                                
    usbroot=/dev/sda2 rw                                                            
    usbrootfstype=ext4 rootwait                                                     
    vendor=ti                                                                       
    ver=U-Boot 2014.07-gfb6ab76 (Jul 06 2015 - 16:10:49)                            
                                                                                    
    Environment size: 4358/65532 bytes 

    above is my environment variables

    U-Boot# mtd                                                                     
                                                                                    
    device nand0 <nand.0>, # parts = 10                                             
     #: name                size            offset          mask_flags              
     0: NAND.SPL            0x00040000      0x00000000      0                       
     1: NAND.SPL.backup1    0x00040000      0x00040000      0                       
     2: NAND.SPL.backup2    0x00040000      0x00080000      0                       
     3: NAND.SPL.backup3    0x00040000      0x000c0000      0                       
     4: NAND.u-boot-spl-os  0x00080000      0x00100000      0                       
     5: NAND.u-boot         0x00100000      0x00180000      0                       
     6: NAND.u-boot-env     0x00040000      0x00280000      0                       
     7: NAND.u-boot-env.backup10x00040000   0x002c0000      0                       
     8: NAND.kernel         0x00700000      0x00300000      0                       
     9: NAND.file-system    0x1f600000      0x00a00000      0                       
                                                                                    
    active partition: nand0,0 - (NAND.SPL) 0x00040000 @ 0x00000000                  
                                                                                    
    defaults:                                                                       
    mtdids  : nand0=nand.0                                                          
    mtdparts: mtdparts=nand.0:256k(NAND.SPL),256k(NAND.SPL.backup1),256k(NAND.SPL.b)
    U-Boot# 
    

    above is my mtd


    Regards
    -Ash

  • Seems the ROM bootloader skips the NAND device because of lack of MLO images. Cold you reflash these images and use these SYSBOOT settings [0-4] [01100b] in order to boot from NAND.

  • Hi Kemal,
    I reflashed and remounted the ubi image but still the same result without any change. is there anything else i might be missing??

    Regards
    -Ash
  • Please reflash the MLO, u-boot.img, device tree and kernel images from the U-Boot stage as per these steps:
    processors.wiki.ti.com/.../AM335x_U-Boot_User's_Guide
    processors.wiki.ti.com/.../AM335x_U-Boot_User's_Guide
    Could you also take a picture of the EVM's sysboot switch and attach?
  • Hi Kemal,

    Please find the attachments for the switches

    U-Boot # mmc rescan
    U-Boot # nand erase.chip
    U-Boot # load mmc 0 0x82000000 MLO
    U-Boot # nand write 0x82000000 NAND.SPL
    U-Boot # nand write 0x82000000 NAND.SPL.backup1
    U-Boot # nand write 0x82000000 NAND.SPL.backup2
    U-Boot # nand write 0x82000000 NAND.SPL.backup3
    U-Boot # load mmc 0 0x82000000 u-boot.img
    U-Boot # nand write 0x82000000 NAND.u-boot
    U-Boot # load mmc 0 0x82000000 zImage
    U-Boot # nand write 0x82000000 NAND.kernel
    U-Boot # run findfdt
    U-Boot # load mmc 0 0x82000000 $fdtfile
    U-Boot # nand write 0x82000000 NAND.u-boot-spl-os
    U-Boot # saveenv

    above are my flash write uboot commands

    step 1:
    ubiformat /dev/mtd9 -f /arago-base-tisdk-image-am437x-evm.ubi -s 4096
    step 2:
    #ubiattach /dev/ubi_ctrl -m 9 -O 4096
    step 3:
    #setenv bootargs 'console=ttyO0,115200n8 noinitrd ip=off mem=256M rootwait=1 rw ubi.mtd=9,4096 rootfstype=ubifs root=ubi0:rootfs init=/init'

    above are my ubifs mounting


    above is my switch setting (fyi i have tried the exact inverse of the switches as well as on and off state is confusing)
    Regards
    -Ash

  • Yes they should be in inverse position. The state is off if the switch is closer to pinouts 6-10.

  • In The inverse position i do not even get the ccccc in my terminal.

    Regards
    -Ash
  • The EVM sends the CCCCC in UART boot mode.

  • But after inversing the swithes. the uart output is nil and the board does not boot. i had to set all the switches to off so that i can boot the board again.

    regards
    ash
  • Could you try with all 0, by default the EVM should first try to boot from NAND.
  • Hi Kemal,

    With all swithes turned off without the sd card inserted the board unfortunately oes not boot..

    when the sd card is inserted the board boots fine. I seriously can not understand what might be missing here .

    can you please tell me what the below statements in my boot up mean
    U-Boot SPL 2014.07-gfb6ab76 (Jul 06 2015 - 16:10:49)
    SPL: Please implement spl_start_uboot() for your board
    SPL: Direct Linux boot not active!

    regards
    -Ash
  • Hi Kemal,
    Any further suggestion ??

    Regards
    -Ash
  • Hi Ash,

    ash parker said:

    can you please tell me what the below statements in my boot up mean
    U-Boot SPL 2014.07-gfb6ab76 (Jul 06 2015 - 16:10:49)
    SPL: Please implement spl_start_uboot() for your board
    SPL: Direct Linux boot not active!

    These are informative messages for the U-Boot Falcon Mode which is used to speed up the boot up process by bypassing the U-Boot stage.

    Best regards,
    Kemal
  • ash parker said:

    Any further suggestion ??


    Seems we met the issue which is in errata advisory. This issue was previously discussed here.