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.

[FAQ] How to flash and boot Linux from NAND with AM335x Linux SDK 9.1

Part Number: AM3358

Tool/software:

AM335x GPMC-NAND boot issue was observed with AM335x Linux SDK 9.1 [1].
The FAQ lists the u-boot and kernel patches to support flashing and booting u-boot/kernel/root_fs with AM335x Linux SDK 9.1 from GPMC-NAND on AM335x EVM [2]

[1] https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-AM335X/09.01.00.001
[2] https://www.ti.com/tool/TMDXEVM3358

  • 1. Download and install the AM335x Linux SDK 9.1
    https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-AM335X/09.01.00.001

    2. Apply the following u-boot patches
    1/. mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x
    https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2023.04-next&id=c0176ab8dd53f86e193c578ec4781400e9fb18e3

    2/. mtd: rawnand: omap_elm: Fix elm_init definition
    https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2023.04-next&id=d6f939a90c3192adf5c5bec1ec4fbc05ec36144e

    3/. GPMC-NAND register timing in SPL for the NAND on AM335x GP EVM
    - 0001-GPMC-NAND-register-timing-in-SPL-for-the-NAND-on-AM3.patch (attached)
    - the patch improves u-boot NAND read/write performance on AM335x GP EVM

    4/. Adjust u-boot mtd nand partition to 2MiB
    u-boot.img size is increased in SDK 9.1, and is over the MTD NAND u-boot partition (currently 1MiB), which cause NAND flash & boot fails.
    Options to fix:
    a/ remove unused boot mode support in u-boot to reduce the u-boot size within 1MiB
    b/ increase MTD NAND u-boot partition
    - 0001-Adjust-u-boot-mtd-nand-partition-to-2MiB.patch (attached)
    - the attached patch increase u-boot mtd nand partition to 2MiB from 1MiB (option b/)

    3. Apply the following kernel patch
    1/. Adjust mtd nand partitions to match the mtd partition in u-boot
    - 0001-Adjust-mtd-nand-partitions-to-match-the-mtd-partitio.patch (attached)
    - the attached patch adjusts kernel mtd partition to match the mtd partition in u-boot

    4. Logs:
    - am3_9.1.0.1_patch_nand_flash_linux: flashing u-boot/kernel/root_fs(UBIFS) to GPMC-NAND from SD boot on AM335x GP EVM
    - am3_9.1.0.1_patch_nand_boot_linux: booting u-boot/kernel/root_fs(UBIFS from GPMC-NAND on AM335x GP EVM
    where "tisdk-tiny-image-am335x-evm.ubi" in AM335x Linux SDK 9.1 is used for UBIFS [3].
    [3] https://software-dl.ti.com/processor-sdk-linux/esd/AM335X/09_01_00_001/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND.html#nand-based-file-system

    6237.0001-GPMC-NAND-register-timing-in-SPL-for-the-NAND-on-AM3.patch

    0001-Adjust-u-boot-mtd-nand-partition-to-2MiB.patch

    0001-Adjust-mtd-nand-partitions-to-match-the-mtd-partitio.patch

    am3_9.1.0.1_patch_nand_flash_linux.log
    U-Boot SPL 2023.04-00001-ga6b09c3a4c-dirty (Aug 29 2024 - 13:43:18 -0500)
    Trying to boot from MMC1
    
    
    U-Boot 2023.04-00001-ga6b09c3a4c-dirty (Aug 29 2024 - 13:43:18 -0500)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM:  1 GiB
    Core:  156 devices, 17 uclasses, devicetree: separate
    WDT:   Started wdt@44e35000 with servicing every 1000ms (60s timeout)
    NAND:  256 MiB
    MMC:   OMAP SD/MMC: 0
    Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1... 
    <ethaddr> not set. Validating first E-fuse MAC
    Net:   eth2: ethernet@4a100000, eth3: usb_ether
    Hit any key to stop autoboot:  2  0 
    => md.l 0x44e10040 1
    44e10040: 00400397                             ..@.
    => ls mmc 0:1
        98004   am335x-boneblack.dtb
        98306   am335x-boneblack-wireless.dtb
        96088   am335x-boneblue.dtb
        93734   am335x-bone.dtb
        94061   am335x-bonegreen.dtb
        96034   am335x-bonegreen-wireless.dtb
       101696   am335x-evm.dtb
       100286   am335x-evmsk.dtb
        95737   am335x-icev2.dtb
        95645   am335x-pocketbeagle.dtb
        97948   am335x-sancloud-bbe.dtb
                extlinux/
       110364   MLO
      1453536   u-boot.img
          574   uEnv.txt
                System Volume Information/
                9.1.0.1/
      7647744   zImage
       101696   am335x-evm_bkup.dtb
       101488   am335x-evm_0321-2024.dtb
    
    17 file(s), 3 dir(s)
    
    => ls mmc 0:2 media
    <DIR>       4096 .
    <DIR>       4096 ..
    <DIR>       4096 ram
            21102592 tisdk-tiny-image-am335x-evm.ubi
    => nand erase.chip
    
    NAND erase.chip: device 0 whole chip
    
    Erasing at 0x0 --   0% complete.
    Erasing at 0x280000 --   1% complete.
    Erasing at 0x500000 --   2% complete.
    Erasing at 0x7a0000 --   3% complete.
    Erasing at 0xa20000 --   4% complete.
    Erasing at 0xcc0000 --   5% complete.
    Erasing at 0xf40000 --   6% complete.
    Erasing at 0x11e0000 --   7% complete.
    Erasing at 0x1460000 --   8% complete.
    Erasing at 0x1700000 --   9% complete.
    Erasing at 0x1980000 --  10% complete.
    Erasing at 0x1c20000 --  11% complete.
    Erasing at 0x1ea0000 --  12% complete.
    Erasing at 0x2140000 --  13% complete.
    Erasing at 0x23c0000 --  14% complete.
    Erasing at 0x2660000 --  15% complete.
    Erasing at 0x28e0000 --  16% complete.
    Erasing at 0x2b80000 --  17% complete.
    Erasing at 0x2e00000 --  18% complete.
    Erasing at 0x30a0000 --  19% complete.
    Erasing at 0x3320000 --  20% complete.
    Erasing at 0x35c0000 --  21% complete.
    Erasing at 0x3840000 --  22% complete.
    Erasing at 0x3ae0000 --  23% complete.
    Erasing at 0x3d60000 --  24% complete.
    Erasing at 0x3fe0000 --  25% complete.
    Erasing at 0x4280000 --  26% complete.
    Erasing at 0x4500000 --  27% complete.
    Erasing at 0x47a0000 --  28% complete.
    Erasing at 0x4a20000 --  29% complete.
    Erasing at 0x4cc0000 --  30% complete.
    Erasing at 0x4f40000 --  31% complete.
    Erasing at 0x51e0000 --  32% complete.
    Erasing at 0x5460000 --  33% complete.
    Erasing at 0x5700000 --  34% complete.
    Erasing at 0x5980000 --  35% complete.
    Erasing at 0x5c20000 --  36% complete.
    Erasing at 0x5ea0000 --  37% complete.
    Erasing at 0x6140000 --  38% complete.
    Erasing at 0x63c0000 --  39% complete.
    Erasing at 0x6660000 --  40% complete.
    Erasing at 0x68e0000 --  41% complete.
    Erasing at 0x6b80000 --  42% complete.
    Erasing at 0x6e00000 --  43% complete.
    Erasing at 0x70a0000 --  44% complete.
    Erasing at 0x7320000 --  45% complete.
    Erasing at 0x75c0000 --  46% complete.
    Erasing at 0x7840000 --  47% complete.
    Erasing at 0x7ae0000 --  48% complete.
    Erasing at 0x7d60000 --  49% complete.
    Erasing at 0x7fe0000 --  50% complete.
    Erasing at 0x8280000 --  51% complete.
    Erasing at 0x8500000 --  52% complete.
    Erasing at 0x87a0000 --  53% complete.
    Erasing at 0x8a20000 --  54% complete.
    Erasing at 0x8cc0000 --  55% complete.
    Erasing at 0x8f40000 --  56% complete.
    Erasing at 0x91e0000 --  57% complete.
    Erasing at 0x9460000 --  58% complete.
    Erasing at 0x9700000 --  59% complete.
    Erasing at 0x9980000 --  60% complete.
    Erasing at 0x9c20000 --  61% complete.
    Erasing at 0x9ea0000 --  62% complete.
    Erasing at 0xa140000 --  63% complete.
    Erasing at 0xa3c0000 --  64% complete.
    Erasing at 0xa660000 --  65% complete.
    Erasing at 0xa8e0000 --  66% complete.
    Erasing at 0xab80000 --  67% complete.
    Erasing at 0xae00000 --  68% complete.
    Erasing at 0xb0a0000 --  69% complete.
    Erasing at 0xb320000 --  70% complete.
    Erasing at 0xb5c0000 --  71% complete.
    Erasing at 0xb840000 --  72% complete.
    Erasing at 0xbae0000 --  73% complete.
    Erasing at 0xbd60000 --  74% complete.
    Erasing at 0xbfe0000 --  75% complete.
    Erasing at 0xc280000 --  76% complete.
    Erasing at 0xc500000 --  77% complete.
    Erasing at 0xc7a0000 --  78% complete.
    Erasing at 0xca20000 --  79% complete.
    Erasing at 0xccc0000 --  80% complete.
    Erasing at 0xcf40000 --  81% complete.
    Erasing at 0xd1e0000 --  82% complete.
    Erasing at 0xd460000 --  83% complete.
    Erasing at 0xd700000 --  84% complete.
    Erasing at 0xd980000 --  85% complete.
    Erasing at 0xdc20000 --  86% complete.
    Erasing at 0xdea0000 --  87% complete.
    Erasing at 0xe140000 --  88% complete.
    Erasing at 0xe3c0000 --  89% complete.
    Erasing at 0xe660000 --  90% complete.
    Erasing at 0xe8e0000 --  91% complete.
    Erasing at 0xeb80000 --  92% complete.
    Erasing at 0xee00000 --  93% complete.
    Erasing at 0xf0a0000 --  94% complete.
    Erasing at 0xf320000 --  95% complete.
    Erasing at 0xf5c0000 --  96% complete.
    Erasing at 0xf840000 --  97% complete.
    Erasing at 0xfae0000 --  98% complete.
    Erasing at 0xfd60000 --  99% complete.
    Erasing at 0xffe0000 -- 100% complete.
    OK
    => nand info
    
    Device 0: nand0, sector size 128 KiB
      Page size         2048 b
      OOB size            64 b
      Erase size      131072 b
      ecc strength         8 bits
      ecc step size      512 b
      subpagesize        512 b
      options       0x4000400c
      bbt options   0x00008000
    => mtd
    
    device nand0 <nand.0>, # parts = 10
     #: name		size		offset		mask_flags
     0: NAND.SPL            0x00020000	0x00000000	0
     1: NAND.SPL.backup1    0x00020000	0x00020000	0
     2: NAND.SPL.backup2    0x00020000	0x00040000	0
     3: NAND.SPL.backup3    0x00020000	0x00060000	0
     4: NAND.u-boot-spl-os  0x00040000	0x00080000	0
     5: NAND.u-boot         0x00200000	0x000c0000	0
     6: NAND.u-boot-env     0x00020000	0x002c0000	0
     7: NAND.u-boot-env.backup10x00020000	0x002e0000	0
     8: NAND.kernel         0x00800000	0x00300000	0
     9: NAND.file-system    0x0f500000	0x00b00000	0
    
    active partition: nand0,0 - (NAND.SPL) 0x00020000 @ 0x00000000
    
    defaults:
    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),2m(NAND.u-boot),128k(NAND.u-boot-env),128k(NAND.u-boot-env.backup1),8m(NAND.kernel),-(NAND.file-system)
    => load mmc 0:1 ${loadaddr} MLO
    110364 bytes read in 10 ms (10.5 MiB/s)
    => nand write ${loadaddr} NAND.SPL ${filesize}
    
    NAND write: device 0 offset 0x0, size 0x1af1c
     110364 bytes written: OK
    => load mmc 0:1 ${loadaddr} u-boot.img
    1453536 bytes read in 95 ms (14.6 MiB/s)
    => nand write ${loadaddr} NAND.u-boot ${filesize}
    
    NAND write: device 0 offset 0xc0000, size 0x162de0
     1453536 bytes written: OK
    => load mmc 0:1 ${loadaddr} am335x-evm.dtb
    101696 bytes read in 10 ms (9.7 MiB/s)
    => nand write ${loadaddr} NAND.u-boot-spl-os ${filesize}
    
    NAND write: device 0 offset 0x80000, size 0x18d40
     101696 bytes written: OK
    => load mmc 0:1 ${loadaddr} zImage
    7647744 bytes read in 493 ms (14.8 MiB/s)
    => nand write ${loadaddr} NAND.kernel ${filesize}
    
    NAND write: device 0 offset 0x300000, size 0x74b200
     7647744 bytes written: OK
    => load mmc 0:2 ${loadaddr} media/tisdk-tiny-image-am335x-evm.ubi
    21102592 bytes read in 1354 ms (14.9 MiB/s)
    => nand write ${loadaddr} NAND.file-system ${filesize}
    
    NAND write: device 0 offset 0xb00000, size 0x1420000
     21102592 bytes written: OK
    => 

    am3_9.1.0.1_patch_nand_boot_linux.log
    U-Boot SPL 2023.04-00001-ga6b09c3a4c-dirty (Aug 29 2024 - 13:43:18 -0500)
    Trying to boot from NAND
    
    
    U-Boot 2023.04-00001-ga6b09c3a4c-dirty (Aug 29 2024 - 13:43:18 -0500)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM:  1 GiB
    Core:  156 devices, 17 uclasses, devicetree: separate
    WDT:   Started wdt@44e35000 with servicing every 1000ms (60s timeout)
    NAND:  256 MiB
    MMC:   OMAP SD/MMC: 0
    Loading Environment from FAT... ** Bad device specification mmc 0 **
    <ethaddr> not set. Validating first E-fuse MAC
    Net:   eth2: ethernet@4a100000, eth3: usb_ether
    Hit any key to stop autoboot:  2  0 
    => md.l 0x44e10040 1
    44e10040: 00400394                             ..@.
    => mtd
    
    device nand0 <nand.0>, # parts = 10
     #: name		size		offset		mask_flags
     0: NAND.SPL            0x00020000	0x00000000	0
     1: NAND.SPL.backup1    0x00020000	0x00020000	0
     2: NAND.SPL.backup2    0x00020000	0x00040000	0
     3: NAND.SPL.backup3    0x00020000	0x00060000	0
     4: NAND.u-boot-spl-os  0x00040000	0x00080000	0
     5: NAND.u-boot         0x00200000	0x000c0000	0
     6: NAND.u-boot-env     0x00020000	0x002c0000	0
     7: NAND.u-boot-env.backup10x00020000	0x002e0000	0
     8: NAND.kernel         0x00800000	0x00300000	0
     9: NAND.file-system    0x0f500000	0x00b00000	0
    
    active partition: nand0,0 - (NAND.SPL) 0x00020000 @ 0x00000000
    
    defaults:
    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),2m(NAND.u-boot),128k(NAND.u-boot-env),128k(NAND.u-boot-env.backup1),8m(NAND.kernel),-(NAND.file-system)
    => nand info
    
    Device 0: nand0, sector size 128 KiB
      Page size         2048 b
      OOB size            64 b
      Erase size      131072 b
      ecc strength         8 bits
      ecc step size      512 b
      subpagesize        512 b
      options       0x0000400c
      bbt options   0x00008000
    => run nandboot
    Booting from nand ...
    
    NAND read: device 0 offset 0x80000, size 0x40000
     262144 bytes read: OK
    
    NAND read: device 0 offset 0x300000, size 0x800000
     8388608 bytes read: OK
    Kernel image @ 0x82000000 [ 0x000000 - 0x74b200 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 8ffe4000, end 8ffffd3f ... OK
    Working FDT set to 8ffe4000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 6.1.46-g1d4b5da681 (oe-user@oe-host) (arm-oe-linux-gnueabi-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 PREEMPT Thu Oct 19 10:19:08 UTC 2023
    [    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 EVM
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 64 MiB at 0xbc000000
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000080000000-0x00000000afdfffff]
    [    0.000000]   HighMem  [mem 0x00000000afe00000-0x00000000bfffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x00000000afdfffff]
    [    0.000000]   node   0: [mem 0x00000000b0000000-0x00000000bfffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
    [    0.000000] On node 0, zone HighMem: 512 pages in unavailable ranges
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260100
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 953484K/1046528K available (11264K kernel code, 1470K rwdata, 3264K rodata, 1024K init, 287K bss, 27508K reserved, 65536K cma-reserved, 196608K highmem)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] trace event string verifier disabled
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] 	Trampoline variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000
    [    0.000003] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000026] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000472] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
    [    0.002310] Console: colour dummy device 80x30
    [    0.002354] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.002361] This ensures that you still see kernel messages. Please
    [    0.002365] update your kernel commandline.
    [    0.002400] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [    0.090571] CPU: Testing write buffer coherency: ok
    [    0.090652] CPU0: Spectre v2: using BPIALL workaround
    [    0.090660] pid_max: default: 32768 minimum: 301
    [    0.090868] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    0.090890] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    0.092664] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.092680] cblist_init_generic: Setting shift to 0 and lim to 1.
    [    0.092841] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.093009] rcu: Hierarchical SRCU implementation.
    [    0.093017] rcu: 	Max phase no-delay instances is 1000.
    [    0.094812] EFI services will not be available.
    [    0.095517] devtmpfs: initialized
    [    0.111324] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.111610] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.111637] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
    [    0.117214] pinctrl core: initialized pinctrl subsystem
    [    0.118357] DMI not present or invalid.
    [    0.119060] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.121515] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.122745] thermal_sys: Registered thermal governor 'step_wise'
    [    0.122862] cpuidle: using governor menu
    [    0.139701] platform panel: Fixed dependency cycle(s) with /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0
    [    0.140193] No ATAGs?
    [    0.140205] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.142535] Serial: AMBA PL011 UART driver
    [    0.164868] SCSI subsystem initialized
    [    0.171190] usbcore: registered new interface driver usbfs
    [    0.171246] usbcore: registered new interface driver hub
    [    0.171298] usbcore: registered new device driver usb
    [    0.171824] pps_core: LinuxPPS API ver. 1 registered
    [    0.171835] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.171857] PTP clock support registered
    [    0.172012] EDAC MC: Ver: 3.0.0
    [    0.174634] clocksource: Switched to clocksource dmtimer
    [    0.196598] NET: Registered PF_INET protocol family
    [    0.196988] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.198876] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [    0.198924] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.198944] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
    [    0.199014] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.199117] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.199271] UDP hash table entries: 512 (order: 1, 8192 bytes, linear)
    [    0.199300] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes, linear)
    [    0.199468] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.200042] RPC: Registered named UNIX socket transport module.
    [    0.200057] RPC: Registered udp transport module.
    [    0.200061] RPC: Registered tcp transport module.
    [    0.200065] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.200080] PCI: CLS 0 bytes, default 64
    [    0.201511] Initialise system trusted keyrings
    [    0.201855] workingset: timestamp_bits=30 max_order=18 bucket_order=0
    [    0.207929] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.215159] NFS: Registering the id_resolver key type
    [    0.215247] Key type id_resolver registered
    [    0.215254] Key type id_legacy registered
    [    0.215367] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.215379] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.215421] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.215997] Key type asymmetric registered
    [    0.216011] Asymmetric key parser 'x509' registered
    [    0.216217] bounce: pool size: 64 pages
    [    0.216345] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.216357] io scheduler mq-deadline registered
    [    0.216364] io scheduler kyber registered
    [    0.314889] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
    [    0.317471] STMicroelectronics ASC driver initialized
    [    0.340392] brd: module loaded
    [    0.356602] loop: module loaded
    [    0.362127] CAN device driver interface
    [    0.362562] e1000e: Intel(R) PRO/1000 Network Driver
    [    0.362568] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    0.362656] igb: Intel(R) Gigabit Ethernet Network Driver
    [    0.362663] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    0.363539] pegasus: Pegasus/Pegasus II USB Ethernet driver
    [    0.363595] usbcore: registered new interface driver pegasus
    [    0.363642] usbcore: registered new interface driver asix
    [    0.363678] usbcore: registered new interface driver ax88179_178a
    [    0.363717] usbcore: registered new interface driver cdc_ether
    [    0.363762] usbcore: registered new interface driver smsc75xx
    [    0.363807] usbcore: registered new interface driver smsc95xx
    [    0.363842] usbcore: registered new interface driver net1080
    [    0.363875] usbcore: registered new interface driver cdc_subset
    [    0.363918] usbcore: registered new interface driver zaurus
    [    0.364007] usbcore: registered new interface driver cdc_ncm
    [    0.374904] usbcore: registered new interface driver usb-storage
    [    0.375826] i2c_dev: i2c /dev entries driver
    [    0.378111] cpuidle: enable-method property 'ti,am3352' found operations
    [    0.378779] sdhci: Secure Digital Host Controller Interface driver
    [    0.378790] sdhci: Copyright(c) Pierre Ossman
    [    0.378965] Synopsys Designware Multimedia Card Interface Driver
    [    0.379138] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.379654] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.380091] usbcore: registered new interface driver usbhid
    [    0.380102] usbhid: USB HID core driver
    [    0.382929] NET: Registered PF_INET6 protocol family
    [    0.395964] Segment Routing with IPv6
    [    0.396029] In-situ OAM (IOAM) with IPv6
    [    0.396124] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    0.396924] NET: Registered PF_PACKET protocol family
    [    0.396944] can: controller area network core
    [    0.397023] NET: Registered PF_CAN protocol family
    [    0.397033] can: raw protocol
    [    0.397042] can: broadcast manager protocol
    [    0.397054] can: netlink gateway - max_hops=1
    [    0.397507] Key type dns_resolver registered
    [    0.397673] ThumbEE CPU extension supported.
    [    0.397692] Registering SWP/SWPB emulation handler
    [    0.398239] omap_voltage_late_init: Voltage driver support not added
    [    0.399306] Loading compiled-in X.509 certificates
    [    0.472430] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [    0.487684] ti-sysc: probe of 44e31000.target-module failed with error -16
    [    0.510483] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 18, base_baud = 3000000) is a 8250
    [    0.516394] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [    0.528387] ti-sysc: probe of 48040000.target-module failed with error -16
    [    0.552801] gpio gpiochip0: (gpio-0-31): not an immutable chip, please consider fixing it!
    [    0.553207] OMAP GPIO hardware version 0.1
    [    0.586940] gpio gpiochip1: (gpio-32-63): not an immutable chip, please consider fixing it!
    [    0.589131] gpio gpiochip2: (gpio-64-95): not an immutable chip, please consider fixing it!
    [    0.614754] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    0.622484] random: crng init done
    [    0.674649] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    0.689708] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Qualcomm Atheros AR8031/AR8033
    [    0.690102] cpsw-switch 4a100000.switch: initialized cpsw ale version 1.4
    [    0.690118] cpsw-switch 4a100000.switch: ALE Table size 1024
    [    0.690240] cpsw-switch 4a100000.switch: cpts: overflow check period 500 (jiffies)
    [    0.690254] cpsw-switch 4a100000.switch: CPTS: ref_clk_freq:250000000 calc_mult:2147483648 calc_shift:29 error:0 nsec/sec
    [    0.690308] cpsw-switch 4a100000.switch: Detected MACID = d0:39:72:2a:1d:c1
    [    0.691540] cpsw-switch 4a100000.switch: initialized (regs 0x4a100000, pool size 256) hw_ver:0019010C 1.12 (0)
    [    0.712038] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
    [    0.712078] edma 49000000.dma: TI EDMA DMA engine driver
    [    0.748547] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    0.748582] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    0.767408] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.772557] l3-aon-clkctrl:0000:0: failed to disable
    [    0.774504] gpio gpiochip4: (gpio-96-127): not an immutable chip, please consider fixing it!
    [    0.776714] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 37, base_baud = 3000000) is a 8250
    [    2.671077] printk: console [ttyS0] enabled
    [    2.704885] tps65910 0-002d: No interrupt support, no core IRQ
    [    2.733671] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    2.741734] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    2.752719] sdhci-omap 47810000.mmc: supply pbias not found, using dummy regulator
    [    2.761398] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [    2.768384] sdhci-omap 48060000.mmc: Got CD GPIO
    [    2.773272] sdhci-omap 47810000.mmc: supply vqmmc not found, using dummy regulator
    [    2.780996] nand: Micron MT29F2G08ABAEAWP
    [    2.785117] sdhci-omap 48060000.mmc: supply pbias not found, using dummy regulator
    [    2.793089] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    2.804752] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
    [    2.812805] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    2.824942] 10 fixed-partitions partitions found on MTD device omap2-nand.0
    [    2.831954] Creating 10 MTD partitions on "omap2-nand.0":
    [    2.864659] 0x000000000000-0x000000020000 : "NAND.SPL"
    [    2.885343] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [    2.892631] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [    2.901016] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [    2.908455] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [    2.916268] 0x0000000c0000-0x0000002c0000 : "NAND.u-boot"
    [    2.923971] 0x0000002c0000-0x0000002e0000 : "NAND.u-boot-env"
    [    2.931629] 0x0000002e0000-0x000000300000 : "NAND.u-boot-env.backup1"
    [    2.938339] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using External DMA
    [    2.966187] 0x000000300000-0x000000b00000 : "NAND.kernel"
    [    2.979555] 0x000000b00000-0x000010000000 : "NAND.file-system"
    [    2.989983] mmc2: SDHCI controller on 47810000.mmc [47810000.mmc] using External DMA
    [    3.123336] ubi0: attaching mtd9
    [    3.833487] ubi0: scanning is finished
    [    3.860963] ubi0: volume 0 ("rootfs") re-sized from 159 to 1916 LEBs
    [    3.868244] ubi0: attached mtd9 (name "NAND.file-system", size 245 MiB)
    [    3.874971] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    3.881882] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [    3.888663] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    [    3.895673] ubi0: good PEBs: 1960, bad PEBs: 0, corrupted PEBs: 0
    [    3.901795] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [    3.909074] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1446450016
    [    3.918265] ubi0: available PEBs: 0, total reserved PEBs: 1960, PEBs reserved for bad PEB handling: 40
    [    3.927643] ubi0: background thread "ubi_bgt0d" started, PID 62
    [    3.935098] input: volume-keys as /devices/platform/volume-keys/input/input0
    [    3.954809] UBIFS (ubi0:0): Mounting in unauthenticated mode
    [    3.961292] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 63
    [    4.018636] UBIFS (ubi0:0): start fixing up free space
    [    5.931292] UBIFS (ubi0:0): free space fixup complete
    [    5.970553] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [    5.979217] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    5.989960] UBIFS (ubi0:0): FS size: 241889280 bytes (230 MiB, 1905 LEBs), max 12000 LEBs, journal size 9023488 bytes (8 MiB, 72 LEBs)
    [    6.002860] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [    6.009455] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 894E301A-F020-4405-93DA-FEC3E2FA1B02, small LPT model
    [    6.028237] VFS: Mounted root (ubifs filesystem) on device 0:15.
    [    6.041624] devtmpfs: mounted
    [    6.049211] Freeing unused kernel image (initmem) memory: 1024K
    [    6.057333] Run /sbin/init as init process
    [    6.642745] systemd[1]: System time before build time, advancing clock.
    [    6.784314] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    6.823272] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2023.04!
    
    [    6.880814] systemd[1]: Hostname set to <am335x-evm>.
    [    6.900612] systemd[1]: Initializing machine ID from random generator.
    [    7.386202] systemd[64]: /lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
    [    8.699921] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    8.956860] systemd[1]: Queued start job for default target Multi-User System.
    [    8.997620] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    9.017209] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    9.036979] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    9.076544] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    9.118171] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password �ts to Console Directory Watch.
    [    9.165628] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R�uests to Wall Directory Watch.
    [    9.207125] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    9.245399] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    9.258662] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    9.295263] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    9.360149] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    9.396869] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    9.474026] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
    [    9.487838] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    9.528460] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    9.568024] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    9.610908] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    9.646343] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    9.688436] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [    9.727386] systemd[1]: Huge Pages File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
    [    9.742048] systemd[1]: POSIX Message Queue File System was skipped because of a failed condition check (ConditionPathExists=/proc/sys/fs/mqueue).
    [    9.785575] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    9.816099] systemd[1]: Mounting Kernel Trace File System...
             Mounting Kernel Trace File System...
    [    9.849368] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    9.906618] systemd[1]: Create List of Static Device Nodes was skipped because of a failed condition check (ConditionFileNotEmpty=/lib/modules/6.1.46-g1d4b5da681/modules.devname).
    [    9.955948] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [    9.983446] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [   10.067851] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [   10.115746] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [   10.130852] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [   10.144048] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [   10.186384] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [   10.209345] systemd[1]: Load Kernel Modules was skipped because all trigger condition checks failed.
    [   10.266414] systemd[1]: Starting Generate network units from Kernel command line...
             Starting Generate network �ts from Kernel command line...
    [   10.338295] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [   10.403518] systemd[1]: Starting Apply Kernel Variables...
             Starting Apply Kernel Variables...
    [   10.498888] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [   10.573071] systemd[1]: Mounted Kernel Debug File System.
    [  OK  ] Mounted Kernel Debug File System.
    [   10.636676] systemd[1]: Mounted Kernel Trace File System.
    [  OK  ] Mounted Kernel Trace File System.
    [   10.676162] systemd[1]: Mounted Temporary Directory /tmp.
    [  OK  ] Mounted Temporary Directory /tmp.
    [   10.706927] systemd[1]: modprobe@configfs.service: Deactivated successfully.
    [   10.735646] systemd[1]: Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module configfs.
    [   10.768722] systemd[1]: modprobe@drm.service: Deactivated successfully.
    [   10.796385] systemd[1]: Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module drm.
    [   10.816491] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Finished Load Kernel Module fuse.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Reached target Preparation for Network.
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
             Starting Create System Users...
    [   11.237882] systemd-journald[81]: Received client request to flush runtime journal.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Create System Users.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting Rule-based Manage�for Device Events and Files...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Rebuild Dynamic Linker Cache...
             Starting Create Volatile Files and Directories...
    [  OK  ] Finished Load/Save Random Seed.
    [  OK  ] Finished Create Volatile Files and Directories.
             Starting Rebuild Journal Catalog...
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
    [  OK  ] Finished Rebuild Dynamic Linker Cache.
    [  OK  ] Started Rule-based Manager for Device Events and Files.
             Starting Network Configuration...
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [  OK  ] Finished Rebuild Journal Catalog.
             Starting Update is Completed...
    [  OK  ] Finished Update is Completed.
    [   14.565468] pwm-backlight backlight: supply power not found, using dummy regulator
    [  OK  ] Started Network Time Synchronization.
    [   14.623052] platform backlight: deferred probe pending
    [  OK  ] Reached target System Time Set.
    [   14.652418] platform panel: deferred probe pending
    [  OK  ] Started Network Configuration.
             Starting Network Name Resolution...
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timer Units.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Reached target Basic System.
             Starting D-Bus System Message Bus...
             Starting User Login Management...
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started Network Name Resolution.
    [   17.598942] mtdblock: MTD device 'NAND.SPL' is NAND, please consider using UBI block devices instead.
    [   17.613217] mtdblock: MTD device 'NAND.SPL.backup1' is NAND, please consider using UBI block devices instead.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
    [   17.676061] mtdblock: MTD device 'NAND.SPL.backup2' is NAND, please consider using UBI block devices instead.
    [   17.735432] mtdblock: MTD device 'NAND.SPL.backup3' is NAND, please consider using UBI block devices instead.
             Starting Permit User Sessions...
    [   17.850384] mtdblock: MTD device 'NAND.u-boot-spl-os' is NAND, please consider using UBI block devices instead.
    [   17.866659] mtdblock: MTD device 'NAND.u-boot' is NAND, please consider using UBI block devices instead.
    [   18.073444] mtdblock: MTD device 'NAND.u-boot-env' is NAND, please consider using UBI block devices instead.
    [   18.087642] mtdblock: MTD device 'NAND.u-boot-env.backup1' is NAND, please consider using UBI block devices instead.
    [   18.104215] mtdblock: MTD device 'NAND.kernel' is NAND, please consider using UBI block devices instead.
    [   18.266507] mtdblock: MTD device 'NAND.file-system' is NAND, please consider using UBI block devices instead.
    [  OK  ] Finished Permit User Sessions.
    [   18.357145] cpsw-switch 4a100000.switch: starting ndev. mode: dual_mac
    [   18.579260] Qualcomm Atheros AR8031/AR8033 4a101000.mdio:00: attached PHY driver (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [*     ] A start job is running for User Login Management (11s / 1min 36s)
    
    [  OK  ] Started User Login Management.
    [  OK  ] Listening on Load/Save RF �itch Status /dev/rfkill Watch.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Reached target Login Prompts.
    [  OK  ] Reached target Multi-User System.
             Starting Synchronize System and HW clocks...
             Starting Record Runlevel Change in UTMP...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Finished Record Runlevel Change in UTMP.
    
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project am335x-evm -
    
    Arago 2023.04 am335x-evm -
    
    am335x-evm login: root
    
    root@am335x-evm:~# uname -a
    Linux am335x-evm 6.1.46-g1d4b5da681 #1 PREEMPT Thu Oct 19 10:19:08 UTC 2023 armv7l GNU/Linux
    root@am335x-evm:~# cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 00020000 00020000 "NAND.SPL"
    mtd1: 00020000 00020000 "NAND.SPL.backup1"
    mtd2: 00020000 00020000 "NAND.SPL.backup2"
    mtd3: 00020000 00020000 "NAND.SPL.backup3"
    mtd4: 00040000 00020000 "NAND.u-boot-spl-os"
    mtd5: 00200000 00020000 "NAND.u-boot"
    mtd6: 00020000 00020000 "NAND.u-boot-env"
    mtd7: 00020000 00020000 "NAND.u-boot-env.backup1"
    mtd8: 00800000 00020000 "NAND.kernel"
    mtd9: 0f500000 00020000 "NAND.file-system"
    root@am335x-evm:~#