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.

TDA4VM: UBIFS rootfs question.

Part Number: TDA4VM


Hi all , I want to use OSPI to bring up tda4evm board. and the switch has been set to OSPI mode.

my partions is :  "mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),1m(ospi.sysfw),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern)".

 
I use flashcp to write all images.
"
flashcp -v $boot_dir/tiboot3.bin /dev/mtd0
flashcp -v $boot_dir/tispl.bin /dev/mtd1
flashcp -v $boot_dir/u-boot.img /dev/mtd2
flashcp -v $boot_dir/uenv.txt /dev/mtd3
flashcp -v $boot_dir/sysfw.itb /dev/mtd4
flashcp -v $boot_dir/uenv.txt /dev/mtd5
flashcp -v $boot_dir/rootfs.ubifs /dev/mtd6
flashcp -v $boot_dir/ospi_phy_pattern /dev/mtd7
"
when power on. it can't start up successfully. the log is below:
U-Boot SPL 2021.01 (Jul 18 2022 - 17:56:05 +0800)
Model: Texas Instruments K3 J721E SoC
Board: J721EX-PM2-SOM rev E8
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
Trying to boot from SPI
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.5(release):08.00.00.004-dirty
NOTICE:  BL31: Built : 22:30:09, Aug  4 2021

U-Boot SPL 2021.01 (Jul 18 2022 - 17:53:24 +0800)
Model: Texas Instruments K3 J721E SoC
Board: J721EX-PM2-SOM rev E8
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
Trying to boot from SPI
cadence_spi spi@47040000: Can't get reset: -2
k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
k3-navss-ringacc ringacc@2b800000: dma-ring-reset-quirk: disabled


U-Boot 2021.01 (Jul 18 2022 - 18:10:46 +0800)

