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.

AM3358: U-Boot Board Port 'u-boot' failed

Part Number: AM3358

Hi Champs,

I'm trying to follow the steps in link below:

https://software-dl.ti.com/processor-sdk-linux-rt/esd/AM335X/09_01_00_001/exports/docs/linux/How_to_Guides/Board_Port/U-Boot.html#overview

to build the u-boot for a custom board with AM3358. Most of the pin configurations are the same as Beaglebone Black (MMC, DDR3, serials, USBs, ...) except the PMIC, board detection, SPI, McASP, PRU, GPIOs etc.

I think I did something incorrect in modifying code in board.cboard.h, and mux.c.

There are some warnings related to board_ti_get_rev() ... and undefined reference to `board_ti_get_rev'.

And eventually, it failed. Here is the last messages from the build:

/home/fz/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/ti-u-boot-2023.04+gitAUTOINC+d74d0993e2-gd74d0993e2/board/ase/edaq/board.c:852: undefined reference to `set_board_info_env'
cmd/extension_board.o: In function `extension_scan':
/home/fz/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/ti-u-boot-2023.04+gitAUTOINC+d74d0993e2-gd74d0993e2/cmd/extension_board.c:94: undefined reference to `extension_board_scan'
Makefile:1754: recipe for target 'u-boot' failed
make: *** [u-boot] Error 1

I wonder if there are example code for those 3 files that would work for a custom or just beaglebone black board. So that I can start from there. Or a custom board example with the whole file folder "board-support" would be even better.

BTW, AM3358 can boot up with the MLO from an old design. Now I'm trying the linux boot on this new design.

Any comments or ideas are greatly appreciated.

