Part Number: PROCESSOR-SDK-J7200
Tool/software:
Hi TI,
I have a J7200 evaluation board and I want to boot Linux in parallel with a custom firmware running on a MAIN-R5F Core throw U-Boot.
We are using Linux and U-Boot with the SPL from the J7200-Linux-SDK, version 10.01.08.01.
The firmware for the MAIN-R5F Core is developed with the PROCESSOR-SDK-RTOS-J7200, version 10.01.00.04.
To start the firmware via RemoteProc, I have placed it in the root file system under /usr/lib/firmware/customFwDir/ and created a sym-link "j7200-main-r5f0_1-fw".
The problem I'm facing seams to be:
* U-Boot is trying to start the Kernel but the root-filesystem could not be mounted from the sd-card.
See the following log file:
[ 2.978830] 7 fixed-partitions partitions found on MTD device 47040000.spi.0 [ 2.978835] Creating 7 MTD partitions on "47040000.spi.0": [ 2.978839] 0x000000000000-0x000000100000 : "ospi.tiboot3" [ 2.979633] 0x000000100000-0x000000300000 : "ospi.tispl" [ 2.980363] 0x000000300000-0x000000700000 : "ospi.u-boot" [ 2.981026] 0x000000700000-0x000000740000 : "ospi.env" [ 2.981679] 0x000000740000-0x000000780000 : "ospi.env.backup" [ 2.982334] 0x000000800000-0x000003fc0000 : "ospi.rootfs" [ 2.982974] 0x000003fc0000-0x000004000000 : "ospi.phypattern" [ 2.988181] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode [ 3.022230] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 3.024718] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867 [ 3.024740] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000 [ 3.024855] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4 [ 3.024858] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64 [ 3.025115] pps pps0: new PPS source ptp1 [ 3.025283] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1 [ 3.188142] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48 [ 3.192909] debugfs: Directory 'pd:49' with parent 'pm_genpd' already present! [ 3.194502] debugfs: Directory 'pd:35' with parent 'pm_genpd' already present! [ 3.194938] clk: Disabling unused clocks [ 3.208629] ALSA device list: [ 3.208634] No soundcards found. [ 3.238092] Waiting for root device PARTUUID=cb854782-02... [ 13.282548] platform 4fb0000.mmc: deferred probe pending [ 33.250244] vdd_mmc1: disabling
Comparing to a normal boot without a custom firmware on the MAIN-R5F Core:
[ 3.059535] 7 fixed-partitions partitions found on MTD device 47040000.spi.0 [ 3.059541] Creating 7 MTD partitions on "47040000.spi.0": [ 3.059545] 0x000000000000-0x000000100000 : "ospi.tiboot3" [ 3.060323] 0x000000100000-0x000000300000 : "ospi.tispl" [ 3.060972] 0x000000300000-0x000000700000 : "ospi.u-boot" [ 3.061679] 0x000000700000-0x000000740000 : "ospi.env" [ 3.062331] 0x000000740000-0x000000780000 : "ospi.env.backup" [ 3.062970] 0x000000800000-0x000003fc0000 : "ospi.rootfs" [ 3.063607] 0x000003fc0000-0x000004000000 : "ospi.phypattern" [ 3.068827] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode [ 3.102920] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 3.105450] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867 [ 3.105472] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000 [ 3.105588] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4 [ 3.105592] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64 [ 3.106018] pps pps0: new PPS source ptp1 [ 3.106179] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1 [ 3.268920] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48 [ 3.273990] debugfs: Directory 'pd:49' with parent 'pm_genpd' already present! [ 3.275522] debugfs: Directory 'pd:35' with parent 'pm_genpd' already present! [ 3.276378] mmc1: CQHCI version 5.10 [ 3.276796] clk: Disabling unused clocks [ 3.290469] ALSA device list: [ 3.290474] No soundcards found. [ 3.317836] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit [ 3.329898] Waiting for root device PARTUUID=cb854782-02... [ 3.369330] mmc1: new ultra high speed SDR104 SDHC card at address aaaa [ 3.369760] mmcblk1: mmc1:aaaa SK32G 29.7 GiB [ 3.371705] mmcblk1: p1 p2 [ 3.657833] EXT4-fs (mmcblk1p2): recovery complete [ 3.659975] EXT4-fs (mmcblk1p2): mounted filesystem ed7a60d3-4216-44b9-b4b1-3944e6c1f045 r/w with ordered data mode. Quota mode: none. [ 3.660018] VFS: Mounted root (ext4 filesystem) on device 179:98. [ 3.660679] devtmpfs: mounted [ 3.662050] Freeing unused kernel memory: 2048K [ 3.662115] Run /sbin/init as init process
Could you provide me some hints, where my fault could be located?