SoC:   J721E SR2.0
Model: Texas Instruments K3 J721E SoC
Board: J721EX-PM2-SOM rev E8
DRAM:  4 GiB
Flash: 0 Bytes
MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
Net:   am65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
eth0: ethernet@46000000
Hit any key to stop autoboot:  0 
=> 
=> 
=> print
addr_fit=0x90000000
arch=arm
args_all=setenv optargs earlycon=ns16550a,mmio32,0x02800000 ${mtdparts}
args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
args_ubi=setenv bootargs console=${console} ${optargs} rootfstype=ubifs root=ubi0:rootfs rw ubi.mtd=ospi.rootfs
args_ufs=setenv devtype scsi;setenv bootpart 1:1;run ufs_finduuid;setenv bootargs console = ${console} ${optargs}root=PARTUUID=${uuid} rw rootfstype=${scsirootfstype};setenv devtype scsi;setenv bootpart 1:1
baudrate=115200
board=j721e
board_name=J721EX-PM2-SOM
board_rev=E8
board_serial=0183
board_software_revision=01
boot=mmc
boot_fdt=try
boot_fit=0
boot_rprocs=if test ${dorprocboot} -eq 1 && test ${boot} = mmc; then rproc init;run boot_rprocs_mmc;fi;
boot_rprocs_mmc=env set rproc_id;env set rproc_fw;for i in ${rproc_fw_binaries} ; do if test -z "${rproc_id}" ; then env set rproc_id $i;else env set rproc_fw $i;run rproc_load_and_boot_one;env set rproc_id;env set rproc_fw;fi;done
bootcmd=run findfdt; run envboot; run init_${boot}; run boot_rprocs; run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern
bootdelay=2
bootdir=/boot
bootenvfile=uEnv.txt
bootm_size=0x10000000
bootpart=1:2
bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
console=ttyS2,115200n8
cpu=armv8
default_device_tree=k3-j721e-common-proc-board.dtb
dfu_alt_info_emmc=rawemmc raw 0 0x800000 mmcpart 1;rootfs part 0 1 mmcpart 0;tiboot3.bin.raw raw 0x0 0x400 mmcpart 1;tispl.bin.raw raw 0x400 0x1000 mmcpart 1;u-boot.img.raw raw 0x1400 0x2000 mmcpart 1;u-env.raw raw 0x3400 0x100 mmcpart 1;sysfw.itb.raw raw 0x3600 0x800 mmcpart 1
dfu_alt_info_mmc=boot part 1 1;rootfs part 1 2;tiboot3.bin fat 1 1;tispl.bin fat 1 1;u-boot.img fat 1 1;uEnv.txt fat 1 1;sysfw.itb fat 1 1
dfu_alt_info_ospi=tiboot3.bin raw 0x0 0x080000;tispl.bin raw 0x080000 0x200000;u-boot.img raw 0x280000 0x400000;u-boot-env raw 0x680000 0x020000;sysfw.itb raw 0x6c0000 0x100000;rootfs raw 0x800000 0x3800000
dfu_alt_info_ram=tispl.bin ram 0x80080000 0x100000;u-boot.img ram 0x81000000 0x100000
dorprocboot=0
dtboaddr=0x89000000
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=70:ff:76:1d:a6:58
eth2addr=70:ff:76:1d:a6:59
eth3addr=70:ff:76:1d:a6:5a
eth4addr=70:ff:76:1d:a6:5b
ethaddr=f4:84:4c:f9:65:77
fdt_addr_r=0x88000000
fdtaddr=0x88000000
fdtcontroladdr=fdeb2db0
findfdt=setenv name_fdt ${default_device_tree};if test $board_name = J721EX-PM1-SOM; then setenv name_fdt k3-j721e-proc-board-tps65917.dtb; fi;if test $board_name = j721e; then setenv name_fdt k3-j721e-common-proc-board.dtb; fi;if test $board_name = j721e-eaik; then setenv name_fdt k3-j721e-eaik.dtb; fi;setenv fdtfile ${name_fdt}
finduuid=part uuid mmc ${bootpart} uuid
get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${name_fdt}
get_fdt_ubi=ubifsload ${fdtaddr} ${bootdir}/${name_fdt}
get_fdt_ufs=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
get_fit_mmc=load mmc ${bootpart} ${addr_fit} ${bootdir}/${name_fit}
get_kern_mmc=load mmc ${bootpart} ${loadaddr} ${bootdir}/${name_kern}
get_kern_ubi=ubifsload ${loadaddr} ${bootdir}/${name_kern}
get_kern_ufs=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${name_kern}
get_overlay_mmc=fdt address ${fdtaddr};fdt resize 0x100000;for overlay in $name_overlays;do;load mmc ${bootpart} ${dtboaddr} ${bootdir}/${overlay} && fdt apply ${dtboaddr};done;
get_overlay_ufs=fdt address ${fdtaddr};fdt resize 0x100000;for overlay in $name_overlays;do;load scsi ${bootpart} ${dtboaddr} ${bootdir}/${overlay} && fdt apply ${dtboaddr};done;
get_overlaystring=for overlay in $name_overlays;do;setenv overlaystring ${overlaystring}'#'${overlay};done;
importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
init_mmc=run args_all args_mmc
init_ubi=run args_all args_ubi; sf probe; ubi part ospi.rootfs; ubifsmount ubi:rootfs;
init_ufs=ufs init; scsi scan; run args_ufs
kernel_addr_r=0x82000000
loadaddr=0x82000000
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr
loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
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 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=nor0=47040000.spi.0,nor0=47034000.hyperbus
mtdparts=mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),1m(ospi.sysfw),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern)
name_fit=fitImage
name_kern=Image
partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs}
pxefile_addr_r=0x80100000
ramdisk_addr_r=0x88080000
rd_spec=-
rdaddr=0x88080000
rproc_fw_binaries=2 /lib/firmware/j7-main-r5f0_0-fw 3 /lib/firmware/j7-main-r5f0_1-fw 4 /lib/firmware/j7-main-r5f1_0-fw 5 /lib/firmware/j7-main-r5f1_1-fw 6 /lib/firmware/j7-c66_0-fw 7 /lib/firmware/j7-c66_1-fw 8 /lib/firmware/j7-c71_0-fw 
rproc_load_and_boot_one=if load mmc ${bootpart} $loadaddr ${rproc_fw}; then if rproc load ${rproc_id} ${loadaddr} ${filesize}; then rproc start ${rproc_id};fi;fi
run_fit=bootm ${addr_fit}#${fdtfile}${overlaystring}
run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
scriptaddr=0x80000000
scsirootfstype=ext4 rootwait
serial#=0000000000000183
soc=k3
stderr=serial@2800000
stdin=serial@2800000
stdout=serial@2800000
ufs_finduuid=part uuid scsi ${bootpart} uuid
update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit}
vendor=ti

