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.

Linux: AM5728:Failed to mount ramdisk file system

Other Parts Discussed in Thread: AM5728, DRA752

Tool/software: Linux

My board is AM572x Industrial EVM REV 1.3B

SDK Version:ti-processor-sdk-linux-am57xx-evm-05.00.00.15-Linux-x86-Install

My board can boot normally with the sd card. Now I want to mount the ramdisk filesystem at boot time, so I made ramdiskfs.gz according to ti's wiki and then configured the kernel. Then I downloaded the image file to SDRAM via tftp on the uboot command line, and I booted my board using the bootm command. At the time, the startup did not succeed and I don't know why.

Kernel configuration options:

The bootargs variable is as follows:

The command I used is:

tftp 0x82000000 uImage

tftp 0x88000000 am572x-idk.dtb

tftp 0x88080000 ramdiskfs.gz

bootm 0x82000000 0x88080000 0x88000000

The printed information of the serial port is as follows:

=> tftp 0x82000000 uImage;tftp 0x88000000 sdcard_am572x-idk.dtb;tftp 0x88080000 ramdiskfs.gz;bootm 0x82000000 0x88080000 0x88000000
link up on port 0, speed 100, full duplex
Using ethernet@48484000 device
TFTP from server 192.168.43.97; our IP address is 192.168.43.201
Filename 'uImage'.
Load address: 0x82000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
##############
1.5 MiB/s
done
Bytes transferred = 4014656 (3d4240 hex)
link up on port 0, speed 100, full duplex
Using ethernet@48484000 device
TFTP from server 192.168.43.97; our IP address is 192.168.43.201
Filename 'sdcard_am572x-idk.dtb'.
Load address: 0x88000000
Loading: #######
1.4 MiB/s
done
Bytes transferred = 101887 (18dff hex)
link up on port 0, speed 100, full duplex
Using ethernet@48484000 device
TFTP from server 192.168.43.97; our IP address is 192.168.43.201
Filename 'ramdiskfs.gz'.
Load address: 0x88080000
Loading: #
1.1 MiB/s
done
Bytes transferred = 9556 (2554 hex)
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux kernel
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4014592 Bytes = 3.8 MiB
Load Address: 82000000
Entry Point: 82000000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 88080000 ...
Image Name: uboot ext2 ramdisk rootfs
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 9492 Bytes = 9.3 KiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Kernel Image ... OK
Loading Ramdisk to 8fffd000, end 8ffff514 ... OK
Loading Device Tree to 8ffe1000, end 8fffcdfe ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.40-g4796173fc5 (gsk@gsk-machine) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #3 SMP PREEMPT Mon Nov 26 15:55:37 CST 2018
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM5728 IDK
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
[ 0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
[ 0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
[ 0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
[ 0.000000] OF: reserved mem: initialized node dsp2-memory@9f000000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
[ 0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
[ 0.000000] DRA752 ES2.0
[ 0.000000] percpu: Embedded 15 pages/cpu @eed33000 s31308 r8192 d21940 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 407104
[ 0.000000] Kernel command line: androidboot.serialno=0e00701319b00122 console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=am57xevmboard root=/dev/ram0 rw initrd=0x88080000,8M init=/linuxrc ramdisk_size=8M mem=2048M
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 1407596K/1635328K available (8192K kernel code, 346K rwdata, 2516K rodata, 2048K init, 299K bss, 39316K reserved, 188416K cma-reserved, 1020928K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0a00000 (10208 kB)
[ 0.000000] .init : 0xc0e00000 - 0xc1000000 (2048 kB)
[ 0.000000] .data : 0xc1000000 - 0xc1056ba8 ( 347 kB)
[ 0.000000] .bss : 0xc1058000 - 0xc10a2c7c ( 300 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
[ 0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[ 0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[ 0.000017] Switching to timer-based delay loop, resolution 162ns
[ 0.000343] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.000352] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.000809] Console: colour dummy device 80x30
[ 0.000840] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[ 0.000856] pid_max: default: 32768 minimum: 301
[ 0.000973] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000987] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001509] CPU: Testing write buffer coherency: ok
[ 0.001721] /cpus/cpu@0 missing clock-frequency property
[ 0.001740] /cpus/cpu@1 missing clock-frequency property
[ 0.001752] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.039871] Setting up static identity map for 0x80200000 - 0x80200060
[ 0.059883] Hierarchical SRCU implementation.
[ 0.080073] EFI services will not be available.
[ 0.099943] smp: Bringing up secondary CPUs ...
[ 0.170251] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.170347] smp: Brought up 1 node, 2 CPUs
[ 0.170361] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[ 0.170369] CPU: All CPU(s) started in HYP mode.
[ 0.170376] CPU: Virtualization extensions available.
[ 0.170833] devtmpfs: initialized
[ 0.188426] random: get_random_u32 called from bucket_table_alloc+0x108/0x230 with crng_init=0
[ 0.188767] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.188957] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.188974] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.192830] pinctrl core: initialized pinctrl subsystem
[ 0.193282] DMI not present or invalid.
[ 0.193528] NET: Registered protocol family 16
[ 0.194667] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.195590] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.396861] cpuidle: using governor ladder
[ 0.396895] cpuidle: using governor menu
[ 0.405076] OMAP GPIO hardware version 0.1
[ 0.430551] No ATAGs?
[ 0.430621] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.430635] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.430992] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.431003] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.431511] OMAP DMA hardware revision 0.0
[ 0.446493] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[ 0.447742] edma 43300000.edma: memcpy is disabled
[ 0.450986] edma 43300000.edma: TI EDMA DMA engine driver
[ 0.454023] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[ 0.454220] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[ 0.454459] omap-iommu 58882000.mmu: 58882000.mmu registered
[ 0.454698] omap-iommu 55082000.mmu: 55082000.mmu registered
[ 0.455042] omap-iommu 41501000.mmu: 41501000.mmu registered
[ 0.455251] omap-iommu 41502000.mmu: 41502000.mmu registered
[ 0.455469] iommu: Adding device 58820000.ipu to group 1
[ 0.455543] iommu: Adding device 55020000.ipu to group 2
[ 0.455677] iommu: Adding device 40800000.dsp to group 0
[ 0.455913] iommu: Adding device 41000000.dsp to group 3
[ 0.458085] palmas 0-0058: Irq flag is 0x00000004
[ 0.482215] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
[ 0.483861] SMPS12: supplied by regulator-dummy
[ 0.485605] SMPS3: supplied by VMAIN
[ 0.487197] SMPS45: supplied by regulator-dummy
[ 0.489047] SMPS6: supplied by VMAIN
[ 0.490757] SMPS7: supplied by VMAIN
[ 0.492614] SMPS8: supplied by VMAIN
[ 0.493900] SMPS9: supplied by VMAIN
[ 0.494894] LDO1: supplied by VMAIN
[ 0.501143] random: fast init done
[ 0.501279] LDO2: supplied by VMAIN
[ 0.511154] LDO3: supplied by VMAIN
[ 0.521171] LDO4: supplied by VMAIN
[ 0.531155] LDO5: supplied by regulator-dummy
[ 0.531848] LDO6: supplied by regulator-dummy
[ 0.532550] LDO7: supplied by regulator-dummy
[ 0.533241] LDO8: supplied by regulator-dummy
[ 0.533961] LDO9: supplied by VMAIN
[ 0.541490] LDOLN: supplied by VMAIN
[ 0.551203] LDOUSB: supplied by VMAIN
[ 0.563810] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[ 0.564001] media: Linux media interface: v0.10
[ 0.564038] Linux video capture interface: v2.00
[ 0.564115] pps_core: LinuxPPS API ver. 1 registered
[ 0.564124] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.564143] PTP clock support registered
[ 0.564171] EDAC MC: Ver: 3.0.0
[ 0.570669] dmi: Firmware registration failed.
[ 0.571040] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[ 0.571317] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[ 0.571619] Advanced Linux Sound Architecture Driver Initialized.
[ 0.572390] clocksource: Switched to clocksource arch_sys_counter
[ 0.579826] NET: Registered protocol family 2
[ 0.580345] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.580409] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.580536] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.580629] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.580662] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.580783] NET: Registered protocol family 1
[ 0.581116] RPC: Registered named UNIX socket transport module.
[ 0.581126] RPC: Registered udp transport module.
[ 0.581134] RPC: Registered tcp transport module.
[ 0.581142] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.581509] Trying to unpack rootfs image as initramfs...
[ 0.581694] rootfs image is not initramfs (junk in compressed archive); looks like an initrd
[ 0.599782] Freeing initrd memory: 8192K
[ 0.600511] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 0.600734] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 0.601814] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[ 0.605982] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.606491] NFS: Registering the id_resolver key type
[ 0.606516] Key type id_resolver registered
[ 0.606525] Key type id_legacy registered
[ 0.606562] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.607819] bounce: pool size: 64 pages
[ 0.607865] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 0.607876] io scheduler noop registered
[ 0.607885] io scheduler deadline registered
[ 0.608033] io scheduler cfq registered (default)
[ 0.608042] io scheduler mq-deadline registered
[ 0.608051] io scheduler kyber registered
[ 0.613500] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[ 0.616028] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.3
[ 0.616238] dra7-pcie 51000000.pcie: gpio request failed, ret -517
[ 0.616367] dra7-pcie 51000000.pcie: Dropping the link to phy-4a094000.pciephy.3
[ 0.616388] dra7-pcie 51000000.pcie: probe deferral not supported
[ 0.619049] V3_3D: supplied by smps9
[ 0.619300] vtt_fixed: supplied by V3_3D
[ 0.660833] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 0.663367] console [ttyS2] disabled
[ 0.663417] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 43, base_baud = 3000000) is a 8250
[ 1.662794] console [ttyS2] enabled
[ 1.668068] omap_rng 48090000.rng: Random Number Generator ver. 20
[ 1.676012] DSS: OMAP DSS rev 6.1
[ 1.679878] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[ 1.688292] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
[ 1.699948] brd: module loaded
[ 1.708362] loop: module loaded
[ 1.715268] m25p80 spi0.0: s25fl256s1 (32768 Kbytes)
[ 1.720318] 7 ofpart partitions found on MTD device spi0.0
[ 1.725858] Creating 7 MTD partitions on "spi0.0":
[ 1.730678] 0x000000000000-0x000000040000 : "QSPI.SPL"
[ 1.736506] 0x000000040000-0x000000140000 : "QSPI.u-boot"
[ 1.742574] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
[ 1.749201] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
[ 1.755626] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
[ 1.762727] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
[ 1.768742] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
[ 1.775778] libphy: Fixed MDIO Bus: probed
[ 1.832427] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 1.840123] davinci_mdio 48485000.mdio: detected phy mask fffffffc
[ 1.850847] libphy: 48485000.mdio: probed
[ 1.854912] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
[ 1.864630] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
[ 1.874999] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:ae:55:0c
[ 1.881608] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
[ 1.888036] cpsw 48484000.ethernet: ALE Table size 1024
[ 1.893315] cpsw 48484000.ethernet: device node lookup for pps timer failed
[ 1.900344] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
[ 1.908233] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:ae:55:0d
[ 1.916443] i2c /dev entries driver
[ 1.920582] IR NEC protocol handler initialized
[ 1.925160] IR RC5(x/sz) protocol handler initialized
[ 1.930235] IR RC6 protocol handler initialized
[ 1.934803] IR JVC protocol handler initialized
[ 1.939354] IR Sony protocol handler initialized
[ 1.944006] IR SANYO protocol handler initialized
[ 1.948730] IR Sharp protocol handler initialized
[ 1.953975] IR MCE Keyboard/mouse protocol handler initialized
[ 1.959834] IR XMP protocol handler initialized
[ 1.969572] sdhci: Secure Digital Host Controller Interface driver
[ 1.975860] sdhci: Copyright(c) Pierre Ossman
[ 1.980960] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.987555] sdhci-omap 4809c000.mmc: Got CD GPIO
[ 1.992956] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_1_8v mode
[ 1.999598] sdhci-omap 4809c000.mmc: no pinctrl state for hs200_1_8v mode
[ 2.062614] mmc0: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA
[ 2.109529] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.119546] mmc0: new high speed SDHC card at address 59b4
[ 2.125392] mmcblk0: mmc0:59b4 USDU1 15.0 GiB
[ 2.131004] mmcblk0: p1 p2
[ 2.133841] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
[ 2.141711] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.144560] NET: Registered protocol family 10
[ 2.151281] Segment Routing with IPv6
[ 2.151329] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.151690] NET: Registered protocol family 17
[ 2.151829] Key type dns_resolver registered
[ 2.152011] omap_voltage_late_init: Voltage driver support not added
[ 2.152014] Power Management for TI OMAP4+ devices.
[ 2.152224] Registering SWP/SWPB emulation handler
[ 2.202247] dmm 4e000000.dmm: workaround for errata i878 in use
[ 2.210032] dmm 4e000000.dmm: initialized all PAT entries
[ 2.216741] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 2.223411] [drm] No driver support for vblank timestamp query.
[ 2.229373] [drm] Cannot find any crtc or sizes
[ 2.234694] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
[ 2.242643] hctosys: unable to open rtc device (rtc0)
[ 2.248293] ALSA device list:
[ 2.251272] No soundcards found.
[ 2.255194] RAMDISK: Couldn't find valid RAM disk image starting at 0.
[ 2.262417] List of all partitions:
[ 2.263522] mmc1: new DDR MMC card at address 0001
[ 2.263781] mmcblk1: mmc1:0001 R1J56L 13.8 GiB
[ 2.278159] 0100 8 ram0
[ 2.278163] (driver?)
[ 2.278173] mmcblk1boot0: mmc1:0001 R1J56L partition 1 4.00 MiB
[ 2.278288] mmcblk1boot1: mmc1:0001 R1J56L partition 2 4.00 MiB
[ 2.278400] mmcblk1rpmb: mmc1:0001 R1J56L partition 3 128 KiB
[ 2.302081] 1f00 256 mtdblock0
[ 2.302085] (driver?)
[ 2.308680] 1f01 1024 mtdblock1
[ 2.308684] (driver?)
[ 2.315301] 1f02 512 mtdblock2
[ 2.315305] (driver?)
[ 2.321866] 1f03 64 mtdblock3
[ 2.321869] (driver?)
[ 2.328448] 1f04 64 mtdblock4
[ 2.328451] (driver?)
[ 2.335038] 1f05 8192 mtdblock5
[ 2.335042] (driver?)
[ 2.341603] 1f06 22656 mtdblock6
[ 2.341606] (driver?)
[ 2.348176] b300 15711232 mmcblk0
[ 2.348180] driver: mmcblk
[ 2.355024] b301 71680 mmcblk0p1 82dda4a0-01
[ 2.355027]
[ 2.361849] b302 8102912 mmcblk0p2 82dda4a0-02
[ 2.361852]
[ 2.368683] b310 14417920 mmcblk1
[ 2.368686] driver: mmcblk
[ 2.375516] b340 128 mmcblk1rpmb
[ 2.375522] (driver?)
[ 2.382253] b330 4096 mmcblk1boot1
[ 2.382257] (driver?)
[ 2.389103] b320 4096 mmcblk1boot0
[ 2.389107] (driver?)
[ 2.395939] No filesystem could mount root, tried:
[ 2.395942] ext3
[ 2.400834] ext4
[ 2.402773] ext2
[ 2.404703] squashfs
[ 2.406630] vfat
[ 2.408907] msdos
[ 2.410834] ntfs
[ 2.412873]
[ 2.416293] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
[ 2.424598] CPU0: stopping
[ 2.427316] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.40-g4796173fc5 #3
[ 2.434391] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 2.440508] Backtrace:
[ 2.442971] [<c020b5bc>] (dump_backtrace) from [<c020b8a0>] (show_stack+0x18/0x1c)
[ 2.450570] r7:fa212000 r6:20000193 r5:00000000 r4:c10539ec
[ 2.456255] [<c020b888>] (show_stack) from [<c09305e8>] (dump_stack+0x90/0xa4)
[ 2.463509] [<c0930558>] (dump_stack) from [<c020eb78>] (handle_IPI+0x1b8/0x1cc)
[ 2.470933] r7:fa212000 r6:00000000 r5:00000000 r4:c0e64afc
[ 2.476616] [<c020e9c0>] (handle_IPI) from [<c02014ac>] (gic_handle_irq+0x7c/0x80)
[ 2.484216] r6:c1001ed0 r5:fa21200c r4:c1004000
[ 2.488851] [<c0201430>] (gic_handle_irq) from [<c020c478>] (__irq_svc+0x58/0x8c)
[ 2.496361] Exception stack(0xc1001ed0 to 0xc1001f18)
[ 2.501432] 1ec0: 00000001 00000000 fe600000 00000000
[ 2.509644] 1ee0: ffffe000 c1003cd8 c1003c78 00000000 00000000 c0e643b8 c1003ce4 c1001f2c
[ 2.517854] 1f00: c1001f0c c1001f20 c021fd6c c0208804 60000013 ffffffff
[ 2.524495] r9:c1000000 r8:00000000 r7:c1001f04 r6:ffffffff r5:60000013 r4:c0208804
[ 2.532276] [<c02087dc>] (arch_cpu_idle) from [<c0948ddc>] (default_idle_call+0x28/0x34)
[ 2.540402] [<c0948db4>] (default_idle_call) from [<c026b0e8>] (do_idle+0x194/0x224)
[ 2.548177] [<c026af54>] (do_idle) from [<c026b43c>] (cpu_startup_entry+0x20/0x24)
[ 2.555777] r10:c0e4aa30 r9:c1058000 r8:ffffffff r7:c1058000 r6:00000000 r5:00000002
[ 2.563636] r4:000000be
[ 2.566180] [<c026b41c>] (cpu_startup_entry) from [<c094364c>] (rest_init+0xd8/0xdc)
[ 2.573960] [<c0943574>] (rest_init) from [<c0e00d9c>] (start_kernel+0x3ec/0x3f8)
[ 2.581469] r5:00000001 r4:c105804c
[ 2.585059] [<c0e009b0>] (start_kernel) from [<80008090>] (0x80008090)
[ 2.591611] r10:00000000 r9:412fc0f2 r8:80007000 r7:c1008490 r6:c0e4aa2c r5:c1003c58
[ 2.599468] r4:c1058214
[ 2.602015] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
[ 3.272417] [drm] Cannot find any crtc or sizes

  • Pavel Botev,

    Thanks!

    I have already seen this before you answer, but it does not help. So what do you think is the cause of this problem? I can tell you everything you want to know that I have done for it.

    I created a ramdisk based on this:

    processors.wiki.ti.com/.../Creating_a_RAMDISK
  • Tool/software: Linux

    My board is AM572x Industrial EVM REV 1.3B

    SDK Version:ti-processor-sdk-linux-am57xx-evm-05.00.00.15-Linux-x86-Install

    My board can boot normally with the sd card. Now I want to mount the ramdisk filesystem at boot time, so I made ramdiskfs.gz according to ti's wiki and then configured the kernel. Then I downloaded the image file to SDRAM via tftp on the uboot command line, and I booted my board using the bootm command. At the time, the startup did not succeed and I don't know why.

    Kernel configuration options:




     

    The bootargs variable is as follows:

    The command I used is:

    tftp 0x82000000 uImage

    tftp 0x88000000 am572x-idk.dtb

    tftp 0x88080000 ramdiskfs.gz

    bootm 0x82000000 0x88080000 0x88000000

     

     

    The printed information of the serial port is as follows:

    => tftp 0x82000000 uImage;tftp 0x88000000 sdcard_am572x-idk.dtb;tftp 0x88080000 ramdiskfs.gz;bootm 0x82000000 0x88080000 0x88000000
    link up on port 0, speed 100, full duplex
    Using ethernet@48484000 device
    TFTP from server 192.168.43.97; our IP address is 192.168.43.201
    Filename 'uImage'.
    Load address: 0x82000000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    ##############
    1.5 MiB/s
    done
    Bytes transferred = 4014656 (3d4240 hex)
    link up on port 0, speed 100, full duplex
    Using ethernet@48484000 device
    TFTP from server 192.168.43.97; our IP address is 192.168.43.201
    Filename 'sdcard_am572x-idk.dtb'.
    Load address: 0x88000000
    Loading: #######
    1.4 MiB/s
    done
    Bytes transferred = 101887 (18dff hex)
    link up on port 0, speed 100, full duplex
    Using ethernet@48484000 device
    TFTP from server 192.168.43.97; our IP address is 192.168.43.201
    Filename 'ramdiskfs.gz'.
    Load address: 0x88080000
    Loading: #
    1.1 MiB/s
    done
    Bytes transferred = 9556 (2554 hex)
    ## Booting kernel from Legacy Image at 82000000 ...
    Image Name: Linux kernel
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 4014592 Bytes = 3.8 MiB
    Load Address: 82000000
    Entry Point: 82000000
    Verifying Checksum ... OK
    ## Loading init Ramdisk from Legacy Image at 88080000 ...
    Image Name: uboot ext2 ramdisk rootfs
    Image Type: ARM Linux RAMDisk Image (gzip compressed)
    Data Size: 9492 Bytes = 9.3 KiB
    Load Address: 00000000
    Entry Point: 00000000
    Verifying Checksum ... OK
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Kernel Image ... OK
    Loading Ramdisk to 8fffd000, end 8ffff514 ... OK
    Loading Device Tree to 8ffe1000, end 8fffcdfe ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.14.40-g4796173fc5 (gsk@gsk-machine) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #3 SMP PREEMPT Mon Nov 26 15:55:37 CST 2018
    [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [ 0.000000] CPU: div instructions available: patching division code
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [ 0.000000] OF: fdt: Machine model: TI AM5728 IDK
    [ 0.000000] Memory policy: Data cache writealloc
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [ 0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [ 0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [ 0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [ 0.000000] OF: reserved mem: initialized node dsp2-memory@9f000000, compatible id shared-dma-pool
    [ 0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
    [ 0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
    [ 0.000000] DRA752 ES2.0
    [ 0.000000] percpu: Embedded 15 pages/cpu @eed33000 s31308 r8192 d21940 u61440
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 407104
    [ 0.000000] Kernel command line: androidboot.serialno=0e00701319b00122 console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=am57xevmboard root=/dev/ram0 rw initrd=0x88080000,8M init=/linuxrc ramdisk_size=8M mem=2048M
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 1407596K/1635328K available (8192K kernel code, 346K rwdata, 2516K rodata, 2048K init, 299K bss, 39316K reserved, 188416K cma-reserved, 1020928K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0a00000 (10208 kB)
    [ 0.000000] .init : 0xc0e00000 - 0xc1000000 (2048 kB)
    [ 0.000000] .data : 0xc1000000 - 0xc1056ba8 ( 347 kB)
    [ 0.000000] .bss : 0xc1058000 - 0xc10a2c7c ( 300 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] GIC: Using split EOI/Deactivate mode
    [ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [ 0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
    [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [ 0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [ 0.000017] Switching to timer-based delay loop, resolution 162ns
    [ 0.000343] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.000352] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.000809] Console: colour dummy device 80x30
    [ 0.000840] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [ 0.000856] pid_max: default: 32768 minimum: 301
    [ 0.000973] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000987] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.001509] CPU: Testing write buffer coherency: ok
    [ 0.001721] /cpus/cpu@0 missing clock-frequency property
    [ 0.001740] /cpus/cpu@1 missing clock-frequency property
    [ 0.001752] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.039871] Setting up static identity map for 0x80200000 - 0x80200060
    [ 0.059883] Hierarchical SRCU implementation.
    [ 0.080073] EFI services will not be available.
    [ 0.099943] smp: Bringing up secondary CPUs ...
    [ 0.170251] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 0.170347] smp: Brought up 1 node, 2 CPUs
    [ 0.170361] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [ 0.170369] CPU: All CPU(s) started in HYP mode.
    [ 0.170376] CPU: Virtualization extensions available.
    [ 0.170833] devtmpfs: initialized
    [ 0.188426] random: get_random_u32 called from bucket_table_alloc+0x108/0x230 with crng_init=0
    [ 0.188767] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 0.188957] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.188974] futex hash table entries: 512 (order: 3, 32768 bytes)
    [ 0.192830] pinctrl core: initialized pinctrl subsystem
    [ 0.193282] DMI not present or invalid.
    [ 0.193528] NET: Registered protocol family 16
    [ 0.194667] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.195590] omap_hwmod: l3_main_2 using broken dt data from ocp
    [ 0.396861] cpuidle: using governor ladder
    [ 0.396895] cpuidle: using governor menu
    [ 0.405076] OMAP GPIO hardware version 0.1
    [ 0.430551] No ATAGs?
    [ 0.430621] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.430635] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.430992] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [ 0.431003] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [ 0.431511] OMAP DMA hardware revision 0.0
    [ 0.446493] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [ 0.447742] edma 43300000.edma: memcpy is disabled
    [ 0.450986] edma 43300000.edma: TI EDMA DMA engine driver
    [ 0.454023] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [ 0.454220] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [ 0.454459] omap-iommu 58882000.mmu: 58882000.mmu registered
    [ 0.454698] omap-iommu 55082000.mmu: 55082000.mmu registered
    [ 0.455042] omap-iommu 41501000.mmu: 41501000.mmu registered
    [ 0.455251] omap-iommu 41502000.mmu: 41502000.mmu registered
    [ 0.455469] iommu: Adding device 58820000.ipu to group 1
    [ 0.455543] iommu: Adding device 55020000.ipu to group 2
    [ 0.455677] iommu: Adding device 40800000.dsp to group 0
    [ 0.455913] iommu: Adding device 41000000.dsp to group 3
    [ 0.458085] palmas 0-0058: Irq flag is 0x00000004
    [ 0.482215] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [ 0.483861] SMPS12: supplied by regulator-dummy
    [ 0.485605] SMPS3: supplied by VMAIN
    [ 0.487197] SMPS45: supplied by regulator-dummy
    [ 0.489047] SMPS6: supplied by VMAIN
    [ 0.490757] SMPS7: supplied by VMAIN
    [ 0.492614] SMPS8: supplied by VMAIN
    [ 0.493900] SMPS9: supplied by VMAIN
    [ 0.494894] LDO1: supplied by VMAIN
    [ 0.501143] random: fast init done
    [ 0.501279] LDO2: supplied by VMAIN
    [ 0.511154] LDO3: supplied by VMAIN
    [ 0.521171] LDO4: supplied by VMAIN
    [ 0.531155] LDO5: supplied by regulator-dummy
    [ 0.531848] LDO6: supplied by regulator-dummy
    [ 0.532550] LDO7: supplied by regulator-dummy
    [ 0.533241] LDO8: supplied by regulator-dummy
    [ 0.533961] LDO9: supplied by VMAIN
    [ 0.541490] LDOLN: supplied by VMAIN
    [ 0.551203] LDOUSB: supplied by VMAIN
    [ 0.563810] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [ 0.564001] media: Linux media interface: v0.10
    [ 0.564038] Linux video capture interface: v2.00
    [ 0.564115] pps_core: LinuxPPS API ver. 1 registered
    [ 0.564124] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.564143] PTP clock support registered
    [ 0.564171] EDAC MC: Ver: 3.0.0
    [ 0.570669] dmi: Firmware registration failed.
    [ 0.571040] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [ 0.571317] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [ 0.571619] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.572390] clocksource: Switched to clocksource arch_sys_counter
    [ 0.579826] NET: Registered protocol family 2
    [ 0.580345] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.580409] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.580536] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.580629] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.580662] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.580783] NET: Registered protocol family 1
    [ 0.581116] RPC: Registered named UNIX socket transport module.
    [ 0.581126] RPC: Registered udp transport module.
    [ 0.581134] RPC: Registered tcp transport module.
    [ 0.581142] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.581509] Trying to unpack rootfs image as initramfs...
    [ 0.581694] rootfs image is not initramfs (junk in compressed archive); looks like an initrd
    [ 0.599782] Freeing initrd memory: 8192K
    [ 0.600511] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [ 0.600734] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [ 0.601814] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [ 0.605982] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.606491] NFS: Registering the id_resolver key type
    [ 0.606516] Key type id_resolver registered
    [ 0.606525] Key type id_legacy registered
    [ 0.606562] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.607819] bounce: pool size: 64 pages
    [ 0.607865] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [ 0.607876] io scheduler noop registered
    [ 0.607885] io scheduler deadline registered
    [ 0.608033] io scheduler cfq registered (default)
    [ 0.608042] io scheduler mq-deadline registered
    [ 0.608051] io scheduler kyber registered
    [ 0.613500] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [ 0.616028] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.3
    [ 0.616238] dra7-pcie 51000000.pcie: gpio request failed, ret -517
    [ 0.616367] dra7-pcie 51000000.pcie: Dropping the link to phy-4a094000.pciephy.3
    [ 0.616388] dra7-pcie 51000000.pcie: probe deferral not supported
    [ 0.619049] V3_3D: supplied by smps9
    [ 0.619300] vtt_fixed: supplied by V3_3D
    [ 0.660833] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.663367] console [ttyS2] disabled
    [ 0.663417] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 43, base_baud = 3000000) is a 8250
    [ 1.662794] console [ttyS2] enabled
    [ 1.668068] omap_rng 48090000.rng: Random Number Generator ver. 20
    [ 1.676012] DSS: OMAP DSS rev 6.1
    [ 1.679878] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [ 1.688292] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [ 1.699948] brd: module loaded
    [ 1.708362] loop: module loaded
    [ 1.715268] m25p80 spi0.0: s25fl256s1 (32768 Kbytes)
    [ 1.720318] 7 ofpart partitions found on MTD device spi0.0
    [ 1.725858] Creating 7 MTD partitions on "spi0.0":
    [ 1.730678] 0x000000000000-0x000000040000 : "QSPI.SPL"
    [ 1.736506] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [ 1.742574] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [ 1.749201] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [ 1.755626] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [ 1.762727] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [ 1.768742] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [ 1.775778] libphy: Fixed MDIO Bus: probed
    [ 1.832427] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [ 1.840123] davinci_mdio 48485000.mdio: detected phy mask fffffffc
    [ 1.850847] libphy: 48485000.mdio: probed
    [ 1.854912] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
    [ 1.864630] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
    [ 1.874999] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:ae:55:0c
    [ 1.881608] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [ 1.888036] cpsw 48484000.ethernet: ALE Table size 1024
    [ 1.893315] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [ 1.900344] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 1.908233] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:ae:55:0d
    [ 1.916443] i2c /dev entries driver
    [ 1.920582] IR NEC protocol handler initialized
    [ 1.925160] IR RC5(x/sz) protocol handler initialized
    [ 1.930235] IR RC6 protocol handler initialized
    [ 1.934803] IR JVC protocol handler initialized
    [ 1.939354] IR Sony protocol handler initialized
    [ 1.944006] IR SANYO protocol handler initialized
    [ 1.948730] IR Sharp protocol handler initialized
    [ 1.953975] IR MCE Keyboard/mouse protocol handler initialized
    [ 1.959834] IR XMP protocol handler initialized
    [ 1.969572] sdhci: Secure Digital Host Controller Interface driver
    [ 1.975860] sdhci: Copyright(c) Pierre Ossman
    [ 1.980960] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.987555] sdhci-omap 4809c000.mmc: Got CD GPIO
    [ 1.992956] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_1_8v mode
    [ 1.999598] sdhci-omap 4809c000.mmc: no pinctrl state for hs200_1_8v mode
    [ 2.062614] mmc0: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA
    [ 2.109529] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 2.119546] mmc0: new high speed SDHC card at address 59b4
    [ 2.125392] mmcblk0: mmc0:59b4 USDU1 15.0 GiB 
    [ 2.131004] mmcblk0: p1 p2
    [ 2.133841] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
    [ 2.141711] ledtrig-cpu: registered to indicate activity on CPUs
    [ 2.144560] NET: Registered protocol family 10
    [ 2.151281] Segment Routing with IPv6
    [ 2.151329] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 2.151690] NET: Registered protocol family 17
    [ 2.151829] Key type dns_resolver registered
    [ 2.152011] omap_voltage_late_init: Voltage driver support not added
    [ 2.152014] Power Management for TI OMAP4+ devices.
    [ 2.152224] Registering SWP/SWPB emulation handler
    [ 2.202247] dmm 4e000000.dmm: workaround for errata i878 in use
    [ 2.210032] dmm 4e000000.dmm: initialized all PAT entries
    [ 2.216741] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 2.223411] [drm] No driver support for vblank timestamp query.
    [ 2.229373] [drm] Cannot find any crtc or sizes
    [ 2.234694] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
    [ 2.242643] hctosys: unable to open rtc device (rtc0)
    [ 2.248293] ALSA device list:
    [ 2.251272] No soundcards found.
    [ 2.255194] RAMDISK: Couldn't find valid RAM disk image starting at 0.
    [ 2.262417] List of all partitions:
    [ 2.263522] mmc1: new DDR MMC card at address 0001
    [ 2.263781] mmcblk1: mmc1:0001 R1J56L 13.8 GiB 
    [ 2.278159] 0100 8 ram0 
    [ 2.278163] (driver?)
    [ 2.278173] mmcblk1boot0: mmc1:0001 R1J56L partition 1 4.00 MiB
    [ 2.278288] mmcblk1boot1: mmc1:0001 R1J56L partition 2 4.00 MiB
    [ 2.278400] mmcblk1rpmb: mmc1:0001 R1J56L partition 3 128 KiB
    [ 2.302081] 1f00 256 mtdblock0 
    [ 2.302085] (driver?)
    [ 2.308680] 1f01 1024 mtdblock1 
    [ 2.308684] (driver?)
    [ 2.315301] 1f02 512 mtdblock2 
    [ 2.315305] (driver?)
    [ 2.321866] 1f03 64 mtdblock3 
    [ 2.321869] (driver?)
    [ 2.328448] 1f04 64 mtdblock4 
    [ 2.328451] (driver?)
    [ 2.335038] 1f05 8192 mtdblock5 
    [ 2.335042] (driver?)
    [ 2.341603] 1f06 22656 mtdblock6 
    [ 2.341606] (driver?)
    [ 2.348176] b300 15711232 mmcblk0 
    [ 2.348180] driver: mmcblk
    [ 2.355024] b301 71680 mmcblk0p1 82dda4a0-01
    [ 2.355027] 
    [ 2.361849] b302 8102912 mmcblk0p2 82dda4a0-02
    [ 2.361852] 
    [ 2.368683] b310 14417920 mmcblk1 
    [ 2.368686] driver: mmcblk
    [ 2.375516] b340 128 mmcblk1rpmb 
    [ 2.375522] (driver?)
    [ 2.382253] b330 4096 mmcblk1boot1 
    [ 2.382257] (driver?)
    [ 2.389103] b320 4096 mmcblk1boot0 
    [ 2.389107] (driver?)
    [ 2.395939] No filesystem could mount root, tried: 
    [ 2.395942] ext3
    [ 2.400834] ext4
    [ 2.402773] ext2
    [ 2.404703] squashfs
    [ 2.406630] vfat
    [ 2.408907] msdos
    [ 2.410834] ntfs
    [ 2.412873] 
    [ 2.416293] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
    [ 2.424598] CPU0: stopping
    [ 2.427316] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.40-g4796173fc5 #3
    [ 2.434391] Hardware name: Generic DRA74X (Flattened Device Tree)
    [ 2.440508] Backtrace: 
    [ 2.442971] [<c020b5bc>] (dump_backtrace) from [<c020b8a0>] (show_stack+0x18/0x1c)
    [ 2.450570] r7:fa212000 r6:20000193 r5:00000000 r4:c10539ec
    [ 2.456255] [<c020b888>] (show_stack) from [<c09305e8>] (dump_stack+0x90/0xa4)
    [ 2.463509] [<c0930558>] (dump_stack) from [<c020eb78>] (handle_IPI+0x1b8/0x1cc)
    [ 2.470933] r7:fa212000 r6:00000000 r5:00000000 r4:c0e64afc
    [ 2.476616] [<c020e9c0>] (handle_IPI) from [<c02014ac>] (gic_handle_irq+0x7c/0x80)
    [ 2.484216] r6:c1001ed0 r5:fa21200c r4:c1004000
    [ 2.488851] [<c0201430>] (gic_handle_irq) from [<c020c478>] (__irq_svc+0x58/0x8c)
    [ 2.496361] Exception stack(0xc1001ed0 to 0xc1001f18)
    [ 2.501432] 1ec0: 00000001 00000000 fe600000 00000000
    [ 2.509644] 1ee0: ffffe000 c1003cd8 c1003c78 00000000 00000000 c0e643b8 c1003ce4 c1001f2c
    [ 2.517854] 1f00: c1001f0c c1001f20 c021fd6c c0208804 60000013 ffffffff
    [ 2.524495] r9:c1000000 r8:00000000 r7:c1001f04 r6:ffffffff r5:60000013 r4:c0208804
    [ 2.532276] [<c02087dc>] (arch_cpu_idle) from [<c0948ddc>] (default_idle_call+0x28/0x34)
    [ 2.540402] [<c0948db4>] (default_idle_call) from [<c026b0e8>] (do_idle+0x194/0x224)
    [ 2.548177] [<c026af54>] (do_idle) from [<c026b43c>] (cpu_startup_entry+0x20/0x24)
    [ 2.555777] r10:c0e4aa30 r9:c1058000 r8:ffffffff r7:c1058000 r6:00000000 r5:00000002
    [ 2.563636] r4:000000be
    [ 2.566180] [<c026b41c>] (cpu_startup_entry) from [<c094364c>] (rest_init+0xd8/0xdc)
    [ 2.573960] [<c0943574>] (rest_init) from [<c0e00d9c>] (start_kernel+0x3ec/0x3f8)
    [ 2.581469] r5:00000001 r4:c105804c
    [ 2.585059] [<c0e009b0>] (start_kernel) from [<80008090>] (0x80008090)
    [ 2.591611] r10:00000000 r9:412fc0f2 r8:80007000 r7:c1008490 r6:c0e4aa2c r5:c1003c58
    [ 2.599468] r4:c1058214
    [ 2.602015] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
    [ 3.272417] [drm] Cannot find any crtc or sizes

     

  • Hi,

    This is just gentle reminder.

    Thank You,

    Hefa
  • Sorry about the delay. Pavel is out of office this week. He will be back on Monday, Dec.03.
  • Hefa,

    Hefa Zhuang said:
    I have already seen this before you answer, but it does not help. So what do you think is the cause of this problem? I can tell you everything you want to know that I have done for it.

    I see you are using android settings in your bootargs, which is not correct when using Linux SDK.

    You should also double check the step of creating ramdisk file. You should try with the minimal arago FS.

    Make sure also you are giving the ramdisk at the location 0x82000000. Try with FS addr after kernel image addr.

    Check below e2e threads for more info:

    Regards,
    Pavel

  • If you have no more questions related to the subject, please close/verify/resolve this thread.

    Regards,
    Pavel