FZ

  • I think I did something incorrect in modifying code in board.cboard.h, and mux.c.

    There are some warnings related to board_ti_get_rev() ... and undefined reference to `board_ti_get_rev'.

    Can you do the modifications step by step to see exactly what/where it breaks, and we can debug from there. It's possible that the SDK v9.1 documentation got a bit out of sync with the source code, so some steps might be slightly different, but we should be able to work through this and figure it out.

    I wonder if there are example code for those 3 files that would work for a custom or just beaglebone black board. So that I can start from there. Or a custom board example with the whole file folder "board-support" would be even better.

    If your goal is to just get this working what I would probably do is to simply use board/ti/am335x/* and everything related (defconfigs, header files, etc.) and trim those down/customize to what you need. This is a simple but almost bullet-proof approach to iterate and get things working. However the disadvantage is that it will be more work migrating to a new version of U-Boot down the road.

    Regards, Andreas

  • Hi Andreas,

    Thank you for the suggestions. I did make one build through with no errors by doing the minimum modification in those 3 files. I'll try to remove the EEPROM board detection and PMIC interface and leave the beaglebone black settings as much as possible.

    So far, I guess board_is_bone_lt() is to confirm the board is beaglebone black.

    Regards,

    FZ

  • I'll try to remove the EEPROM board detection and PMIC interface

    Also if you have any specific issue with AM335x board port please also try searching the E2E here. There's a ton of contents around this topic, given the device has been around for a while.

    Regards, Andreas

  • Thank you for the suggestion. I did create a microSD card with an older version SDK by following the steps here:

    https://software-dl.ti.com/processor-sdk-linux-rt/esd/AM335X/09_01_00_001/exports/docs/linux/How_to_Guides/Target/How_to_Program_Beaglebone_Black_eMMC_via_SD_Card.html

    The new board can bootup successfully with only one USB port issue. I think it's good for hardware testing as for now. Then I tried to flash the eMMC memory on board, which is the same settings as Beaglebone black, by following the steps here:

    https://software-dl.ti.com/processor-sdk-linux-rt/esd/AM335X/09_01_00_001/exports/docs/linux/How_to_Guides/Target/How_to_Program_Beaglebone_Black_eMMC_via_SD_Card.html

    The script completed fine but when powerup the board was stuck in U-boot with "=>" on the serial terminal after searching through different sources (MMC card, Ethernet, ... etc).

    I tried the same steps with the same card on the Beaglebone black board. It showed the same results. It seems like the on-board eMMC flash was formatted, partitioned, and u-boot files copied but somehow the kernel or root file directory was corrupted.

    I saw three steps in flashing the SD card: U-boot, kernel and root files. But in the sd-card-flasher.sh script only two steps.

    Not sure what's missing here. Any suggestion? Thank you.

  • The script completed fine but when powerup the board was stuck in U-boot with "=>" on the serial terminal after searching through different sources (MMC card, Ethernet, ... etc).

    Can you provide the entire log here?

    We need to figure out why U-Boot  can't find/load your Kernel, etc.

    For this, can you do a "env print" command at the U-Boot prompt, and capture the entire output and post it here?

    Also execute and capture the output of the following commands (example)

    => mmc rescan
    => mmc list
    mmc@fa10000: 0 (eMMC)
    mmc@fa00000: 1
    => mmc dev 0
    switch to partitions #0, OK
    mmc0(part 0) is current device
    => mmc part
    
    Partition Map for MMC device 0  --   Partition Type: DOS
    
    Part    Start Sector    Num Sectors     UUID            Type
      1     2048            32768           015bb5bf-01     0e Boot
      2     34816           62126080        015bb5bf-02     83
    

    Regards, Andreas

  • Here are the logs with above mentioned commands ran from the board during flashing emmc (might be some issues here but seems some files copied) and then bootup:


    root@am335x-evm:~# ls
    MLO                                   root                                  tisdk-rootfs-image-am335x-evm.tar.xz
    boot                                  sd-card-flasher.sh                    u-boot.img
    root@am335x-evm:~# ./sd-card-flasher.sh
    Starting eMMC Flashing Script...
    
    Partitioning eMMC
    Do you want to continue [y/n]? y
    
    
    Welcome to fdisk (util-linux 2.28.1).
    Changes will remain in memory only, until you decide to write them.
    Be careful before using the write command.
    
    
    Command (m for help): Created a new DOS disklabel with disk identifier 0xa09e5be1.
    
    Command (m for help): Disk /dev/mmcblk1: 3.5 GiB, 3791650816 bytes, 7405568 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0xa09e5be1
    
    Command (m for help): Partition type
       p   primary (0 primary, 0 extended, 4 free)
       e   extended (container for logical partitions)
    Select (default p): Partition number (1-4, default 1): First sector (2048-7405567, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-7405567, default 7405567):
    Created a new partition 1 of type 'Linux' and of size 16 MiB.
    
    Command (m for help): y: unknown command
    
    Command (m for help):
    Selected partition 1
    Partition type (type L to list all types): Changed type of partition 'Linux' to 'W95 FAT16 (LBA)'.
    
    Command (m for help): Selected partition 1
    The bootable flag on partition 1 is enabled now.
    
    Command (m for help): Partition type
       p   primary (1 primary, 0 extended, 3 free)
       e   extended (container for logical partitions)
    Select (default p): Partition number (2-4, default 2): First sector (34816-7405567, default 34816): Last sector, +sectors or +size{K,M,G,T,P} (34816-7405567, default 7405567):
    Created a new partition 2 of type 'Linux' and of size 3.5 GiB.
    
    Command (m for help): y: unknown command
    
    Command (m for help):
    Disk /dev/mmcblk1: 3.5 GiB, 3791650816 bytes, 7405568 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0xa09e5be1
    
    Device         Boot Start     End Sectors  Size Id Type
    /dev/mmcblk1p1 *     2048   34815   32768   16M  e W95 FAT16 (LBA)
    /dev/mmcblk1p2      34816 7405567 7370752  3.5G 83 Linux
    
    Command (m for help): The partition table has been altered.
    Calling ioctl() to re-read partition table.
    Re-reading the partition table failed.: Device or resource busy
    
    The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).
    
    Formatting first partition
    mkfs.fat 4.0 (2016-05-06)
    
    Formatting second partition
    
    mke2fs 1.43 (17-May-2016)
    /dev/mmcblk1p2 contains a ext4 file system
            last mounted on /home/root/root on Sat Dec 23 13:46:02 2017
    Proceed anyway? (y,n) y
    Discarding device blocks: done
    Creating filesystem with 921344 4k blocks and 230608 inodes
    Filesystem UUID: dd825750-5ceb-43ca-a54c-8c4d15c4db74
    Superblock backups stored on blocks:
            32768, 98304, 163840, 229376, 294912, 819200, 884736
    
    Allocating group tables: done
    Writing inode tables: done
    Creating journal (16384 blocks): done
    Writing superblocks and filesystem accounting information: done
    
    Copying boot partition
    mkdir: can't create directory '/home/root/boot': File exists
    
    MLO copied
    
    u-boot.img copied
    
    Copying rootfs partition
    Will take minutes...
    
    mkdir: can't create directory '/home/root/root': File exists
    [  155.680554] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [  273.127634] mmcqd/1: page allocation failure: order:2, mode:0x208c020(GFP_ATOMIC|__GFP_COMP|__GFP_ZERO)
    [  273.146720] CPU: 0 PID: 66 Comm: mmcqd/1 Tainted: G        W  O    4.9.59-ga75d8e9305 #4
    [  273.168371] Hardware name: Generic AM33XX (Flattened Device Tree)
    [  273.182961] Backtrace:
    [  273.185484] [<c010b790>] (dump_backtrace) from [<c010ba4c>] (show_stack+0x18/0x1c)
    [  273.206263]  r7:00000000 r6:c0c13e00 r5:0208c020 r4:00000000
    [  273.212007] [<c010ba34>] (show_stack) from [<c03c0b74>] (dump_stack+0x24/0x28)
    [  273.235847] [<c03c0b50>] (dump_stack) from [<c01c32d8>] (warn_alloc+0x100/0x114)
    [  273.252918] [<c01c31dc>] (warn_alloc) from [<c01c36b0>] (__alloc_pages_nodemask+0x320/0xbdc)
    [  273.261413]  r3:00000000 r2:00000002 r1:c0998a10
    [  273.282871]  r4:dc514000
    [  273.285471] [<c01c3390>] (__alloc_pages_nodemask) from [<c01ddd80>] (kmalloc_order+0x20/0x3c)
    [  273.307860]  r10:dc190218 r9:00000001 r8:00000000 r7:dc4e3cfc r6:02088020 r5:dc50c000
    [  273.325446]  r4:000000d7
    [  273.328038] [<c01ddd60>] (kmalloc_order) from [<c0202a4c>] (__kmalloc+0x15c/0x1b0)
    [  273.349989] [<c02028f0>] (__kmalloc) from [<c045d330>] (edma_prep_slave_sg+0x9c/0x35c)
    [  273.368444]  r7:dc4e3cfc r6:dc4e3c2c r5:dc50c000 r4:000000d7
    [  273.382942] [<c045d294>] (edma_prep_slave_sg) from [<c0635020>] (omap_hsmmc_request+0x450/0x61c)
    [  273.391789]  r10:dc50cd60 r9:c045d294 r8:00000000 r7:dc4e3cfc r6:dc4e3c2c r5:dc190218
    [  273.420413]  r4:dc4e2400
    [  273.427760] [<c0634bd0>] (omap_hsmmc_request) from [<c061c364>] (__mmc_start_request+0x5c/0xe8)
    [  273.448108]  r10:dc515ea4 r9:dc4e3c48 r8:dc4e3e70 r7:dc4e3d44 r6:dc4e3c2c r5:dc4e2400
    [  273.465625]  r4:dc4e2400
    [  273.468213] [<c061c308>] (__mmc_start_request) from [<c061c6c0>] (mmc_start_request+0xf8/0x120)
    [  273.491832]  r9:dc4e3c48 r8:dc4e3e70 r7:dc4e3d44 r6:dc4e3c2c r5:dc4e2400 r4:dc4e3c2c
    [  273.509408] [<c061c5c8>] (mmc_start_request) from [<c061dc58>] (mmc_start_req+0x2fc/0x488)
    [  273.528874]  r5:00000001 r4:dc4e2400
    [  273.532515] [<c061d95c>] (mmc_start_req) from [<c062e0b0>] (mmc_blk_issue_rw_rq+0xb8/0xb70)
    [  273.556211]  r10:ce449910 r9:dc4e3c00 r8:dc514000 r7:dc4e3c08 r6:dc21f000 r5:dc4e3c28
    [  273.574587]  r4:ce449910
    [  273.577178] [<c062dff8>] (mmc_blk_issue_rw_rq) from [<c062f694>] (mmc_blk_issue_rq+0x178/0x59c)
    [  273.599942]  r10:dc4e2400 r9:dc4e3c00 r8:dc514000 r7:dc4e3c00 r6:ce449910 r5:dc4e3c08
    [  273.621963]  r4:dc21f000
    [  273.630886] [<c062f51c>] (mmc_blk_issue_rq) from [<c062fbb4>] (mmc_queue_thread+0xfc/0x1a4)
    [  273.650777]  r10:ce449910 r9:dc4e3c08 r8:dc514000 r7:00000000 r6:00000000 r5:00000000
    [  273.669129]  r4:00000001
    [  273.671732] [<c062fab8>] (mmc_queue_thread) from [<c01483e4>] (kthread+0xf8/0x110)
    [  273.692885]  r10:00000000 r9:00000000 r8:c062fab8 r7:dc4e3c08 r6:dc514000 r5:dc4d91c0
    [  273.700768]  r4:00000000
    [  273.716580] [<c01482ec>] (kthread) from [<c0107d38>] (ret_from_fork+0x14/0x3c)
    [  273.732894]  r8:00000000 r7:00000000 r6:00000000 r5:c01482ec r4:dc4d91c0
    [  273.739642] Mem-Info:
    [  273.741934] active_anon:4160 inactive_anon:2112 isolated_anon:0
    [  273.741934]  active_file:8080 inactive_file:99607 isolated_file:0
    [  273.741934]  unevictable:0 dirty:7034 writeback:2959 unstable:0
    [  273.741934]  slab_reclaimable:8048 slab_unreclaimable:2205
    [  273.741934]  mapped:4370 shmem:2439 pagetables:143 bounce:0
    [  273.741934]  free:1158 free_pcp:102 free_cma:0
    [  273.829597] Node 0 active_anon:16640kB inactive_anon:8448kB active_file:32320kB inactive_file:398764kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:17504kB dirty:28332kB writeback:11836kB shmem:9756kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no
    [  273.882184] Normal free:4260kB min:2704kB low:3380kB high:4056kB active_anon:16640kB inactive_anon:8448kB active_file:32320kB inactive_file:398988kB unevictable:0kB writepending:40260kB present:524288kB managed:508144kB mlocked:0kB slab_reclaimable:32192kB slab_unreclaimable:8820kB kernel_stack:976kB pagetables:572kB bounce:0kB free_pcp:232kB local_pcp:232kB free_cma:0kB
    [  273.950195] lowmem_reserve[]: 0 0 0
    [  273.957403] Normal: 755*4kB (UME) 40*8kB (UE) 2*16kB (E) 4*32kB (ME) 2*64kB (E) 3*128kB (M) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB = 4012kB
    110348 total pagecache pages
    [  273.996870] 0 pages in swap cache
    [  274.000220] Swap cache stats: add 0, delete 0, find 0/0
    [  274.016383] Free swap  = 0kB
    [  274.019293] Total swap = 0kB
    [  274.029925] 131072 pages RAM
    [  274.038346] 0 pages HighMem/MovableOnly
    [  274.042216] 4036 pages reserved
    [  274.055042] 12288 pages cma reserved
    [  274.058667] omap_hsmmc 481d8000.mmc: prep_slave_sg() failed
    [  274.077861] omap_hsmmc 481d8000.mmc: MMC start dma failure
    [  274.093884] mmcblk1: unknown error -1 sending read/write command, card status 0x900
    [  297.365085] mmcqd/1: page allocation failure: order:2, mode:0x208c020(GFP_ATOMIC|__GFP_COMP|__GFP_ZERO)
    [  297.384370] CPU: 0 PID: 66 Comm: mmcqd/1 Tainted: G        W  O    4.9.59-ga75d8e9305 #4
    [  297.405472] Hardware name: Generic AM33XX (Flattened Device Tree)
    [  297.411618] Backtrace:
    [  297.423172] [<c010b790>] (dump_backtrace) from [<c010ba4c>] (show_stack+0x18/0x1c)
    [  297.430782]  r7:00000000 r6:c0c13e00 r5:0208c020 r4:00000000
    [  297.455653] [<c010ba34>] (show_stack) from [<c03c0b74>] (dump_stack+0x24/0x28)
    [  297.472514] [<c03c0b50>] (dump_stack) from [<c01c32d8>] (warn_alloc+0x100/0x114)
    [  297.489829] [<c01c31dc>] (warn_alloc) from [<c01c36b0>] (__alloc_pages_nodemask+0x320/0xbdc)
    [  297.508330]  r3:00000000 r2:00000002 r1:c0998a10
    [  297.520651]  r4:dc514000
    [  297.526630] [<c01c3390>] (__alloc_pages_nodemask) from [<c01ddd80>] (kmalloc_order+0x20/0x3c)
    [  297.541749]  r10:dc190218 r9:00000001 r8:00000000 r7:dc4e3e28 r6:02088020 r5:dc510000
    [  297.561515]  r4:000000ee
    [  297.567886] [<c01ddd60>] (kmalloc_order) from [<c0202a4c>] (__kmalloc+0x15c/0x1b0)
    [  297.585459] [<c02028f0>] (__kmalloc) from [<c045d330>] (edma_prep_slave_sg+0x9c/0x35c)
    [  297.602890]  r7:dc4e3e28 r6:dc4e3d58 r5:dc510000 r4:000000ee
    [  297.608626] [<c045d294>] (edma_prep_slave_sg) from [<c0635020>] (omap_hsmmc_request+0x450/0x61c)
    [  297.636225]  r10:dc510ed0 r9:c045d294 r8:00000000 r7:dc4e3e28 r6:dc4e3d58 r5:dc190218
    [  297.652890]  r4:dc4e2400
    [  297.655481] [<c0634bd0>] (omap_hsmmc_request) from [<c061c364>] (__mmc_start_request+0x5c/0xe8)
    [  297.680139]  r10:dc515ea4 r9:dc4e3d74 r8:dc4e3d44 r7:dc4e3e70 r6:dc4e3d58 r5:dc4e2400
    [  297.698541]  r4:dc4e2400
    [  297.704765] [<c061c308>] (__mmc_start_request) from [<c061c6c0>] (mmc_start_request+0xf8/0x120)
    [  297.725706]  r9:dc4e3d74 r8:dc4e3d44 r7:dc4e3e70 r6:dc4e3d58 r5:dc4e2400 r4:dc4e3d58
    [  297.742930] [<c061c5c8>] (mmc_start_request) from [<c061dc58>] (mmc_start_req+0x2fc/0x488)
    [  297.751247]  r5:00000001 r4:dc4e2400
    [  297.770122] [<c061d95c>] (mmc_start_req) from [<c062e0b0>] (mmc_blk_issue_rw_rq+0xb8/0xb70)
    [  297.788760]  r10:dacad740 r9:dc4e3c00 r8:dc514000 r7:dc4e3c08 r6:dc21f000 r5:dc4e3d54
    [  297.806744]  r4:dacad740
    [  297.809337] [<c062dff8>] (mmc_blk_issue_rw_rq) from [<c062f694>] (mmc_blk_issue_rq+0x178/0x59c)
    [  297.832889]  r10:dc4e2400 r9:dc4e3c00 r8:dc514000 r7:dc4e3c00 r6:dacad740 r5:dc4e3c08
    [  297.851206]  r4:dc21f000
    [  297.859631] [<c062f51c>] (mmc_blk_issue_rq) from [<c062fbb4>] (mmc_queue_thread+0xfc/0x1a4)
    [  297.879579]  r10:dacad740 r9:dc4e3c08 r8:dc514000 r7:00000000 r6:00000000 r5:00000000
    [  297.897399]  r4:00000001
    [  297.900004] [<c062fab8>] (mmc_queue_thread) from [<c01483e4>] (kthread+0xf8/0x110)
    [  297.921046]  r10:00000000 r9:00000000 r8:c062fab8 r7:dc4e3c08 r6:dc514000 r5:dc4d91c0
    [  297.939100]  r4:00000000
    [  297.941701] [<c01482ec>] (kthread) from [<c0107d38>] (ret_from_fork+0x14/0x3c)
    [  297.962013]  r8:00000000 r7:00000000 r6:00000000 r5:c01482ec r4:dc4d91c0
    [  297.979544] Mem-Info:
    [  297.981866] active_anon:4161 inactive_anon:2112 isolated_anon:0
    [  297.981866]  active_file:7159 inactive_file:102063 isolated_file:0
    [  297.981866]  unevictable:0 dirty:2066 writeback:8915 unstable:0
    [  297.981866]  slab_reclaimable:6548 slab_unreclaimable:2253
    [  297.981866]  mapped:4393 shmem:2440 pagetables:143 bounce:0
    [  297.981866]  free:1108 free_pcp:71 free_cma:0
    [  298.057711] Node 0 active_anon:16648kB inactive_anon:8448kB active_file:28636kB inactive_file:408416kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:17576kB dirty:8448kB writeback:35660kB shmem:9764kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no
    [  298.110385] Normal free:7780kB min:2704kB low:3380kB high:4056kB active_anon:12548kB inactive_anon:8448kB active_file:28636kB inactive_file:408584kB unevictable:0kB writepending:44228kB present:524288kB managed:508144kB mlocked:0kB slab_reclaimable:26192kB slab_unreclaimable:9012kB kernel_stack:976kB pagetables:568kB bounce:0kB free_pcp:724kB local_pcp:724kB free_cma:1196kB
    [  298.180089] lowmem_reserve[]: 0 0 0
    [  298.187084] Normal: 1383*4kB (UMEC) 165*8kB (MEC) 8*16kB (M) 5*32kB (M) 4*64kB (M) 3*128kB (M) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB = 7780kB
    111829 total pagecache pages
    [  298.212681] 0 pages in swap cache
    [  298.232899] Swap cache stats: add 0, delete 0, find 0/0
    [  298.238166] Free swap  = 0kB
    [  298.241054] Total swap = 0kB
    [  298.260393] 131072 pages RAM
    [  298.268528] 0 pages HighMem/MovableOnly
    [  298.272397] 4036 pages reserved
    [  298.286689] 12288 pages cma reserved
    [  298.290314] omap_hsmmc 481d8000.mmc: prep_slave_sg() failed
    [  298.308478] omap_hsmmc 481d8000.mmc: MMC start dma failure
    [  298.324004] mmcblk1: unknown error -1 sending read/write command, card status 0x900
    
    eMMC Flash complete! Please reboot EVM from eMMC
    
    root@am335x-evm:~#

    emmc bootup log:

    U-Boot SPL 2017.01 (Apr 24 2024 - 12:09:42)
    Trying to boot from MMC2
    Card did not respond to voltage select!
    ** Bad device mmc 0 **
    Using default environment
    
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2017.01 (Apr 24 2024 - 12:09:42 -0400)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x BeagleBone Black
    DRAM:  512 MiB
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    MMC: no card present
    ** Bad device mmc 0 **
    Using default environment
    
    <ethaddr> not set. Validating first E-fuse MAC
    Net:   cpsw, usb_ether
    Hit any key to stop autoboot:  0
    MMC: no card present
    MMC: no card present
    MMC: no card present
    MMC: no card present
    MMC: no card present
    MMC: no card present
    ## Error: "bootcmd_nand0" not defined
    starting USB...
    USB0:   Port not available.
    cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 14:7f:0f:c3:5a:54
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    ERROR: The remote end did not respond in time.
    at drivers/usb/gadget/ether.c:2426/_usb_eth_init()
    missing environment variable: pxeuuid
    Retrieving file: pxelinux.cfg/01-14-7f-0f-c3-5a-54
    cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 14:7f:0f:c3:5a:54
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    ERROR: The remote end did not respond in time.
    at drivers/usb/gadget/ether.c:2426/_usb_eth_init()
    Retrieving file: pxelinux.cfg/00000000
    cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 14:7f:0f:c3:5a:54
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    ERROR: The remote end did not respond in time.
    at drivers/usb/gadget/ether.c:2426/_usb_eth_init()
    Retrieving file: pxelinux.cfg/0000000
    cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 14:7f:0f:c3:5a:54
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    ERROR: The remote end did not respond in time.
    at drivers/usb/gadget/ether.c:2426/_usb_eth_init()
    Retrieving file: pxelinux.cfg/000000
    cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 14:7f:0f:c3:5a:54
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    ERROR: The remote end did not respond in time.
    at drivers/usb/gadget/ether.c:2426/_usb_eth_init()
    Retrieving file: pxelinux.cfg/00000
    cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 14:7f:0f:c3:5a:54
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    ERROR: The remote end did not respond in time.
    at drivers/usb/gadget/ether.c:2426/_usb_eth_init()
    Retrieving file: pxelinux.cfg/0000
    cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 14:7f:0f:c3:5a:54
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    ERROR: The remote end did not respond in time.
    at drivers/usb/gadget/ether.c:2426/_usb_eth_init()
    Retrieving file: pxelinux.cfg/000
    cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 14:7f:0f:c3:5a:54
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    ERROR: The remote end did not respond in time.
    at drivers/usb/gadget/ether.c:2426/_usb_eth_init()
    Retrieving file: pxelinux.cfg/00
    cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 14:7f:0f:c3:5a:54
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    ERROR: The remote end did not respond in time.
    at drivers/usb/gadget/ether.c:2426/_usb_eth_init()
    Retrieving file: pxelinux.cfg/0
    cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 14:7f:0f:c3:5a:54
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    ERROR: The remote end did not respond in time.
    at drivers/usb/gadget/ether.c:2426/_usb_eth_init()
    Retrieving file: pxelinux.cfg/default-arm-am33xx
    cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 14:7f:0f:c3:5a:54
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    ERROR: The remote end did not respond in time.
    at drivers/usb/gadget/ether.c:2426/_usb_eth_init()
    Retrieving file: pxelinux.cfg/default-arm
    cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 14:7f:0f:c3:5a:54
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    ERROR: The remote end did not respond in time.
    at drivers/usb/gadget/ether.c:2426/_usb_eth_init()
    Retrieving file: pxelinux.cfg/default
    cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 14:7f:0f:c3:5a:54
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    ERROR: The remote end did not respond in time.
    at drivers/usb/gadget/ether.c:2426/_usb_eth_init()
    Config file not found
    starting USB...
    USB0:   Port not available.
    cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 14:7f:0f:c3:5a:54
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    ERROR: The remote end did not respond in time.
    at drivers/usb/gadget/ether.c:2426/_usb_eth_init()
    cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 14:7f:0f:c3:5a:54
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    ERROR: The remote end did not respond in time.
    at drivers/usb/gadget/ether.c:2426/_usb_eth_init()
    => env print
    

    commands logs:

    => env print
    arch=arm
    args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
    baudrate=115200
    board=am335x
    boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
    boot_efi_binary=load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootarm.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi
    boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
    boot_fdt=try
    boot_fit=0
    boot_net_usb_start=usb start
    boot_prefixes=/ /boot/
    boot_script_dhcp=boot.scr.uimg
    boot_scripts=boot.scr.uimg boot.scr
    boot_targets=mmc0 legacy_mmc0 mmc1 legacy_mmc1 nand0 pxe dhcp
    bootcmd=if test ${boot_fit} -eq 1; then run update_to_fit;fi;run findfdt; run init_console; run envboot; run distro_bootcmd
    bootcmd_dhcp=run boot_net_usb_start; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; if test -z "${fdtfile}" -a -n "${soc}"; then setenv efi_fdtfile ${soc}-${board}${boardver}.dtb; fi; setenv efi_old_vci ${bootp_vci};setenv efi_old_arch ${bootp_arch};setenv bootp_vci PXEClient:Arch:00010:UNDI:003000;setenv bootp_arch 0xa;if dhcp ${kernel_addr_r}; then tftpboot ${fdt_addr_r} dtb/${efi_fdtfile};if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r}; else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi;fi;setenv bootp_vci ${efi_old_vci};setenv bootp_arch ${efi_old_arch};setenv efi_fdtfile;setenv efi_old_arch;setenv efi_old_vci;
    bootcmd_legacy_mmc0=setenv mmcdev 0; setenv bootpart 0:2 ; run mmcboot
    bootcmd_legacy_mmc1=setenv mmcdev 1; setenv bootpart 1:2 ; run mmcboot
    bootcmd_mmc0=setenv devnum 0; run mmc_boot
    bootcmd_mmc1=setenv devnum 1; run mmc_boot
    bootcmd_nand=run nandboot
    bootcmd_pxe=run boot_net_usb_start; dhcp; if pxe get; then pxe boot; fi
    bootdelay=2
    bootdir=/boot
    bootenvfile=uEnv.txt
    bootfile=zImage
    bootm_size=0x10000000
    bootpart=1:2
    bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
    console=ttyO0,115200n8
    cpu=armv7
    devnum=1
    devtype=mmc
    dfu_alt_info_emmc=rawemmc raw 0 3751936
    dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x100;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;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_nand=SPL part 0 1;SPL.backup1 part 0 2;SPL.backup2 part 0 3;SPL.backup3 part 0 4;u-boot part 0 5;u-boot-spl-os part 0 6;kernel part 0 8;rootfs part 0 9
    dfu_alt_info_ram=kernel ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ramdisk ram 0x81000000 0x4000000
    distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
    efi_dtb_prefixes=/ /dtb/ /dtb/current/
    envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;fi;fi;
    eth1addr=14:7f:0f:c3:5a:56
    ethact=cpsw
    ethaddr=14:7f:0f:c3:5a:54
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtcontroladdr=9df294f8
    fdtfile=am335x-boneblack.dtb
    findfdt=if test $board_name = A335BONE; then setenv fdtfile am335x-boneblack.dtb; fi; if test $board_name = A335BNLT; then setenv fdtfile am335x-boneblack.dtb; fi; if test $board_name = BBG1; then setenv fdtfile am335x-boneblack.dtb; fi; if test $board_name = A33515BB; then setenv fdtfile am335x-boneblack.dtb; fi; if test $board_name = A335X_SK; then setenv fdtfile am335x-boneblack.dtb; fi; if test $board_name = A335_ICE; then setenv fdtfile am335x-boneblack.dtb; fi; if test $fdtfile = undefined; then echo WARNING: Could not determine device tree to use; fi;
    finduuid=part uuid mmc ${bootpart} uuid
    fit_bootfile=fitImage
    fit_loadaddr=0x87000000
    importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
    init_console=if test $board_name = A335_ICE; then setenv console ttyO0,115200n8;else setenv console ttyO0,115200n8;fi;
    kernel_addr_r=0x82000000
    load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}
    loadaddr=0x82000000
    loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
    loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr
    loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
    loadfit=run args_mmc; bootm ${loadaddr}#${fdtfile};
    loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
    loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz
    mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi
    mmcboot=mmc dev ${mmcdev}; setenv devnum ${mmcdev}; setenv devtype mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then if test ${boot_fit} -eq 1; then run loadfit; else run mmcloados;fi;fi;fi;
    mmcdev=1
    mmcloados=run args_mmc; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
    mmcrootfstype=ext4 rootwait
    mtdids=nand0=nand.0
    mtdparts=mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),128k(NAND.SPL.backup2),128k(NAND.SPL.backup3),256k(NAND.u-boot-spl-os),1m(NAND.u-boot),128k(NAND.u-boot-env),128k(NAND.u-boot-env.backup1),8m(NAND.kernel),-(NAND.file-system)
    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,2048
    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; run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr}
    netloadfdt=tftp ${fdtaddr} ${fdtfile}
    netloadimage=tftp ${loadaddr} ${bootfile}
    nfsopts=nolock
    partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}
    pxefile_addr_r=0x80100000
    ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype}
    ramboot=echo Booting from ramdisk ...; run ramargs; bootz ${loadaddr} ${rdaddr} ${fdtaddr}
    ramdisk_addr_r=0x88080000
    ramroot=/dev/ram0 rw
    ramrootfstype=ext2
    rdaddr=0x88080000
    rootpath=/export/rootfs
    scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi;
    scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
    scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; if test -z "${fdtfile}" -a -n "${soc}"; then setenv efi_fdtfile ${soc}-${board}${boardver}.dtb; fi; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${efi_fdtfile}; then run load_efi_dtb; fi;done;if test -e ${devtype} ${devnum}:${distro_bootpart} efi/boot/bootarm.efi; then echo Found EFI removable media binary efi/boot/bootarm.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; setenv efi_fdtfile
    scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
    scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
    scriptaddr=0x80000000
    soc=am33xx
    spiargs=setenv bootargs console=${console} ${optargs} root=${spiroot} rootfstype=${spirootfstype}
    spiboot=echo Booting from spi ...; run spiargs; sf probe ${spibusno}:0; sf read ${loadaddr} ${spisrcaddr} ${spiimgsize}; bootz ${loadaddr}
    spibusno=0
    spiimgsize=0x362000
    spiroot=/dev/mtdblock4 rw
    spirootfstype=jffs2
    spisrcaddr=0xe0000
    static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
    stderr=serial@44e09000
    stdin=serial@44e09000
    stdout=serial@44e09000
    update_to_fit=setenv loadaddr ${fit_loadaddr}; setenv bootfile ${fit_bootfile}
    usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
    usbnet_devaddr=14:7f:0f:c3:5a:54
    vendor=ti
    ver=U-Boot 2017.01 (Apr 24 2024 - 12:09:42 -0400)
    
    Environment size: 9109/131068 bytes
    
    Seems "code insert" does not like the "env print" log. If needed I can send you a zip file.

    => mmc rescan
    MMC: no card present
    => mmc list
    OMAP SD/MMC: 0
    OMAP SD/MMC: 1
    => mmc dev1
    mmc - MMC sub system
    
    Usage:
    mmc info - display info of the current MMC device
    mmc read addr blk# cnt
    mmc write addr blk# cnt
    mmc erase blk# cnt
    mmc rescan
    mmc part - lists available partition on current mmc device
    mmc dev [dev] [part] - show or set current mmc device [partition]
    mmc list - lists available devices
    mmc hwpartition [args...] - does hardware partitioning
      arguments (sizes in 512-byte blocks):
        [user [enh start cnt] [wrrel {on|off}]] - sets user data area attributes
        [gp1|gp2|gp3|gp4 cnt [enh] [wrrel {on|off}]] - general purpose partition
        [check|set|complete] - mode, complete set partitioning completed
      WARNING: Partitioning is a write-once setting once it is set to complete.
      Power cycling is required to initialize partitions after set to complete.
    mmc setdsr <value> - set DSR register value
    
    => mmc part
    MMC: no card present
    =>

    Here are logs from beaglebond black using the the microSD card.

    root@am335x-evm:~# ls
    sd-card-flasher.sh                    tisdk-rootfs-image-am335x-evm.tar.xz
    root@am335x-evm:~# ./sd-card-flasher.sh
    Starting eMMC Flashing Script...
    
    Partitioning eMMC
    Do you want to continue [y/n]? y
    
    
    Welcome to fdisk (util-linux 2.28.1).
    Changes will remain in memory only, until you decide to write them.
    Be careful before using the write command.
    
    
    Command (m for help): Created a new DOS disklabel with disk identifier 0xd9c7687f.
    
    Command (m for help): Disk /dev/mmcblk1: 3.6 GiB, 3825205248 bytes, 7471104 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0xd9c7687f
    
    Command (m for help): Partition type
       p   primary (0 primary, 0 extended, 4 free)
       e   extended (container for logical partitions)
    Select (default p): Partition number (1-4, default 1): First sector (2048-7471103, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-7471103, default 7471103):
    Created a new partition 1 of type 'Linux' and of size 16 MiB.
    
    Command (m for help): y: unknown command
    
    Command (m for help):
    Selected partition 1
    Partition type (type L to list all types): Changed type of partition 'Linux' to 'W95 FAT16 (LBA)'.
    
    Command (m for help): Selected partition 1
    The bootable flag on partition 1 is enabled now.
    
    Command (m for help): Partition type
       p   primary (1 primary, 0 extended, 3 free)
       e   extended (container for logical partitions)
    Select (default p): Partition number (2-4, default 2): First sector (34816-7471103, default 34816): Last sector, +sectors or +size{K,M,G,T,P} (34816-7471103, default 7471103):
    Created a new partition 2 of type 'Linux' and of size 3.6 GiB.
    
    Command (m for help): y: unknown command
    
    Command (m for help):
    Disk /dev/mmcblk1: 3.6 GiB, 3825205248 bytes, 7471104 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0xd9c7687f
    
    Device         Boot Start     End Sectors  Size Id Type
    /dev/mmcblk1p1 *     2048   34815   32768   16M  e W95 FAT16 (LBA)
    /dev/mmcblk1p2      34816 7471103 7436288  3.6G 83 Linux
    
    Command (m for help): The partition table has been altered.
    Calling ioctl() to re-read partition table.
    Re-reading the partition table failed.: Device or resource busy
    
    The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).
    
    Formatting first partition
    mkfs.fat 4.0 (2016-05-06)
    
    Formatting second partition
    
    umount: /dev/mmcblk1p2: mountpoint not found
    mke2fs 1.43 (17-May-2016)
    The file /dev/mmcblk1p2 does not exist and no size was specified.
    Copying boot partition
    
    MLO copied
    
    u-boot.img copied
    
    Copying rootfs partition
    Will take minutes...
    
    mount: special device /dev/mmcblk1p2 does not exist
    umount: /home/root/root/: not mounted
    
    eMMC Flash complete! Please reboot EVM from eMMC
    
    root@am335x-evm:~#

    U-Boot SPL 2022.04-ge0d31da5 (Aug 04 2023 - 18:48:26 +0000)
    Trying to boot from MMC2
    
    
    U-Boot 2022.04-ge0d31da5 (Aug 04 2023 - 18:48:26 +0000)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x BeagleBone Black
    DRAM:  512 MiB
    Reset Source: Power-on reset has occurred.
    RTC 32KCLK Source: External.
    Core:  150 devices, 14 uclasses, devicetree: separate
    WDT:   Started wdt@44e35000 with servicing (60s timeout)
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from EXT4... Board: BeagleBone Black
    <ethaddr> not set. Validating first E-fuse MAC
    BeagleBone Black:
    BeagleBone Cape EEPROM: no EEPROM at address: 0x54
    BeagleBone Cape EEPROM: no EEPROM at address: 0x55
    BeagleBone Cape EEPROM: no EEPROM at address: 0x56
    BeagleBone Cape EEPROM: no EEPROM at address: 0x57
    Net:   eth2: ethernet@4a100000, eth3: usb_ether
    Press SPACE to abort autoboot in 0 seconds
    board_name=[A335BNLT] ...
    board_rev=[000C] ...
    gpio: pin 56 (gpio 56) value is 0
    gpio: pin 55 (gpio 55) value is 0
    gpio: pin 54 (gpio 54) value is 0
    gpio: pin 53 (gpio 53) value is 1
    switch to partitions #0, OK
    mmc1(part 0) is current device
    gpio: pin 56 (gpio 56) value is 0
    gpio: pin 55 (gpio 55) value is 0
    gpio: pin 54 (gpio 54) value is 0
    gpio: pin 53 (gpio 53) value is 1
    switch to partitions #0, OK
    mmc1(part 0) is current device
    gpio: pin 54 (gpio 54) value is 1
    Checking for: /uEnv.txt ...
    Checking for: /boot/uEnv.txt ...
    ** Invalid partition 3 **
    Couldn't find partition mmc 1:3
    ** Invalid partition 4 **
    Couldn't find partition mmc 1:4
    ** Invalid partition 5 **
    Couldn't find partition mmc 1:5
    ** Invalid partition 6 **
    Couldn't find partition mmc 1:6
    ** Invalid partition 7 **
    Couldn't find partition mmc 1:7
    starting USB...
    Bus usb@47401800: Port not available.
    USB is stopped. Please issue 'usb start' first.
    starting USB...
    Bus usb@47401800: Port not available.
    ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    missing environment variable: pxeuuid
    Retrieving file: pxelinux.cfg/01-68-5e-1c-02-25-18
    ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    Retrieving file: pxelinux.cfg/00000000
    ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    Retrieving file: pxelinux.cfg/0000000
    ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    Retrieving file: pxelinux.cfg/000000
    ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    Retrieving file: pxelinux.cfg/00000
    ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    Retrieving file: pxelinux.cfg/0000
    ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    Retrieving file: pxelinux.cfg/000
    ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    Retrieving file: pxelinux.cfg/00
    ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    Retrieving file: pxelinux.cfg/0
    ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    Retrieving file: pxelinux.cfg/default-arm-am33xx-am335x
    ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    Retrieving file: pxelinux.cfg/default-arm-am33xx
    ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    Retrieving file: pxelinux.cfg/default-arm
    ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    Retrieving file: pxelinux.cfg/default
    ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    Config file not found
    starting USB...
    Bus usb@47401800: Port not available.
    ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    => env print
    

    => env print
    arch=arm
    args_mmc=run finduuid;setenv bootargs console=${console} ${cape_uboot} root=PARTUUID=${uuid} ro rootfstype=${mmcrootfstype} ${uboot_detected_capes} ${cmdline}
    args_mmc_old=setenv bootargs console=${console} ${optargs} ${cape_uboot} root=${oldroot} ro rootfstype=${mmcrootfstype} ${uboot_detected_capes} ${cmdline}
    args_mmc_uuid=setenv bootargs console=${console} ${optargs} ${cape_uboot} root=UUID=${uuid} ro rootfstype=${mmcrootfstype} ${uboot_detected_capes} ${cmdline}
    args_netinstall=setenv bootargs ${netinstall_bootargs} ${optargs} ${cape_uboot} root=/dev/ram rw ${uboot_detected_capes} ${cmdline}
    args_uenv_root=setenv bootargs console=${console} ${optargs} ${cape_uboot} root=${uenv_root} ro rootfstype=${mmcrootfstype} ${uboot_detected_capes} ${cmdline}
    baudrate=115200
    board=am335x
    board_eeprom_header=undefined
    board_name=A335BNLT
    board_rev=000C
    board_serial=3422BBBG0309
    boot=${devtype} dev ${mmcdev}; if ${devtype} rescan; then gpio set 54;setenv bootpart ${mmcdev}:1; if test -e ${devtype} ${bootpart} /etc/fstab; then setenv mmcpart 1;fi; echo Checking for: /uEnv.txt ...;if test -e ${devtype} ${bootpart} /uEnv.txt; then if run loadbootenv; then gpio set 55;echo Loaded environment from /uEnv.txt;run importbootenv;fi;echo Checking if uenvcmd is set ...;if test -n ${uenvcmd}; then gpio set 56;echo Running uenvcmd ...;run uenvcmd;fi;fi; echo Checking for: /boot/uEnv.txt ...;for i in 1 2 3 4 5 6 7 ; do setenv mmcpart ${i};setenv bootpart ${mmcdev}:${mmcpart};if test -e ${devtype} ${bootpart} /boot/uEnv.txt; then gpio set 55;load ${devtype} ${bootpart} ${loadaddr} /boot/uEnv.txt;env import -t ${loadaddr} ${filesize};echo Loaded environment from /boot/uEnv.txt;if test -n ${dtb}; then echo debug: [dtb=${dtb}] ... ;setenv fdtfile ${dtb};echo Using: dtb=${fdtfile} ...;fi;echo Checking if uname_r is set in /boot/uEnv.txt...;if test -n ${uname_r}; then gpio set 56; setenv oldroot /dev/mmcblk${mmcdev}p${mmcpart};echo Running uname_boot ...;run uname_boot;fi;fi;done;fi;
    boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
    boot_efi_binary=load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootarm.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi
    boot_efi_bootmgr=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr;fi
    boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}
    boot_fdt=try
    boot_net_usb_start=usb start
    boot_prefixes=/ /boot/
    boot_script_dhcp=boot.scr.uimg
    boot_scripts=boot.scr.uimg boot.scr
    boot_syslinux_conf=extlinux/extlinux.conf
    boot_targets=mmc0 legacy_mmc0 mmc1 legacy_mmc1 usb0 pxe dhcp
    bootcmd=run findfdt; run init_console; run envboot; run distro_bootcmd
    bootcmd_dhcp=devtype=dhcp; run boot_net_usb_start; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; if test -z "${fdtfile}" -a -n "${soc}"; then setenv efi_fdtfile ${soc}-${board}${boardver}.dtb; fi; setenv efi_old_vci ${bootp_vci};setenv efi_old_arch ${bootp_arch};setenv bootp_vci PXEClient:Arch:00010:UNDI:003000;setenv bootp_arch 0xa;if dhcp ${kernel_addr_r}; then tftpboot ${fdt_addr_r} dtb/${efi_fdtfile};if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r}; else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi;fi;setenv bootp_vci ${efi_old_vci};setenv bootp_arch ${efi_old_arch};setenv efi_fdtfile;setenv efi_old_arch;setenv efi_old_vci;
    bootcmd_legacy_mmc0=gpio clear 56; gpio clear 55; gpio clear 54; gpio set 53; setenv devtype mmc; setenv mmcdev 0; setenv bootpart 0:1 ; run boot
    bootcmd_legacy_mmc1=gpio clear 56; gpio clear 55; gpio clear 54; gpio set 53; setenv devtype mmc; setenv mmcdev 1; setenv bootpart 1:1 ; run boot
    bootcmd_mmc0=devnum=0; run mmc_boot
    bootcmd_mmc1=devnum=1; run mmc_boot
    bootcmd_pxe=run boot_net_usb_start; dhcp; if pxe get; then pxe boot; fi
    bootcmd_usb0=devnum=0; run usb_boot
    bootcount=1
    bootdelay=0
    bootdir=/boot
    bootenv=uEnv.txt
    bootenvfile=uEnv.txt
    bootfile=zImage
    bootm_size=0x10000000
    bootpart=1:7
    bootscript=echo Running bootscript from mmc${bootpart} ...; source ${loadaddr}
    console=ttyS0,115200n8
    cpu=armv7
    devtype=mmc
    dfu_alt_info_emmc=rawemmc raw 0 3751936;boot part 1 1;rootfs part 1 2;MLO fat 1 1;MLO.raw raw 0x100 0x200;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;spl-os-args fat 1 1;spl-os-image fat 1 1;u-boot.img fat 1 1;uEnv.txt fat 1 1
    dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x200;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;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
    distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
    dtboaddr=0x89000000
    eeprom_bbb_header=i2c dev 0; i2c mw 0x50 0x00.2 aa; i2c mw 0x50 0x01.2 55; i2c mw 0x50 0x02.2 33; i2c mw 0x50 0x03.2 ee; i2c mw 0x50 0x04.2 41; i2c mw 0x50 0x05.2 33; i2c mw 0x50 0x06.2 33; i2c mw 0x50 0x07.2 35; i2c mw 0x50 0x08.2 42; i2c mw 0x50 0x09.2 4e; i2c mw 0x50 0x0a.2 4c; i2c mw 0x50 0x0b.2 54;
    eeprom_bbbl_footer= i2c mw 0x50 0x0c.2 42; i2c mw 0x50 0x0d.2 4c; i2c mw 0x50 0x0e.2 41; i2c mw 0x50 0x0f.2 32;
    eeprom_bbbw_footer= i2c mw 0x50 0x0c.2 42; i2c mw 0x50 0x0d.2 57; i2c mw 0x50 0x0e.2 41; i2c mw 0x50 0x0f.2 35;
    eeprom_bbgg_footer= i2c mw 0x50 0x0c.2 47; i2c mw 0x50 0x0d.2 47; i2c mw 0x50 0x0e.2 31; i2c mw 0x50 0x0f.2 41;
    eeprom_beaglelogic= i2c mw 0x50 0x00.2 aa; i2c mw 0x50 0x01.2 55; i2c mw 0x50 0x02.2 33; i2c mw 0x50 0x03.2 ee; i2c mw 0x50 0x04.2 41; i2c mw 0x50 0x05.2 33; i2c mw 0x50 0x06.2 33; i2c mw 0x50 0x07.2 35; i2c mw 0x50 0x08.2 42; i2c mw 0x50 0x09.2 4c; i2c mw 0x50 0x0a.2 47; i2c mw 0x50 0x0b.2 43; i2c mw 0x50 0x0c.2 30; i2c mw 0x50 0x0d.2 30; i2c mw 0x50 0x0e.2 30; i2c mw 0x50 0x0f.2 41;
    eeprom_blank=i2c dev 0; i2c mw 0x50 0x00.2 ff; i2c mw 0x50 0x01.2 ff; i2c mw 0x50 0x02.2 ff; i2c mw 0x50 0x03.2 ff; i2c mw 0x50 0x04.2 ff; i2c mw 0x50 0x05.2 ff; i2c mw 0x50 0x06.2 ff; i2c mw 0x50 0x07.2 ff; i2c mw 0x50 0x08.2 ff; i2c mw 0x50 0x09.2 ff; i2c mw 0x50 0x0a.2 ff; i2c mw 0x50 0x0b.2 ff; i2c mw 0x50 0x0c.2 ff; i2c mw 0x50 0x0d.2 ff; i2c mw 0x50 0x0e.2 ff; i2c mw 0x50 0x0f.2 ff; i2c mw 0x50 0x10.2 ff; i2c mw 0x50 0x11.2 ff; i2c mw 0x50 0x12.2 ff; i2c mw 0x50 0x13.2 ff; i2c mw 0x50 0x14.2 ff; i2c mw 0x50 0x15.2 ff; i2c mw 0x50 0x16.2 ff; i2c mw 0x50 0x17.2 ff; i2c mw 0x50 0x18.2 ff; i2c mw 0x50 0x19.2 ff; i2c mw 0x50 0x1a.2 ff; i2c mw 0x50 0x1b.2 ff; i2c mw 0x50 0x1c.2 ff; i2c mw 0x50 0x1d.2 ff; i2c mw 0x50 0x1e.2 ff; i2c mw 0x50 0x1f.2 ff;
    eeprom_dump=i2c dev 0; i2c md 0x50 0x00.2 20;
    eeprom_pocketbeagle= i2c mw 0x50 0x00.2 aa; i2c mw 0x50 0x01.2 55; i2c mw 0x50 0x02.2 33; i2c mw 0x50 0x03.2 ee; i2c mw 0x50 0x04.2 41; i2c mw 0x50 0x05.2 33; i2c mw 0x50 0x06.2 33; i2c mw 0x50 0x07.2 35; i2c mw 0x50 0x08.2 50; i2c mw 0x50 0x09.2 42; i2c mw 0x50 0x0a.2 47; i2c mw 0x50 0x0b.2 4c; i2c mw 0x50 0x0c.2 30; i2c mw 0x50 0x0d.2 30; i2c mw 0x50 0x0e.2 41; i2c mw 0x50 0x0f.2 32;
    eeprom_program=if test $board_eeprom_header = bbb_blank; then run eeprom_dump; run eeprom_blank; run eeprom_bbb_header; run eeprom_dump; reset; fi; if test $board_eeprom_header = bbbl_blank; then run eeprom_dump; run eeprom_blank; run eeprom_bbb_header; run eeprom_bbbl_footer; run eeprom_dump; reset; fi; if test $board_eeprom_header = bbbw_blank; then run eeprom_dump; run eeprom_blank; run eeprom_bbb_header; run eeprom_bbbw_footer; run eeprom_dump; reset; fi; if test $board_eeprom_header = pocketbeagle_blank; then run eeprom_dump; run eeprom_blank; run eeprom_pocketbeagle; run eeprom_dump; reset; fi; if test $board_eeprom_header = bbgg_blank; then run eeprom_dump; run eeprom_blank; run eeprom_bbb_header; run eeprom_bbgg_footer; run eeprom_dump; reset; fi; if test $board_eeprom_header = beaglelogic_blank; then run eeprom_dump; run eeprom_blank; run eeprom_beaglelogic; run eeprom_dump; reset; fi;
    efi_dtb_prefixes=/ /dtb/ /dtb/current/
    envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;fi;fi;
    eth1addr=68:5e:1c:02:25:1a
    eth2addr=68:5e:1c:02:25:18
    eth3addr=de:ad:be:ef:00:01
    ethact=ethernet@4a100000
    ethaddr=68:5e:1c:02:25:18
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtcontroladdr=9df32150
    fdtfile=am335x-boneblack.dtb
    fdtoverlay_addr_r=0x89000000
    findfdt=echo board_name=[$board_name] ...; if test $board_name = A335BLGC; then setenv fdtfile am335x-beaglelogic.dtb; fi; if test $board_name = A335BONE; then setenv fdtfile am335x-bone.dtb; fi; if test $board_name = A335BNLT; then echo board_rev=[$board_rev] ...; if test $board_rev = GH01; then setenv fdtfile am335x-boneblack.dtb; elif test $board_rev = BBG1; then setenv fdtfile am335x-bonegreen.dtb; elif test $board_rev = BP00; then setenv fdtfile am335x-pocketbone.dtb; elif test $board_rev = GW1A; then setenv fdtfile am335x-bonegreen-wireless.dtb; elif test $board_rev = GG1A; then setenv fdtfile am335x-bonegreen-gateway.dtb; elif test $board_rev = AIA0; then setenv fdtfile am335x-abbbi.dtb; elif test $board_rev = EIA0; then setenv fdtfile am335x-boneblack.dtb; elif test $board_rev = ME06; then setenv fdtfile am335x-bonegreen.dtb; elif test $board_rev = OS00; then setenv fdtfile am335x-osd3358-sm-red.dtb; elif test $board_rev = OS01; then setenv fdtfile am335x-osd3358-sm-red-v4.dtb; else setenv fdtfile am335x-boneblack.dtb; fi; fi; if test $board_name = A335PBGL; then setenv fdtfile am335x-pocketbeagle.dtb; fi; if test $board_name = BBBW; then setenv fdtfile am335x-boneblack-wireless.dtb; fi; if test $board_name = BBG1; then setenv fdtfile am335x-bonegreen.dtb; fi; if test $board_name = BBGW; then setenv fdtfile am335x-bonegreen-wireless.dtb; fi; if test $board_name = BBGG; then setenv fdtfile am335x-bonegreen-gateway.dtb; fi; if test $board_name = BBBL; then setenv fdtfile am335x-boneblue.dtb; fi; if test $board_name = BBEN; then setenv fdtfile am335x-sancloud-bbe.dtb; fi; if test $board_name = BBELITE; then setenv fdtfile am335x-sancloud-bbe-lite.dtb; fi; if test $board_name = BBE_EX_WIFI; then setenv fdtfile am335x-sancloud-bbe-extended-wifi.dtb; fi; if test $board_name = OS00; then setenv fdtfile am335x-osd3358-sm-red.dtb; fi; if test $board_name = OS01; then setenv fdtfile am335x-osd3358-sm-red-v4.dtb; fi; if test $board_name = A33515BB; then setenv fdtfile am335x-evm.dtb; fi; if test $board_name = A335X_SK; then setenv fdtfile am335x-evmsk.dtb; fi; if test $board_name = A335_ICE; then setenv fdtfile am335x-icev2.dtb; if test $ice_mii = mii; then setenv pxe_label_override Pruss; fi;fi; if test $fdtfile = undefined; then setenv board_name A335BNLT; setenv board_rev EMMC; setenv fdtfile am335x-bonegreen.dtb; fi;
    finduuid=part uuid ${devtype} ${bootpart} uuid
    ice_mii=mii
    importbootenv=echo Importing environment from ${devtype} ...; env import -t ${loadaddr} ${filesize}
    init_console=if test $board_name = A335_ICE; then setenv console ttyS3,115200n8;elif test $board_name = A335BLGC; then setenv console ttyS4,115200n8;else setenv console ttyS0,115200n8;fi;
    kernel_addr_r=0x82000000
    load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}
    loadaddr=0x82000000
    loadbootenv=load ${devtype} ${bootpart} ${loadaddr} ${bootenvfile}
    loadbootscript=load ${devtype} ${bootpart} ${loadaddr} ${scriptfile};
    loadfdt=echo loading ${fdtdir}/${fdtfile} ...; load ${devtype} ${bootpart} ${fdtaddr} ${fdtdir}/${fdtfile}
    loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
    loadoverlay=echo uboot_overlays: loading ${actual_uboot_overlay} ...; load ${devtype} ${bootpart} ${rdaddr} ${actual_uboot_overlay}; fdt addr ${fdtaddr}; fdt resize ${fdt_buffer}; fdt apply ${rdaddr}; fdt resize ${fdt_buffer};
    loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz
    loadrd=load ${devtype} ${bootpart} ${rdaddr} ${bootdir}/${rdfile}; setenv rdsize ${filesize}
    mmc_boot=if mmc dev ${devnum}; then devtype=mmc; run scan_dev_for_boot_part; fi
    mmcboot=mmc dev ${mmcdev}; devnum=${mmcdev}; devtype=mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then run args_mmc; if test ${boot_fit} -eq 1; then run run_fit; else run mmcloados;fi;fi;fi;
    mmcdev=1
    mmcloados=if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then if test -n ${uname_r}; then bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; else bootz ${loadaddr} - ${fdtaddr}; fi; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
    mmcpart=7
    mmcrootfstype=ext4 rootwait
    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; run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr}
    netloadfdt=tftp ${fdtaddr} ${fdtfile}
    netloadimage=tftp ${loadaddr} ${bootfile}
    nfsopts=nolock
    partitions=uuid_disk=${uuid_gpt_disk};name=bootloader,start=384K,size=1792K,uuid=${uuid_gpt_bootloader};name=rootfs,start=2688K,size=-,uuid=${uuid_gpt_rootfs}
    pxefile_addr_r=0x80100000
    ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype}
    ramboot=echo Booting from ramdisk ...; run ramargs; bootz ${loadaddr} ${rdaddr} ${fdtaddr}
    ramdisk_addr_r=0x88080000
    ramroot=/dev/ram0 rw
    ramrootfstype=ext2
    rdaddr=0x88080000
    rootpath=/export/rootfs
    scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi;
    scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done; setenv devplist
    scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; if test -z "${fdtfile}" -a -n "${soc}"; then setenv efi_fdtfile ${soc}-${board}${boardver}.dtb; fi; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${efi_fdtfile}; then run load_efi_dtb; fi;done;run boot_efi_bootmgr;if test -e ${devtype} ${devnum}:${distro_bootpart} efi/boot/bootarm.efi; then echo Found EFI removable media binary efi/boot/bootarm.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; setenv efi_fdtfile
    scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
    scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
    script=boot.scr
    scriptaddr=0x80000000
    scriptfile=${script}
    serial#=3422BBBG0309
    soc=am33xx
    spiargs=setenv bootargs console=${console} ${optargs} root=${spiroot} rootfstype=${spirootfstype}
    spiboot=echo Booting from spi ...; run spiargs; sf probe ${spibusno}:0; sf read ${loadaddr} ${spisrcaddr} ${spiimgsize}; bootz ${loadaddr}
    spibusno=0
    spiimgsize=0x362000
    spiroot=/dev/mtdblock4 rw
    spirootfstype=jffs2
    spisrcaddr=0xe0000
    static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
    stderr=serial@0
    stdin=serial@0
    stdout=serial@0
    uboot_base_dtb=am335x-boneblack-uboot.dtb
    uboot_base_dtb_univ=am335x-boneblack-uboot-univ.dtb
    uboot_emmc=BB-BONE-eMMC1-01-00A0.dtbo
    uboot_video=BB-HDMI-TDA998x-00A0.dtbo
    uboot_video_naudio=BB-NHDMI-TDA998x-00A0.dtbo
    uname_boot=setenv bootdir /boot; setenv bootfile vmlinuz-${uname_r}; if test -e ${devtype} ${bootpart} ${bootdir}/${bootfile}; then echo loading ${bootdir}/${bootfile} ...; run loadimage;setenv fdtdir /boot/dtbs/${uname_r}; echo debug: [enable_uboot_overlays=${enable_uboot_overlays}] ... ;if test -n ${enable_uboot_overlays}; then echo debug: [enable_uboot_cape_universal=${enable_uboot_cape_universal}] ... ;if test -n ${enable_uboot_cape_universal}; then echo debug: [uboot_base_dtb_univ=${uboot_base_dtb_univ}] ... ;if test -n ${uboot_base_dtb_univ}; then echo uboot_overlays: [uboot_base_dtb=${uboot_base_dtb_univ}] ... ;if test -e ${devtype} ${bootpart} ${fdtdir}/${uboot_base_dtb_univ}; then setenv fdtfile ${uboot_base_dtb_univ};echo uboot_overlays: Switching too: dtb=${fdtfile} ...;setenv cape_uboot bone_capemgr.uboot_capemgr_enabled=1; else echo debug: unable to find [${uboot_base_dtb_univ}] using [${uboot_base_dtb}] instead ... ;echo debug: [uboot_base_dtb_univ=${uboot_base_dtb}] ... ;if test -n ${uboot_base_dtb}; then echo uboot_overlays: [uboot_base_dtb=${uboot_base_dtb}] ... ;if test -e ${devtype} ${bootpart} ${fdtdir}/${uboot_base_dtb}; then setenv fdtfile ${uboot_base_dtb};echo uboot_overlays: Switching too: dtb=${fdtfile} ...;fi;fi;fi;fi;else echo debug: [uboot_base_dtb_univ=${uboot_base_dtb}] ... ;if test -n ${uboot_base_dtb}; then echo uboot_overlays: [uboot_base_dtb=${uboot_base_dtb}] ... ;if test -e ${devtype} ${bootpart} ${fdtdir}/${uboot_base_dtb}; then setenv fdtfile ${uboot_base_dtb};echo uboot_overlays: Switching too: dtb=${fdtfile} ...;fi;fi;fi;fi;if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /usr/lib/linux-image-${uname_r}; if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /lib/firmware/${uname_r}/device-tree; if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot/dtb-${uname_r}; if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot/dtbs; if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot/dtb; if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot; if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else if test -e ${devtype} ${bootpart} ${fdtfile}; then run loadfdt;else echo; echo unable to find [dtb=${fdtfile}] did you name it correctly? ...; run failumsboot;fi;fi;fi;fi;fi;fi;fi;fi; if test -n ${enable_uboot_overlays}; then extension scan;setenv fdt_buffer 0x60000;if test -n ${uboot_fdt_buffer}; then setenv fdt_buffer ${uboot_fdt_buffer};fi;echo uboot_overlays: [fdt_buffer=${fdt_buffer}] ... ;if test -n ${uboot_silicon}; then setenv uboot_overlay ${uboot_silicon}; run virtualloadoverlay;fi;if test -n ${uboot_model}; then setenv uboot_overlay ${uboot_model}; run virtualloadoverlay;fi;if test -n ${disable_uboot_overlay_adc}; then echo uboot_overlays: uboot loading of [BB-ADC-00A0.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_adc=1]...;else setenv uboot_overlay BB-ADC-00A0.dtbo; run virtualloadoverlay;fi;if test -n ${uboot_overlay_addr0}; then if test -n ${disable_uboot_overlay_addr0}; then echo uboot_overlays: uboot loading of [${uboot_overlay_addr0}] disabled by /boot/uEnv.txt [disable_uboot_overlay_addr0=1]...;else setenv uboot_overlay ${uboot_overlay_addr0}; run virtualloadoverlay;fi;fi;if test -n ${uboot_overlay_addr1}; then if test -n ${disable_uboot_overlay_addr1}; then echo uboot_overlays: uboot loading of [${uboot_overlay_addr1}] disabled by /boot/uEnv.txt [disable_uboot_overlay_addr1=1]...;else setenv uboot_overlay ${uboot_overlay_addr1}; run virtualloadoverlay;fi;fi;if test -n ${uboot_overlay_addr2}; then if test -n ${disable_uboot_overlay_addr2}; then echo uboot_overlays: uboot loading of [${uboot_overlay_addr2}] disabled by /boot/uEnv.txt [disable_uboot_overlay_addr2=1]...;else setenv uboot_overlay ${uboot_overlay_addr2}; run virtualloadoverlay;fi;fi;if test -n ${uboot_overlay_addr3}; then if test -n ${disable_uboot_overlay_addr3}; then echo uboot_overlays: uboot loading of [${uboot_overlay_addr3}] disabled by /boot/uEnv.txt [disable_uboot_overlay_addr3=1]...;else setenv uboot_overlay ${uboot_overlay_addr3}; run virtualloadoverlay;fi;fi;if test -n ${uboot_overlay_addr4}; then setenv uboot_overlay ${uboot_overlay_addr4}; run virtualloadoverlay;fi;if test -n ${uboot_overlay_addr5}; then setenv uboot_overlay ${uboot_overlay_addr5}; run virtualloadoverlay;fi;if test -n ${uboot_overlay_addr6}; then setenv uboot_overlay ${uboot_overlay_addr6}; run virtualloadoverlay;fi;if test -n ${uboot_overlay_addr7}; then setenv uboot_overlay ${uboot_overlay_addr7}; run virtualloadoverlay;fi;if test -n ${uboot_emmc}; then if test -n ${disable_uboot_overlay_emmc}; then echo uboot_overlays: uboot loading of [${uboot_emmc}] disabled by /boot/uEnv.txt [disable_uboot_overlay_emmc=1]...;else setenv uboot_overlay ${uboot_emmc}; run virtualloadoverlay;fi;fi;if test -n ${uboot_video}; then if test -n ${disable_uboot_overlay_video}; then echo uboot_overlays: uboot loading of [${uboot_video}] disabled by /boot/uEnv.txt [disable_uboot_overlay_video=1]...;else if test -n ${disable_uboot_overlay_audio}; then echo uboot_overlays: uboot loading of [${uboot_video}] disabled by /boot/uEnv.txt [disable_uboot_overlay_audio=1]...;setenv uboot_overlay ${uboot_video_naudio}; run virtualloadoverlay;else setenv uboot_overlay ${uboot_video}; run virtualloadoverlay;fi;fi;fi;if test -n ${uboot_wireless}; then if test -n ${disable_uboot_overlay_wireless}; then echo uboot_overlays: uboot loading of [${uboot_wireless}] disabled by /boot/uEnv.txt [disable_uboot_overlay_wireless=1]...;else setenv uboot_overlay ${uboot_wireless}; run virtualloadoverlay;fi;fi;if test -n ${uboot_overlay_pru}; then setenv uboot_overlay ${uboot_overlay_pru}; run virtualloadoverlay;fi;if test -n ${uboot_overlay_pru_add}; then setenv uboot_overlay ${uboot_overlay_pru_add}; run virtualloadoverlay;fi;if test -n ${dtb_overlay}; then setenv uboot_overlay ${dtb_overlay}; echo uboot_overlays: [dtb_overlay=${uboot_overlay}] ... ;run virtualloadoverlay;fi;else echo uboot_overlays: add [enable_uboot_overlays=1] to /boot/uEnv.txt to enable...;fi;if test -n ${uboot_detected_capes}; then echo uboot_overlays: [uboot_detected_capes=${uboot_detected_capes_addr0}${uboot_detected_capes_addr1}${uboot_detected_capes_addr2}${uboot_detected_capes_addr3}] ... ;setenv uboot_detected_capes uboot_detected_capes=${uboot_detected_capes_addr0}${uboot_detected_capes_addr1}${uboot_detected_capes_addr2}${uboot_detected_capes_addr3}; fi;setenv rdfile initrd.img-${uname_r}; if test -e ${devtype} ${bootpart} ${bootdir}/${rdfile}; then echo loading ${bootdir}/${rdfile} ...; run loadrd;if test -n ${netinstall_enable}; then run args_netinstall; run message;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; fi;if test -n ${uenv_root}; then run args_uenv_root;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; fi;if test -n ${uuid}; then run args_mmc_uuid;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; fi;run args_mmc_old;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; else if test -n ${uenv_root}; then run args_uenv_root;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} - ${fdtaddr}] ... ;bootz ${loadaddr} - ${fdtaddr}; fi;run args_mmc_old;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} - ${fdtaddr}] ... ;bootz ${loadaddr} - ${fdtaddr}; fi;fi;
    usb_boot=usb start; if usb dev ${devnum}; then devtype=usb; run scan_dev_for_boot_part; fi
    usbnet_devaddr=de:ad:be:ef:00:01
    vendor=ti
    ver=U-Boot 2022.04-ge0d31da5 (Aug 04 2023 - 18:48:26 +0000)
    virtualloadoverlay=if test -e ${devtype} ${bootpart} ${fdtdir}/overlays/${uboot_overlay}; then setenv actual_uboot_overlay ${fdtdir}/overlays/${uboot_overlay}; run loadoverlay;else if test -e ${devtype} ${bootpart} /lib/firmware/${uboot_overlay}; then setenv actual_uboot_overlay /lib/firmware/${uboot_overlay}; run loadoverlay;else if test -e ${devtype} ${bootpart} ${uboot_overlay}; then setenv actual_uboot_overlay ${uboot_overlay}; run loadoverlay;else echo uboot_overlays: unable to find [${devtype} ${bootpart} ${uboot_overlay}]...;fi;fi;fi;
    
    Environment size: 24732/131068 bytes
    

    => mmc rescan
    => mmc list
    OMAP SD/MMC: 0
    OMAP SD/MMC: 1 (eMMC)
    => mmc dev1
    mmc - MMC sub system
    
    Usage:
    mmc info - display info of the current MMC device
    mmc read addr blk# cnt
    mmc write addr blk# cnt
    mmc swrite addr blk#
    mmc erase blk# cnt
    mmc rescan [mode]
    mmc part - lists available partition on current mmc device
    mmc dev [dev] [part] [mode] - show or set current mmc device [partition] and set mode
      - the required speed mode is passed as the index from the following list
        [MMC_LEGACY, MMC_HS, SD_HS, MMC_HS_52, MMC_DDR_52, UHS_SDR12, UHS_SDR25,
        UHS_SDR50, UHS_DDR50, UHS_SDR104, MMC_HS_200, MMC_HS_400, MMC_HS_400_ES]
    mmc list - lists available devices
    mmc wp - power on write protect boot partitions
    mmc setdsr <value> - set DSR register value
    
    => mmc dev0
    mmc - MMC sub system
    
    Usage:
    mmc info - display info of the current MMC device
    mmc read addr blk# cnt
    mmc write addr blk# cnt
    mmc swrite addr blk#
    mmc erase blk# cnt
    mmc rescan [mode]
    mmc part - lists available partition on current mmc device
    mmc dev [dev] [part] [mode] - show or set current mmc device [partition] and set mode
      - the required speed mode is passed as the index from the following list
        [MMC_LEGACY, MMC_HS, SD_HS, MMC_HS_52, MMC_DDR_52, UHS_SDR12, UHS_SDR25,
        UHS_SDR50, UHS_DDR50, UHS_SDR104, MMC_HS_200, MMC_HS_400, MMC_HS_400_ES]
    mmc list - lists available devices
    mmc wp - power on write protect boot partitions
    mmc setdsr <value> - set DSR register value
    
    => mmc part
    
    Partition Map for MMC device 1  --   Partition Type: DOS
    
    Part    Start Sector    Num Sectors     UUID            Type
      1     2048            32768           d9c7687f-01     0e Boot
      2     34816           7436288         d9c7687f-02     83
    =>

    It appears the beagle board booted from a different version U-Boot.

    If boot from the card. Both showed okay!

    U-Boot SPL 2017.01 (Apr 24 2024 - 12:09:42)
    Trying to boot from MMC1
    reading uboot.env
    
    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment
    
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2017.01 (Apr 24 2024 - 12:09:42 -0400)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x BeagleBone Black
    DRAM:  512 MiB
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env
    
    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment
    
    <ethaddr> not set. Validating first E-fuse MAC
    Net:   cpsw, usb_ether
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3618648 bytes read in 324 ms (10.7 MiB/s)
    39229 bytes read in 66 ms (580.1 KiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff3000, end 8ffff93c ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.59-ga75d8e9305 (fzhang@ubuntu) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #4 PREEMPT Wed Apr 24 12:08:44 EDT 2024
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt:Machine model: TI AM335x BeagleBone Black
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x9d000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon)
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=1d72202e-02 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 457968K/524288K available (7168K kernel code, 281K rwdata, 2364K rodata, 1024K init, 280K bss, 17168K reserved, 49152K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0800000   (8160 kB)
    [    0.000000]       .init : 0xc0b00000 - 0xc0c00000   (1024 kB)
    [    0.000000]       .data : 0xc0c00000 - 0xc0c465d0   ( 282 kB)
    [    0.000000]        .bss : 0xc0c465d0 - 0xc0c8c834   ( 281 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000014] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000032] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000042] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000193] clocksource_probe: no matching clocksources found
    [    0.000347] Console: colour dummy device 80x30
    [    0.000370] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000375] This ensures that you still see kernel messages. Please
    [    0.000379] update your kernel commandline.
    [    0.000402] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [    0.089194] pid_max: default: 32768 minimum: 301
    [    0.089313] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.089322] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090031] CPU: Testing write buffer coherency: ok
    [    0.090377] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.091113] EFI services will not be available.
    [    0.092256] devtmpfs: initialized
    [    0.102993] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.103300] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.103324] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.106627] pinctrl core: initialized pinctrl subsystem
    [    0.107772] NET: Registered protocol family 16
    [    0.109579] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.112853] omap_hwmod: rtc: no dt node
    [    0.112869] ------------[ cut here ]------------
    [    0.112902] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2548 _init.constprop.22+0x1fc/0x4b8
    [    0.112909] omap_hwmod: rtc: doesn't have mpu register target base
    [    0.112915] Modules linked in:
    [    0.112934] CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.59-ga75d8e9305 #4
    [    0.112941] Hardware name: Generic AM33XX (Flattened Device Tree)
    [    0.112947] Backtrace:
    [    0.112978] [<c010b790>] (dump_backtrace) from [<c010ba4c>] (show_stack+0x18/0x1c)
    [    0.112989]  r7:00000009 r6:00000000 r5:c098ec4c r4:dc061e38
    [    0.113013] [<c010ba34>] (show_stack) from [<c03c0b74>] (dump_stack+0x24/0x28)
    [    0.113033] [<c03c0b50>] (dump_stack) from [<c012b5d0>] (__warn+0xe8/0x100)
    [    0.113044] [<c012b4e8>] (__warn) from [<c012b628>] (warn_slowpath_fmt+0x40/0x48)
    [    0.113055]  r9:c0b0061c r8:000000ba r7:c0b3b820 r6:00000000 r5:00000000 r4:c098f280
    [    0.113067] [<c012b5ec>] (warn_slowpath_fmt) from [<c0b0d0e8>] (_init.constprop.22+0x1fc/0x4b8)
    [    0.113075]  r3:c09c449c r2:c098f280
    [    0.113080]  r4:c0c0ab50
    [    0.113092] [<c0b0ceec>] (_init.constprop.22) from [<c0b0d4d4>] (__omap_hwmod_setup_all+0x48/0x124)
    [    0.113104]  r10:00000000 r9:c0b0061c r8:000000ba r7:c0b3b820 r6:c0b49ff4 r5:c0c07938
    [    0.113109]  r4:c0c0ab50
    [    0.113121] [<c0b0d48c>] (__omap_hwmod_setup_all) from [<c010171c>] (do_one_initcall+0x4c/0x178)
    [    0.113128]  r5:ffffe000 r4:c0b0d48c
    [    0.113149] [<c01016d0>] (do_one_initcall) from [<c0b00e8c>] (kernel_init_freeable+0x13c/0x1cc)
    [    0.113160]  r10:00000003 r9:c0b0061c r8:000000ba r7:c0b3b820 r6:c0b49ff4 r5:c0c46600
    [    0.113166]  r4:c0c46600
    [    0.113185] [<c0b00d50>] (kernel_init_freeable) from [<c07d4128>] (kernel_init+0x10/0x110)
    [    0.113197]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c07d4118
    [    0.113202]  r4:00000000
    [    0.113213] [<c07d4118>] (kernel_init) from [<c0107d38>] (ret_from_fork+0x14/0x3c)
    [    0.113220]  r5:c07d4118 r4:00000000
    [    0.113236] ---[ end trace db8199ea10d74617 ]---
    [    0.123240] omap_hwmod: debugss: _wait_target_disable failed
    [    0.199184] cpuidle: using governor ladder
    [    0.229175] cpuidle: using governor menu
    [    0.234630] OMAP GPIO hardware version 0.1
    [    0.235410] GPIO line 61 (LS_BUF_EN) hogged as output/high
    [    0.239713] GPIO line 112 (MCASP0_AHCLKR) hogged as output/low
    [    0.248342] No ATAGs?
    [    0.248367] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.286520] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.290004] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [    0.290059] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
    [    0.290169] media: Linux media interface: v0.10
    [    0.290217] Linux video capture interface: v2.00
    [    0.290253] pps_core: LinuxPPS API ver. 1 registered
    [    0.290259] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.290286] PTP clock support registered
    [    0.290321] EDAC MC: Ver: 3.0.0
    [    0.291326] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.291637] Advanced Linux Sound Architecture Driver Initialized.
    [    0.292786] clocksource: Switched to clocksource timer1
    [    0.301886] NET: Registered protocol family 2
    [    0.302584] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.302628] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.302667] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.302732] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.302748] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.302926] NET: Registered protocol family 1
    [    0.303322] RPC: Registered named UNIX socket transport module.
    [    0.303334] RPC: Registered udp transport module.
    [    0.303340] RPC: Registered tcp transport module.
    [    0.303345] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.304177] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.306285] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.313184] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.314033] NFS: Registering the id_resolver key type
    [    0.314076] Key type id_resolver registered
    [    0.314083] Key type id_legacy registered
    [    0.314124] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.315819] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.315838] io scheduler noop registered
    [    0.315844] io scheduler deadline registered
    [    0.315979] io scheduler cfq registered (default)
    [    0.317195] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.371879] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.375360] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.167138] console [ttyS0] enabled
    [    1.171635] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 159, base_baud = 3000000) is a 8250
    [    1.182103] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    1.188957] [drm] Initialized
    [    1.204404] brd: module loaded
    [    1.213303] loop: module loaded
    [    1.218452] libphy: Fixed MDIO Bus: probed
    [    1.224702] mousedev: PS/2 mouse device common for all mice
    [    1.230764] i2c /dev entries driver
    [    1.235991] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.243702] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.414507] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.426085] mmc1: new high speed MMC card at address 0001
    [    1.431568] mmc0: new high speed SDHC card at address aaaa
    [    1.437724] mmcblk0: mmc0:aaaa SS16G 14.8 GiB
    [    1.443219]  mmcblk0: p1 p2
    [    1.447401] mmcblk1: mmc1:0001 W62704 3.53 GiB
    [    1.452184] mmcblk1boot0: mmc1:0001 W62704 partition 1 2.00 MiB
    [    1.458504] mmcblk1boot1: mmc1:0001 W62704 partition 2 2.00 MiB
    [    1.465722]  mmcblk1: p1 p2
    [    1.514186] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.526263] NET: Registered protocol family 10
    [    1.531886] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.538870] NET: Registered protocol family 17
    [    1.543727] Key type dns_resolver registered
    [    1.548302] omap_voltage_late_init: Voltage driver support not added
    [    1.582883] tps65217 0-0024: Read from reg 0x16 failed
    [    1.588064] vdds_dpr: failed to enable
    [    1.591830] tps65217 0-0024: failed to register tps65217-pmic regulator
    [    1.598523] tps65217-pmic: probe of tps65217-pmic failed with error -121
    [    1.605813] tps65217 0-0024: Failed to read revision register: -121
    [    1.612393] tps65217: probe of 0-0024 failed with error -121
    [    1.621562] random: fast init done
    [    1.645023] tda998x 0-0070: Error -121 writing to cec:0xff
    [    1.650608] tda998x 0-0070: set_page 000a err -121
    [    1.722867] tda998x 0-0070: set_page 000a err -121
    [    1.792855] tda998x 0-0070: set_page 0001 err -121
    [    1.797718] tda998x 0-0070: set_page 0001 err -121
    [    1.802580] tda998x 0-0070: set_page 0200 err -121
    [    1.807458] tda998x 0-0070: set_page 0201 err -121
    [    1.812320] tda998x 0-0070: set_page 0202 err -121
    [    1.817197] tda998x 0-0070: set_page 0203 err -121
    [    1.822059] tda998x 0-0070: set_page 0204 err -121
    [    1.826935] tda998x 0-0070: set_page 0205 err -121
    [    1.831798] tda998x 0-0070: set_page 020e err -121
    [    1.836670] tda998x 0-0070: set_page 0211 err -121
    [    1.841528] tda998x 0-0070: set_page 0207 err -121
    [    1.846407] tda998x 0-0070: set_page 0208 err -121
    [    1.851270] tda998x 0-0070: set_page 0209 err -121
    [    1.856145] tda998x 0-0070: set_page 020a err -121
    [    1.861005] tda998x 0-0070: set_page 0206 err -121
    [    1.865879] tda998x 0-0070: set_page 0027 err -121
    [    1.870741] tda998x 0-0070: set_page 0000 err -121
    [    1.875616] tda998x 0-0070: set_page 0002 err -121
    [    1.880544] tilcdc 4830e000.lcdc: failed to bind 0-0070 (ops tda998x_ops): -6
    [    1.887894] tilcdc 4830e000.lcdc: master bind failed: -6
    [    1.893432] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    2.013708] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
    [    2.020127] hctosys: unable to open rtc device (rtc0)
    [    2.025731] wlan-en-regulator: disabling
    [    2.029679] ALSA device list:
    [    2.032654]   No soundcards found.
    [    2.053709] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.061920] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.073945] devtmpfs: mounted
    [    2.078157] Freeing unused kernel memory: 1024K
    [    2.360306] systemd[1]: System time before build time, advancing clock.
    [    2.409054] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    2.427844] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2017.10!
    
    [    2.467227] systemd[1]: Set hostname to <am335x-evm>.
    [    2.720297] systemd[1]: [/lib/systemd/system/gadget-init.service:15] Unknown lvalue 'ExecStopPre' in section 'Service'
    [    2.967836] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    3.004193] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    3.034083] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    3.063374] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    3.093511] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    3.141412] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on Journal Socket.
             Starting Load Kernel Modules...
             Mounting Debug File System...
             Starting Setup Virtual Console...
    [    3.319160] cryptodev: loading out-of-tree module taints kernel.
    [  OK  ] Created slice User and Session Slice.
    [    3.335052] cryptodev: driver 1.8 loaded.
    [  OK  ] Reached target Slices.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Swap.
             Mounting Temporary Directory...
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Listening on Syslog Socket.
             Starting Journal Service...
             Starting alignment.service...
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Listening on udev Control Socket.
    [    3.720083] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
             Mounting POSIX Message Queue File System...
             Starting Create list of required st... nodes for the current kernel...
    [  OK  ] Reached target Paths.
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started alignment.service.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
             Starting Create Static Device Nodes in /dev...
             Starting udev Coldplug all Devices...
             Starting Apply Kernel Variables...
             Mounting Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Configuration File System.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [    4.506625] systemd-journald[98]: Received request to flush runtime journal from PID 1
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [    6.123539] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started System Logging Service.
             Starting uim-sysfs.service...
    [  OK  ] Started Kernel Logging Service.
             Starting Telephony service...
             Starting Print notice about GPLv3 packages...
    [  OK  ] Started D-Bus System Message Bus.
    [    7.117432] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    7.214372] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [    7.224273] PM: Cannot get wkup_m3_ipc handle
    [    7.326739] remoteproc remoteproc0: wkup_m3 is available
    [    7.344730] PM: Cannot get wkup_m3_ipc handle
    [    7.345004] remoteproc remoteproc0: powering up wkup_m3
    [    7.368216] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224268
    [    7.368471] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [    7.368495] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [    8.097766] PM: no-rtc available, rtc-only mode disabled.
    [    8.103626] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    8.113182] omap-aes 53500000.aes: will run requests pump with realtime priority
    [    8.200886] [drm] Initialized pvr 1.14.3699939 20110701 on minor 0
    [    8.209619] Bluetooth: Core ver 2.22
    [    8.303603] NET: Registered protocol family 31
    [    8.303610] Bluetooth: HCI device and connection manager initialized
    [    8.303630] Bluetooth: HCI socket layer initialized
    [    8.303646] Bluetooth: L2CAP socket layer initialized
    [    8.303691] Bluetooth: SCO socket layer initialized
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Telephony service.
             Starting Network Service...
             Starting Login Service...
    [  OK  ] Found device /dev/ttyS3.
    [  OK  ] Started Network Service.
    [  OK  ] Started Login Service.
    [  OK  ] Reached target Network.
    [   10.274631] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [   10.348815] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   10.445961] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Network Name Resolution...
             Starting Permit User Sessions...
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
             Starting Lightning Fast Webserver With Light System Requirements...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [   12.824679] NET: Registered protocol family 15
    [  OK  ] Found device /dev/mmcblk0p1.
             Starting Start USB gadget...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Started Getty on tty1.
    [   13.757000] Initializing XFRM netlink socket
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [   14.141329] udc-core: couldn't find an available UDC - added [g_multi] to list of pending drivers
    [FAILED] Failed to start Start USB gadget.
    See 'systemctl status gadget-init.service' for details.
    [   15.496294] random: crng init done
    [   16.731310] 47401300.usb-phy supply vcc not found, using dummy regulator
    [   16.819226] usbcore: registered new interface driver usbfs
    [   16.819294] usbcore: registered new interface driver hub
    [   16.855111] usbcore: registered new device driver usb
    [   17.222670] using random self ethernet address
    [   17.240306] using random host ethernet address
    [   17.284996] using host ethernet address: 14:7F:0F:C3:5A:56[   17.339957] using random self ethernet address
    [   17.389209] using random host ethernet address
    [   17.434354] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [   17.435847] irq: no irq domain found for /ocp/pruss_soc_bus@4a326000/pruss@4a300000/intc@4a320000 !
    [   17.436380] irq: no irq domain found for /ocp/pruss_soc_bus@4a326000/pruss@4a300000/intc@4a320000 !
    [   17.718335] using host ethernet address: 14:7F:0F:C3:5A:56[   17.778490] usb0: HOST MAC 14:7f:0f:c3:5a:56
    [   17.826493] usb0: MAC fa:86:ab:55:ca:1e
    [   17.907732] remoteproc remoteproc1: 4a334000.pru0 is available
    [   17.933466] Mass Storage Function, version: 2009/09/11
    [   17.933475] LUN: removable file: (no medium)
    [   17.933668] LUN: removable read only file: /dev/mmcblk0p1
    [   17.933672] Number of LUNs=1
    [   17.944370] g_multi gadget: Multifunction Composite Gadget
    [   17.944379] g_multi gadget: g_multi ready
    [   17.945342] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [   17.978961] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   17.978997] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [   18.011318] hub 1-0:1.0: USB hub found
    [   18.011377] hub 1-0:1.0: 1 port detected
    [   18.474755] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss_soc_bus@4a326000/pruss@4a300000/pru@4a334000 probed successfully
    [   18.584492] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    [   18.663374] remoteproc remoteproc2: 4a338000.pru1 is available
    [   18.669329] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss_soc_bus@4a326000/pruss@4a300000/pru@4a338000 probed successfully
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am335x-evm ttyS0
    
    Arago 2017.10 am335x-evm ttyS0
    
    am335x-evm login: ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            binutils
            cifs-utils
            cpp-symlinks
            cpp
            dosfstools
            g++-symlinks
            g++
            gawk-dev
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            glmark2
            gstreamer1.0-libav
            hidapi
            libcairo-perf-utils
            libgmp10
            libidn11
            libmpc3
            libmpfr4
            libreadline-dev
            libreadline6
            m4-dev
            m4
            make
            nettle
            swig-dev
            swig
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [   20.338819] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am335x-evm ttyS0
    
    Arago 2017.10 am335x-evm ttyS0
    
    am335x-evm login: root
    root@am335x-evm:~#

    Since the tisdk-rootfs-image-am335x-evm.tar.xz file came with the SDK is used here, any instructions on how to create an update tisdk-rootfs-image-am335x-board.tar.zx file from SDK or even directly from the SD card, maybe I missed in the user manual?

    Thank you so much for looking into this.

  • Ah ok, so your eMMC is connected to MMC1. Can you try the below to see if we can access the eMMC (please use the exact commands, looks like you missed a space in one of the commands earlier)

    => mmc dev 1
    => mmc part

    Then try listing the different partitions of your eMMC to see if there are files there, like this...

    # Show contents of eMMC partition 1, 2, 3, ...
    => ls mmc 1:1
    => ls mmc 1:2
    => ls mmc 1:3
    ...

    Regards, Andreas

  • Yes. Partition 2 and the files are there. But somehow the boot is not reading it correctly. Is this related to the u-boot configuration? The hardware is identical to beaglebone black on eMMC device connections. The flash script should work on the beaglebone black also, right? Thanks,

    => mmc rescan
    MMC: no card present
    => mmc list
    OMAP SD/MMC: 0
    OMAP SD/MMC: 1
    => mmc dev 0
    MMC: no card present
    => mmc dev 1
    => mmc part
    MMC: no card present
    => ls mmc 1:1
    ** Bad device mmc 1 **
    => ls mmc 1:2
    <DIR>       4096 .
    <DIR>       4096 ..
    <DIR>      16384 lost+found
    <DIR>       4096 etc
    <DIR>       4096 media
    <DIR>       4096 include
    <DIR>       4096 boot
    <DIR>       4096 sys
    <DIR>       4096 dev
    <DIR>       4096 www
    <DIR>       4096 mnt
    <DIR>       4096 usr
    <DIR>       4096 lib
    <DIR>       4096 proc
    <DIR>       4096 bin
    <DIR>       4096 opt
    <DIR>       4096 run
    <DIR>       4096 srv
    <DIR>       4096 tmp
    <DIR>       4096 home
    <DIR>       4096 var
    <DIR>       4096 sbin
    => ls mmc 1:3
    ** Invalid partition 3 **
    =>

  • Looks like you are trying to use a special/older U-Boot version for the BeagleBone, which is not something we can officially support here in the forum. You should be using our latest SDK U-Boot instead, from the TI SDK v9.1. The version should be 2023.01. Since you seem to be following the TI SDK v9.1 steps (fromhttps://software-dl.ti.com/processor-sdk-linux-rt/esd/AM335X/09_01_00_001/exports/docs/linux/How_to_Guides/Target/How_to_Program_Beaglebone_Black_eMMC_via_SD_Card.html) how did you end up with a different U-Boot version?

    Then it's strange that your 'ls mmc 1:1' command fails. It typically should show the boot partition (which is FAT formatted), containing MLO and u-boot.img.

    Regards, Andreas