Environment size: 6220/131068 bytes
=> setenv boot ubi
=> boot
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
Failed to load 'boot.scr'
0 bytes read in 1 ms (0 Bytes/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
cadence_spi spi@47040000: Can't get reset: -2
k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
k3-navss-ringacc ringacc@2b800000: dma-ring-reset-quirk: disabled
SF: Detected mt35xu512aba with page size 256 Bytes, erase size 128 KiB, total 64 MiB
ubi0: attaching mtd7
ubi0: scanning is finished
ubi0 error: ubi_read_volume_table: the layout volume was not found
ubi0 error: ubi_attach_mtd_dev: failed to attach mtd7, error -22
UBI error: cannot attach mtd7
UBI error: cannot initialize UBI, error -22
UBI init error 22
Please check, if the correct MTD partition is used (size big enough?)
UBIFS error (pid: 1): cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs' errno=-19!
ubifsmount - mount UBIFS volume

Usage:
ubifsmount <volume-name>
    - mount 'volume-name' volume
UBIFS not mounted, use ubifs mount to mount volume first!
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload <addr> <filename> [bytes]
    - load file 'filename' to address 'addr'
UBIFS not mounted, use ubifs mount to mount volume first!
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload <addr> <filename> [bytes]
    - load file 'filename' to address 'addr'
## Error: "get_overlay_ubi" not defined
Bad Linux ARM64 Image magic!
=> 
if I need to format the mtd7 to a ubifs first ? if it is , what's the detail step to do this, thanks 
  • HI, i have follow the instructions ,and it can bringup successfully just once. I have some questions:

    1. I do the same steps as the instructions, when it bringup successfully, i power off, an power on, do the same command as descrive in uboot. it goes error like below:

    U-Boot SPL 2021.01 (Jul 18 2022 - 18:10:46 +0800)
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev E8
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    Trying to boot from SPI
    cadence_spi spi@47040000: Can't get reset: -2
    k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    k3-navss-ringacc ringacc@2b800000: dma-ring-reset-quirk: disabled
    
    
    U-Boot 2021.01 (Jul 19 2022 - 11:18:25 +0800)
    
    SoC:   J721E SR2.0
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev E8
    DRAM:  4 GiB
    Flash: 0 Bytes
    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    Net:   am65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
    eth0: ethernet@46000000
    Hit any key to stop autoboot:  0 
    => 
    => 
    => run args_all
    => run args_ubi
    => setenv boot ubi
    => ext4load mmc 1:2 0x82000000 /boot/Image
    19137024 bytes read in 779 ms (23.4 MiB/s)
    => ext4load mmc 1:2 0x81200000 /boot/k3-j721e-common-proc-board.dtb
    73284 bytes read in 13 ms (5.4 MiB/s)
    => booti 0x82000000 - 0x81200000
    ## Flattened Device Tree blob at 81200000
       Booting using the fdt blob at 0x81200000
       Loading Device Tree to 000000008ffeb000, end 000000008ffffe43 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.10.41-g4c2eade9f7 (davis@ubuntu) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Tue Jul 12 13:28:53 CST 2022
    [    0.000000] Machine model: Texas Instruments K3 J721E SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a8ffffff]
    [    0.000000]   node   0: [mem 0x00000000a9000000-0x00000000a9ffffff]
    [    0.000000]   node   0: [mem 0x00000000aa000000-0x00000000abbfffff]
    [    0.000000]   node   0: [mem 0x00000000abc00000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] cma: Reserved 512 MiB at 0x00000000e0000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.2
    [    0.000000] percpu: Embedded 2 pages/cpu s49880 r8192 d73000 u131072
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: EL2 vector hardening
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65472
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),1m(ospi.sysfw),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern) rootfstype=ubifs root=ubi0:flash_fs rw ubi.mtd=ospi.rootfs
    [    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x00000000dc000000-0x00000000e0000000] (64MB)
    [    0.000000] Memory: 3372096K/4194304K available (10816K kernel code, 1344K rwdata, 4288K rodata, 1856K init, 758K bss, 297920K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008800b0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008800c0000
    [    0.000000] random: get_random_bytes called from start_kernel+0x32c/0x4d4 with crng_init=0
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008342] Console: colour dummy device 80x25
    [    0.012903] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023574] pid_max: default: 32768 minimum: 301
    [    0.028319] LSM: Security Framework initializing
    [    0.033062] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.040628] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.049564] rcu: Hierarchical SRCU implementation.
    [    0.054610] Platform MSI: msi-controller@1820000 domain created
    [    0.060819] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.070107] EFI services will not be available.
    [    0.074849] smp: Bringing up secondary CPUs ...
    [    0.080027] Detected PIPT I-cache on CPU1
    [    0.080052] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.080063] GICv3: CPU1: using allocated LPI pending table @0x00000008800d0000
    [    0.080096] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.080149] smp: Brought up 1 node, 2 CPUs
    [    0.109494] SMP: Total of 2 processors activated.
    [    0.114300] CPU features: detected: 32-bit EL0 Support
    [    0.119553] CPU features: detected: CRC32 instructions
    [    0.133210] CPU: All CPU(s) started at EL2
    [    0.137403] alternatives: patching kernel code
    [    0.142387] devtmpfs: initialized
    [    0.149900] KASLR disabled due to lack of seed
    [    0.154558] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.164519] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
    [    0.172212] pinctrl core: initialized pinctrl subsystem
    [    0.177782] DMI not present or invalid.
    [    0.182003] NET: Registered protocol family 16
    [    0.189654] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.196954] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.204957] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.213259] thermal_sys: Registered thermal governor 'step_wise'
    [    0.213261] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.219670] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.233313] ASID allocator initialised with 65536 entries
    [    0.254876] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
    [    0.261730] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.268488] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.276328] cryptd: max_cpu_qlen set to 1000
    [    0.282305] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
    [    0.291180] vsys_3v3: supplied by evm_12v0
    [    0.295493] vsys_5v0: supplied by evm_12v0
    [    0.300115] iommu: Default domain type: Translated 
    [    0.305240] SCSI subsystem initialized
    [    0.309399] mc: Linux media interface: v0.10
    [    0.313773] videodev: Linux video capture interface: v2.00
    [    0.319404] pps_core: LinuxPPS API ver. 1 registered
    [    0.324474] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.333810] PTP clock support registered
    [    0.337830] EDAC MC: Ver: 3.0.0
    [    0.341553] FPGA manager framework
    [    0.345060] Advanced Linux Sound Architecture Driver Initialized.
    [    0.351669] clocksource: Switched to clocksource arch_sys_counter
    [    0.358077] VFS: Disk quotas dquot_6.6.0
    [    0.362120] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.371825] NET: Registered protocol family 2
    [    0.376410] IP idents hash table entries: 65536 (order: 3, 524288 bytes, linear)
    [    0.384968] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
    [    0.393734] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)
    [    0.401930] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)
    [    0.409721] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.416465] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.423357] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.430750] NET: Registered protocol family 1
    [    0.435433] RPC: Registered named UNIX socket transport module.
    [    0.441494] RPC: Registered udp transport module.
    [    0.446298] RPC: Registered tcp transport module.
    [    0.451101] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.457685] PCI: CLS 0 bytes, default 64
    [    0.462032] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.472232] Initialise system trusted keyrings
    [    0.476840] workingset: timestamp_bits=46 max_order=16 bucket_order=0
    [    0.485061] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.491271] NFS: Registering the id_resolver key type
    [    0.496481] Key type id_resolver registered
    [    0.500753] Key type id_legacy registered
    [    0.504872] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.511721] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.519354] 9p: Installing v9fs 9p2000 file system support
    [    0.544459] Key type asymmetric registered
    [    0.548645] Asymmetric key parser 'x509' registered
    [    0.553641] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.561200] io scheduler mq-deadline registered
    [    0.565825] io scheduler kyber registered
    [    0.571077] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
    [    0.577266] pinctrl-single 11c000.pinctrl: 173 pins, size 692
    [    0.585656] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.591930] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.599656] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.607706] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    0.616680] arm-smmu-v3 36600000.iommu: allocated 524288 entries for cmdq
    [    0.625525] arm-smmu-v3 36600000.iommu: allocated 524288 entries for evtq
    [    0.633245] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
    [    0.646127] brd: module loaded
    [    0.651957] loop: module loaded
    [    0.655757] megasas: 07.714.04.00-rc1
    [    0.660668] libphy: Fixed MDIO Bus: probed
    [    0.665305] tun: Universal TUN/TAP device driver, 1.6
    [    0.670710] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.677121] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.683195] sky2: driver version 1.30
    [    0.687432] VFIO - User Level meta-driver version: 0.3
    [    0.693085] i2c /dev entries driver
    [    0.697247] sdhci: Secure Digital Host Controller Interface driver
    [    0.703567] sdhci: Copyright(c) Pierre Ossman
    [    0.708255] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.714571] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.720894] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.728006] optee: probing for conduit method.
    [    0.732557] optee: revision 3.12 (3d47a131)
    [    0.732798] optee: initialized driver
    [    0.742048] NET: Registered protocol family 17
    [    0.746660] 9pnet: Installing 9P2000 support
    [    0.751045] Key type dns_resolver registered
    [    0.755487] Loading compiled-in X.509 certificates
    [    0.764716] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.771044] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.779117] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
    [    0.805434] random: fast init done
    [    0.831513] davinci-mcasp 2ba0000.mcasp: IRQ common not found
    [    0.838951] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.845004] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.851056] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.857440] pca953x 3-0020: supply vcc not found, using dummy regulator
    [    0.864255] pca953x 3-0020: using no AI
    [    0.892436] pca953x 3-0022: supply vcc not found, using dummy regulator
    [    0.899233] pca953x 3-0022: using AI
    [    0.903501] gpio-480 (CTRL_PM_I2C_OE): hogged as output/high
    [    0.909474] gpio-481 (MCASP/TRACE_MUX_S0): hogged as output/low
    [    0.915714] gpio-482 (MCASP/TRACE_MUX_S1): hogged as output/high
    [    0.922210] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.928625] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.938551] omap_i2c 2020000.i2c: bus 5 rev0.12 at 400 kHz
    [    0.944817] pca953x 6-0020: supply vcc not found, using dummy regulator
    [    0.951632] pca953x 6-0020: using no AI
    [    0.976338] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
    [    0.982358] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
    [    0.988289] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
    [    0.994493] pca953x 9-0020: supply vcc not found, using dummy regulator
    [    1.001313] pca953x 9-0020: using no AI
    [    1.028288] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
    [    1.034692] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    1.044651] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    1.053458] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 213 domain created
    [    1.063281] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    1.082930] cdns-torrent-phy 5050000.serdes: 4 lanes, max bit rate 5.400 Gbps
    [    1.090610] j721e-pcie 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges:
    [    1.098276] j721e-pcie 2900000.pcie:       IO 0x0010001000..0x0010010fff -> 0x0010001000
    [    1.106552] j721e-pcie 2900000.pcie:      MEM 0x0010011000..0x0017ffffff -> 0x0010011000
    [    1.114827] j721e-pcie 2900000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    2.125170] j721e-pcie 2900000.pcie: PCI host bridge to bus 0000:00
    [    2.131587] pci_bus 0000:00: root bus resource [bus 00-0f]
    [    2.137193] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x10001000-0x10010fff])
    [    2.146884] pci_bus 0000:00: root bus resource [mem 0x10011000-0x17ffffff]
    [    2.153932] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
    [    2.160071] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    2.169940] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    2.179830] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xe8 may corrupt adjacent RW1C bits
    [    2.189791] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.199759] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x92 may corrupt adjacent RW1C bits
    [    2.209718] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xb2 may corrupt adjacent RW1C bits
    [    2.219703] pci 0000:00:00.0: supports D1
    [    2.223796] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    2.229668] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x84 may corrupt adjacent RW1C bits
    [    2.241130] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    2.249320] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.259279] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.269237] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.280536] pci_bus 0000:01: busn_res: [bus 01-0f] end is updated to 01
    [    2.287304] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    2.292569] pcieport 0000:00:00.0: PME: Signaling with IRQ 56
    [    2.298880] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    2.306554] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    2.314833] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    2.323110] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    3.333328] j721e-pcie 2910000.pcie: PCI host bridge to bus 0001:00
    [    3.339737] pci_bus 0001:00: root bus resource [bus 00-0f]
    [    3.345342] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
    [    3.355210] pci_bus 0001:00: root bus resource [mem 0x18011000-0x1fffffff]
    [    3.362253] pci 0001:00:00.0: [104c:b00d] type 01 class 0x060400
    [    3.368454] pci 0001:00:00.0: supports D1
    [    3.372548] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
    [    3.379884] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    3.389402] pci_bus 0001:01: busn_res: [bus 01-0f] end is updated to 01
    [    3.396170] pci 0001:00:00.0: PCI bridge to [bus 01]
    [    3.401426] pcieport 0001:00:00.0: PME: Signaling with IRQ 59
    [    3.407711] j721e-pcie 2920000.pcie: host bridge /bus@100000/pcie@2920000 ranges:
    [    3.415376] j721e-pcie 2920000.pcie:       IO 0x4400001000..0x4400010fff -> 0x0000001000
    [    3.423651] j721e-pcie 2920000.pcie:      MEM 0x4400011000..0x4407ffffff -> 0x0000011000
    [    3.431926] j721e-pcie 2920000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    4.442283] j721e-pcie 2920000.pcie: PCI host bridge to bus 0002:00
    [    4.448695] pci_bus 0002:00: root bus resource [bus 00-0f]
    [    4.454300] pci_bus 0002:00: root bus resource [io  0x20000-0x2ffff] (bus address [0x1000-0x10fff])
    [    4.463547] pci_bus 0002:00: root bus resource [mem 0x4400011000-0x4407ffffff] (bus address [0x00011000-0x07ffffff])
    [    4.474321] pci 0002:00:00.0: [104c:b00d] type 01 class 0x060400
    [    4.480521] pci 0002:00:00.0: supports D1
    [    4.484615] pci 0002:00:00.0: PME# supported from D0 D1 D3hot
    [    4.491932] pci 0002:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    4.501448] pci_bus 0002:01: busn_res: [bus 01-0f] end is updated to 01
    [    4.508219] pci 0002:00:00.0: PCI bridge to [bus 01]
    [    4.513466] pcieport 0002:00:00.0: PME: Signaling with IRQ 62
    [    4.520150] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    4.530028] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    4.536787] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    4.545719] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    4.555876] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    4.562635] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    4.570547] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 15, base_baud = 6000000) is a 8250
    [    4.579908] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 33, base_baud = 3000000) is a 8250
    [    4.588652] printk: console [ttyS2] enabled
    [    4.588652] printk: console [ttyS2] enabled
    [    4.597089] printk: bootconsole [ns16550a0] disabled
    [    4.597089] printk: bootconsole [ns16550a0] disabled
    [    4.607507] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 34, base_baud = 3000000) is a 8250
    [    4.616410] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 35, base_baud = 3000000) is a 8250
    [    4.626782] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
    [    4.637297] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
    [    4.647452] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
    [    4.657692] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
    [    4.668455] scsi host0: ufshcd
    [    4.690320] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAUTO_MODE], rate = 0
    [    4.711673] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    4.719313] libphy: 46000f00.mdio: probed
    [    4.724615] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    4.726396] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2
    [    4.732915] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    4.744529] cdns-ufshcd 4e84000.ufs: ufshcd_find_max_sup_active_icc_level: Regulator capability was not set, actvIccLevel=0
    [    4.768546] scsi 0:0:0:49488: Well-known LUN    TOSHIBA  THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6
    [    4.777321] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    4.777420] scsi 0:0:0:49476: Well-known LUN    TOSHIBA  THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6
    [    4.794089] davinci-mcasp 2ba0000.mcasp: IRQ common not found
    [    4.795735] mmc0: CQHCI version 5.10
    [    4.803440] cdns-ufshcd 4e84000.ufs: ufshcd_scsi_add_wlus: BOOT WLUN not found
    [    4.816308] vdd_mmc1: supplied by vsys_3v3
    [    4.820950] pca953x 4-0020: supply vcc not found, using dummy regulator
    [    4.827607] pca953x 4-0020: using no AI
    [    4.839675] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    4.852576] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    4.859397] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    4.866202] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    4.873006] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    4.879791] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    4.889494] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    4.899485] ti-udma 31150000.dma-controller: Channels: 84 (tchan: 42, rchan: 42, gp-rflow: 16)
    [    4.912428] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
    [    4.919300] spi-nor: probe of spi0.0 failed with error -2
    [    4.926698] spi-nor spi1.0: mt25qu512a (65536 Kbytes)
    [    4.934375] mmc0: Command Queue Engine enabled
    [    4.938832] mmc0: new HS400 MMC card at address 0001
    [    4.944066] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
    [    4.948692] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [    4.954698] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [    4.960678] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
    [    4.971699] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    4.979346] libphy: 46000f00.mdio: probed
    [    4.984547] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    4.992850] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    5.006396] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    5.013291] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    5.020501] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    5.026752] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
    [    5.036915] davinci-mcasp 2ba0000.mcasp: IRQ common not found
    [    5.037290] mmc1: CQHCI version 5.10
    [    5.054240] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present!
    [    5.061581] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
    [    5.068916] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    5.076227] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
    [    5.083952] UBI error: cannot open mtd ospi.rootfs, error -2
    [    5.089961] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    5.106101] ALSA device list:
    [    5.109068]   No soundcards found.
    [    6.101371] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    6.109480] VFS: Cannot open root device "ubi0:flash_fs" or unknown-block(0,0): error -19
    [    6.117718] Please append a correct "root=" boot option; here are the available partitions:
    [    6.126060] 0100            4096 ram0 
    [    6.126062]  (driver?)
    [    6.132206] 0101            4096 ram1 
    [    6.132208]  (driver?)
    [    6.138349] 0102            4096 ram2 
    [    6.138350]  (driver?)
    [    6.144491] 0103            4096 ram3 
    [    6.144492]  (driver?)
    [    6.150630] 0104            4096 ram4 
    [    6.150631]  (driver?)
    [    6.156726] 0105            4096 ram5 
    [    6.156728]  (driver?)
    [    6.162814] 0106            4096 ram6 
    [    6.162816]  (driver?)
    [    6.168911] 0107            4096 ram7 
    [    6.168912]  (driver?)
    [    6.174999] 0108            4096 ram8 
    [    6.175001]  (driver?)
    [    6.181087] 0109            4096 ram9 
    [    6.181089]  (driver?)
    [    6.187177] 010a            4096 ram10 
    [    6.187178]  (driver?)
    [    6.193359] 010b            4096 ram11 
    [    6.193361]  (driver?)
    [    6.199532] 010c            4096 ram12 
    [    6.199534]  (driver?)
    [    6.205705] 010d            4096 ram13 
    [    6.205707]  (driver?)
    [    6.211887] 010e            4096 ram14 
    [    6.211889]  (driver?)
    [    6.218068] 010f            4096 ram15 
    [    6.218069]  (driver?)
    [    6.224254] 1f00           65536 mtdblock0 
    [    6.224256]  (driver?)
    [    6.230784] b300        15540224 mmcblk0 
    [    6.230786]  driver: mmcblk
    [    6.237575] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [    6.245818] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.41-g4c2eade9f7 #1
    [    6.252845] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [    6.258659] Call trace:
    [    6.261104]  dump_backtrace+0x0/0x1a0
    [    6.264753]  show_stack+0x18/0x68
    [    6.268056]  dump_stack+0xd0/0x12c
    [    6.271444]  panic+0x16c/0x334
    [    6.274488]  mount_block_root+0x1c4/0x254
    [    6.278481]  prepare_namespace+0x90/0x170
    [    6.282475]  kernel_init_freeable+0x210/0x23c
    [    6.286816]  kernel_init+0x14/0x114
    [    6.290291]  ret_from_fork+0x10/0x34
    [    6.293855] SMP: stopping secondary CPUs
    [    6.297765] Kernel Offset: disabled
    [    6.301239] CPU features: 0x0040022,20006008
    [    6.305493] Memory Limit: none
    [    6.308539] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
    
    
     

    this is because the file system has been corrupted? if it is. How could I resove this problem?

    2. in uboot, since i have set the environment as "get_kern_ubi=ubifsload ${loadaddr} ${bootdir}/${name_kern}get_fdt_ubi=ubifsload ${fdtaddr} ${bootdir}/${name_fdt}", Why do I have to download  manually like this "ext4load mmc 1:2 0x82000000 /boot/Image;ext4load mmc 1:2 0x81200000 /boot/k3-j721e-common-proc-board.dtb"

    3. I want to boot with OSPI alone, independent of the SD card,How should i do? 

    Thanks 

  • Hi,

    Quoting from the below e2e.

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/920696/tda4vm-flashing-the-tiny-rootfs-image-using-uniflash-on-ospi/3488577#3488577 

    this is because the file system has been corrupted? if it is. How could I resove this problem?

    NOTE: I've seen if you do a hard reboor (power OFF -> ON) when the UBIFS is mounted then the next time it corrupts the file system. Please use a soft reboor (run reboot at command from kernel) instead.

    2. in uboot, since i have set the environment as "get_kern_ubi=ubifsload ${loadaddr} ${bootdir}/${name_kern}get_fdt_ubi=ubifsload ${fdtaddr} ${bootdir}/${name_fdt}", Why do I have to download  manually like this "ext4load mmc 1:2 0x82000000 /boot/Image;ext4load mmc 1:2 0x81200000 /boot/k3-j721e-common-proc-board.dtb"

    NOTE We are not flashing the Kernel Image and DTB to this as then u-boot needs to read the Image and DTB from the UBIFS and currently there is an issue when u-boot tries to open and read the UNIFS. To work around this we provide the Kernel Image and DTB to the u-boot.

    3. I want to boot with OSPI alone, independent of the SD card,How should i do? 

    Is eMMC an option for you? Can you put the file system in eMMC?

    Regards

    Karan