Ls1028a: RAMDISK: incomplete write (4500 != 32645)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ls1028a: RAMDISK: incomplete write (4500 != 32645)

2,682 Views
yuvarajesh_vall
Contributor II

Hi,

we are using custom board based on LS1028a. I am successful in updating linux, rootfs and dtb using USB and emmc.

I am failing to update it over tftp due to RAMDISK incomplete write issue and also ( No working init found). 

here is some little information of my procedure:

1. compiled and build linux and rootfs with yocto (successfull)

   IMAGE_FSTYPES_qoriq = "tar.gz ext2.gz tar.bz2" (used fstypes)

____________________________________________________________________

2. created uImage and Ramdisk using mkimage

Linux:# mkimage -A arm64 -O linux -T kernel -C none -a 0x80080000 -e 0x80080000 -n "Linux kernel" -d image.bin tftpboot/uImage 

Ramdisk:# mkimage -A arm64 -T ramdisk -C gzip -a 0x84000000 -e 0x84000000 -n 'Ramdisk Image' -d rootfs.ext2.tar.gz tftpboot/uRamdisk

_______________________________________________________________________

3. load the linux, device tree and rootfs from uboot

tftp_load_dt=tftpboot $fdt_addr_r ${serverip}:/tftpboot/linux_dt.dtb

tftp_load_linux=tftpboot $kernel_addr_r ${serverip}:/tftpboot/uImage

tftp_load_rootfs=tftpboot $ramdisk_addr_r ${serverip}:/tftpboot/uRamdisk

bootargs_ram=setenv bootargs root=/dev/ram0 rw rootwait ip=${ipaddr}:${serverip}:{gatewayip}:${netmask}::off; run bootargs_comm

bootargs_comm=setenv bootargs ${bootargs} console=ttyS0,115200 earlycon=uart8250,mmio,0x21c0500

tftp_bootcmd_ram=run tftp_load_linux;run tftp_load_rootfs;run tftp_load_dt;run bootargs_ram;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}

____________________________________________________________________

4. more information about addresses:

=> bdinfo
arch_number = 0x0000000000000000
boot_params = 0x0000000000000000
DRAM bank = 0x0000000000000000
-> start = 0x0000000080000000
-> size = 0x000000003be00000
baudrate = 115200 bps
TLB addr = 0x00000000b7bf0000
relocaddr = 0x00000000b7b47000
reloc off = 0x0000000035b47000
irq_sp = 0x00000000b793ff10
sp start = 0x00000000b793ff10
Early malloc usage: d8 / 6000
fdt_blob = 0x00000000b793ff20

__________________________________________________________________

fdt_addr=0x00f00000
fdt_addr_r=0x90000000
fdtcontroladdr=b793ff20
fdtheader_addr_r=0x80100000
fileaddr=90000000
kernel_addr=0x01000000
kernel_addr_r=0x80080000
kernel_addr_sd=0x8000
kernelhdr_addr_sd=0x4000
kernelheader_addr_r=0x80200000
load_addr=0xa0000000
ramdisk_addr=0x800000
ramdisk_addr_r=0x84000000

_____________________________________________________________

5. load and boot:

=> run tftp_bootcmd_ram
Using enetc-0 device
TFTP from server 192.168.0.214; our IP address is 192.168.0.128
Filename '/tftpboot/uImage'.
Load address: 0x80080000
Loading: #################################################################
...
#################################################################
#################################################################
#####################
1.6 MiB/s
done
Bytes transferred = 25729600 (1889a40 hex)
Using enetc-0 device
TFTP from server 192.168.0.214; our IP address is 192.168.0.128
Filename '/tftpboot/uRamdisk'.
Load address: 0x84000000
Loading: #################################################################
....
#################################################################
#################################################################
##############################################
1.7 MiB/s
done
Bytes transferred = 51424275 (310ac13 hex)
Using enetc-0 device
TFTP from server 192.168.0.214; our IP address is 192.168.0.128
Filename '/tftpboot/linux_dt.dtb'.
Load address: 0x90000000
Loading: #####
403.3 KiB/s
done
Bytes transferred = 23580 (5c1c hex)
## Booting kernel from Legacy Image at 80080000 ...
Image Name: Linux kernel
Created: 2020-04-01 5:34:56 UTC
Image Type: AArch64 Linux Kernel Image (uncompressed)
Data Size: 25729536 Bytes = 24.5 MiB
Load Address: 80080000
Entry Point: 80080000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 84000000 ...
Image Name: Ramdisk Image
Created: 2020-04-01 5:35:24 UTC
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 51424211 Bytes = 49 MiB
Load Address: 84000000
Entry Point: 84000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 90000000
Booting using the fdt blob at 0x90000000
Loading Kernel Image ... OK
Using Device Tree in place at 0000000090000000, end 0000000090008c1b
NOTICE: RNG: INSTANTIATED
Unable to update property /sysclk:clock-frequency, err=FDT_ERR_NOTFOUND
------------ fdt_fixup_icid_tbl():79: TBL 0x00000000b7bcd738 size 20 -------------
Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.140+gd39cc9ffcbe5 (oe-user@oe-host) (gcc version 7.3.0 (GCC)) #1 SMP PREEMPT Tue Mar 31 06:47:46 UTC 2020
[ 0.000000] Boot CPU: AArch64 Processor [410fd083]
[ 0.000000] Machine model: IP01 Board
[ 0.000000] earlycon: uart8250 at MMIO 0x00000000021c0500 (options '')
[ 0.000000] bootconsole [uart8250] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 16 MiB at 0x00000000bac00000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000bbdfffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xbbdd0f40-0xbbdd26ff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000bbdfffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000bbdfffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bbdfffff]
[ 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: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] random: get_random_bytes called from start_kernel+0xa8/0x414 with crng_init=0
[ 0.000000] percpu: Embedded 25 pages/cpu s61720 r8192 d32488 u102400
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] Speculative Store Bypass Disable mitigation not required
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 241416
[ 0.000000] Policy zone: DMA
[ 0.000000] Kernel command line: root=/dev/ram0 rw rootwait ip=192.168.0.128:192.168.0.214:{gatewayip}:255.255.255.0::off console=ttyS0,115200 earlycon=uart8250,mmio,0x21c0500
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Memory: 871460K/980992K available (13884K kernel code, 1446K rwdata, 5504K rodata, 4224K init, 924K bss, 93148K reserved, 16384K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffff000000000000 - 0xffff000008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000 (129022 GB)
[ 0.000000] .text : 0xffff20d2a0480000 - 0xffff20d2a1210000 ( 13888 KB)
[ 0.000000] .rodata : 0xffff20d2a1210000 - 0xffff20d2a1780000 ( 5568 KB)
[ 0.000000] .init : 0xffff20d2a1780000 - 0xffff20d2a1ba0000 ( 4224 KB)
[ 0.000000] .data : 0xffff20d2a1ba0000 - 0xffff20d2a1d09a00 ( 1447 KB)
[ 0.000000] .bss : 0xffff20d2a1d09a00 - 0xffff20d2a1df0ce0 ( 925 KB)
[ 0.000000] fixed : 0xffff7dfffe7f9000 - 0xffff7dfffec00000 ( 4124 KB)
[ 0.000000] PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffff7e0000000000 - 0xffff800000000000 ( 2048 GB maximum)
[ 0.000000] 0xffff7ec32b000000 - 0xffff7ec32bef8000 ( 14 MB actual)
[ 0.000000] memory : 0xffffb0cac0000000 - 0xffffb0cafbe00000 ( 958 MB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=2.
[ 0.000000] Tasks RCU enabled.
[ 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: no VLPI support, no direct LPI support
[ 0.000000] ITS [mem 0x06020000-0x0603ffff]
[ 0.000000] ITS@0x0000000006020000: allocated 65536 Devices @b9480000 (flat, esz 8, psz 64K, shr 0)
[ 0.000000] ITS: using cache flushing for cmd queue
[ 0.000000] GIC: using LPI property table @0x00000000b9430000
[ 0.000000] ITS: Allocated 1792 chunks for LPIs
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000006040000
[ 0.000000] CPU0: using LPI pending table @0x00000000b9440000
[ 0.000000] GIC: using cache flushing for LPI property table
[ 0.000000] NO_HZ: Clearing 0 from nohz_full range for timekeeping
[ 0.000000] NO_HZ: Full dynticks CPUs: 1.
[ 0.000000] Note: kernel parameter 'rcu_nocbs=' contains nonexistent CPUs.
[ 0.000000] Offload RCU callbacks from CPUs: 1.
[ 0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c409fb33, max_idle_ns: 440795203156 ns
[ 0.000003] sched_clock: 56 bits at 25MHz, resolution 39ns, wraps every 4398046511103ns
[ 0.008628] Console: colour dummy device 80x25
[ 0.013167] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[ 0.023660] pid_max: default: 32768 minimum: 301
[ 0.028423] Security Framework initialized
[ 0.033076] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.040615] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.047596] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.054399] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.094453] ASID allocator initialised with 32768 entries
[ 0.099991] Hierarchical SRCU implementation.
[ 0.124498] PCI/MSI: /interrupt-controller@6000000/gic-its@6020000 domain created
[ 0.132159] Platform MSI: /interrupt-controller@6000000/gic-its@6020000 domain created
[ 0.140248] fsl-mc MSI: /interrupt-controller@6000000/gic-its@6020000 domain created
[ 0.148628] EFI services will not be available.
[ 0.173241] smp: Bringing up secondary CPUs ...
[ 0.223576] Detected PIPT I-cache on CPU1
[ 0.223600] GICv3: CPU1: found redistributor 1 region 0:0x0000000006060000
[ 0.223662] CPU1: using LPI pending table @0x00000000b9720000
[ 0.223688] CPU1: Booted secondary processor [410fd083]
[ 0.223783] smp: Brought up 1 node, 2 CPUs
[ 0.250067] SMP: Total of 2 processors activated.
[ 0.254829] CPU features: detected feature: GIC system register CPU interface
[ 0.262062] CPU features: detected feature: 32-bit EL0 Support
[ 0.267965] CPU features: detected feature: Kernel page table isolation (KPTI)
[ 0.281781] CPU: All CPU(s) started at EL2
[ 0.285950] alternatives: patching kernel code
[ 0.291166] devtmpfs: initialized
[ 0.298435] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.308422] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.314959] xor: measuring software checksum speed
[ 0.419881] 8regs : 3388.800 MB/sec
[ 0.519900] 8regs_prefetch: 2969.600 MB/sec
[ 0.619939] 32regs : 3436.800 MB/sec
[ 0.719979] 32regs_prefetch: 3122.000 MB/sec
[ 0.724656] xor: using function: 32regs (3436.800 MB/sec)
[ 0.730122] pinctrl core: initialized pinctrl subsystem
[ 0.737089] DMI not present or invalid.
[ 0.741261] NET: Registered protocol family 16
[ 0.755807] cpuidle: using governor ladder
[ 0.759970] cpuidle: using governor menu
[ 0.764597] vdso: 2 pages (1 code @ ffff20d2a1217000, 1 data @ ffff20d2a1ba5000)
[ 0.772094] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.779838] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.786342] Serial: AMBA PL011 UART driver
[ 0.821466] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 1.000719] raid6: int64x1 gen() 492 MB/s
[ 1.170780] raid6: int64x1 xor() 463 MB/s
[ 1.340851] raid6: int64x2 gen() 675 MB/s
[ 1.510921] raid6: int64x2 xor() 673 MB/s
[ 1.680961] raid6: int64x4 gen() 1027 MB/s
[ 1.851058] raid6: int64x4 xor() 703 MB/s
[ 2.021114] raid6: int64x8 gen() 909 MB/s
[ 2.191186] raid6: int64x8 xor() 706 MB/s
[ 2.361304] raid6: neonx1 gen() 983 MB/s
[ 2.531333] raid6: neonx1 xor() 1118 MB/s
[ 2.701433] raid6: neonx2 gen() 1285 MB/s
[ 2.871465] raid6: neonx2 xor() 1417 MB/s
[ 3.041534] raid6: neonx4 gen() 1678 MB/s
[ 3.211620] raid6: neonx4 xor() 1513 MB/s
[ 3.381674] raid6: neonx8 gen() 1942 MB/s
[ 3.551746] raid6: neonx8 xor() 1638 MB/s
[ 3.556064] raid6: using algorithm neonx8 gen() 1942 MB/s
[ 3.561534] raid6: .... xor() 1638 MB/s, rmw enabled
[ 3.566556] raid6: using neon recovery algorithm
[ 3.571718] ACPI: Interpreter disabled.
[ 3.576959] vgaarb: loaded
[ 3.579935] SCSI subsystem initialized
[ 3.584465] usbcore: registered new interface driver usbfs
[ 3.590054] usbcore: registered new interface driver hub
[ 3.595497] usbcore: registered new device driver usb
[ 3.600975] imx-i2c 2000000.i2c: scl-gpios not found
[ 3.606246] pca953x 0-0020: 0-0020 supply vcc not found, using dummy regulator
[ 3.716601] pca953x 0-0021: 0-0021 supply vcc not found, using dummy regulator
[ 3.826918] i2c i2c-0: of_i2c: modalias failure on /soc/i2c@2000000/pcie-switch@6f
[ 3.834588] i2c i2c-0: Failed to create I2C device for /soc/i2c@2000000/pcie-switch@6f
[ 3.842671] i2c i2c-0: IMX I2C adapter registered
[ 3.847573] imx-i2c 2040000.i2c: scl-gpios not found
[ 3.852785] i2c i2c-1: IMX I2C adapter registered
[ 3.858021] pps_core: LinuxPPS API ver. 1 registered
[ 3.863074] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 3.872338] PTP clock support registered
[ 3.876452] EDAC MC: Ver: 3.0.0
[ 3.886421] dmi: Firmware registration failed.
[ 3.891100] No BMan portals available!
[ 3.895271] QMan: Allocated lookup table at ffff00000924d000, entry count 65537
[ 3.902908] No QMan portals available!
[ 3.906967] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[ 3.913503] Advanced Linux Sound Architecture Driver Initialized.
[ 3.923286] clocksource: Switched to clocksource arch_sys_counter
[ 3.929557] VFS: Disk quotas dquot_6.6.0
[ 3.933589] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 3.940649] pnp: PnP ACPI: disabled
[ 3.950859] NET: Registered protocol family 2
[ 3.955847] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 3.963072] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[ 3.969890] TCP: Hash tables configured (established 8192 bind 8192)
[ 3.976423] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 3.982444] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 3.989065] NET: Registered protocol family 1
[ 3.993730] RPC: Registered named UNIX socket transport module.
[ 3.999723] RPC: Registered udp transport module.
[ 4.004513] RPC: Registered tcp transport module.
[ 4.009274] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 4.015934] Trying to unpack rootfs image as initramfs...
[ 4.021746] rootfs image is not initramfs (no cpio magic); looks like an initrd
[ 4.127316] Freeing initrd memory: 50212K
[ 4.131790] kvm [1]: 8-bit VMID
[ 4.135994] kvm [1]: GICv3: no GICV resource entry
[ 4.140841] kvm [1]: disabling GICv2 emulation
[ 4.145420] kvm [1]: GIC system register CPU interface enabled
[ 4.151370] kvm [1]: vgic interrupt IRQ1
[ 4.155416] kvm [1]: Hyp mode initialized successfully
[ 4.163215] audit: initializing netlink subsys (disabled)
[ 4.168826] audit: type=2000 audit(4.089:1): state=initialized audit_enabled=0 res=1
[ 4.169168] workingset: timestamp_bits=44 max_order=18 bucket_order=0
[ 4.183740] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 4.189828] NFS: Registering the id_resolver key type
[ 4.194964] Key type id_resolver registered
[ 4.199194] Key type id_legacy registered
[ 4.203256] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 4.210167] fuse init (API version 7.26)
[ 4.214264] 9p: Installing v9fs 9p2000 file system support
[ 4.222323] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 4.229916] io scheduler noop registered
[ 4.233926] io scheduler cfq registered (default)
[ 4.238687] io scheduler mq-deadline registered
[ 4.243269] io scheduler kyber registered
[ 4.252291] OF: PCI: host bridge /soc/pcie@1f0000000 ranges:
[ 4.258052] OF: PCI: MEM 0x1f8000000..0x1f815ffff -> 0x00000000
[ 4.264241] OF: PCI: MEM 0x1f8160000..0x1f81cffff -> 0x00000000
[ 4.270415] OF: PCI: MEM 0x1f81d0000..0x1f81effff -> 0x00000000
[ 4.276590] OF: PCI: MEM 0x1f81f0000..0x1f820ffff -> 0x00000000
[ 4.282763] OF: PCI: MEM 0x1f8210000..0x1f822ffff -> 0x00000000
[ 4.288948] OF: PCI: MEM 0x1f8230000..0x1f824ffff -> 0x00000000
[ 4.295117] OF: PCI: MEM 0x1fc000000..0x1fc3fffff -> 0x00000000
[ 4.301340] pci-host-generic 1f0000000.pcie: ECAM at [mem 0x1f0000000-0x1f00fffff] for [bus 00]
[ 4.310258] pci-host-generic 1f0000000.pcie: PCI host bridge to bus 0000:00
[ 4.317309] pci_bus 0000:00: root bus resource [bus 00]
[ 4.322599] pci_bus 0000:00: root bus resource [mem 0x1f8000000-0x1f815ffff] (bus address [0x00000000-0x0015ffff])
[ 4.333085] pci_bus 0000:00: root bus resource [mem 0x1f8160000-0x1f81cffff pref] (bus address [0x00000000-0x0006ffff])
[ 4.344006] pci_bus 0000:00: root bus resource [mem 0x1f81d0000-0x1f81effff] (bus address [0x00000000-0x0001ffff])
[ 4.354490] pci_bus 0000:00: root bus resource [mem 0x1f81f0000-0x1f820ffff pref] (bus address [0x00000000-0x0001ffff])
[ 4.365411] pci_bus 0000:00: root bus resource [mem 0x1f8210000-0x1f822ffff] (bus address [0x00000000-0x0001ffff])
[ 4.375895] pci_bus 0000:00: root bus resource [mem 0x1f8230000-0x1f824ffff pref] (bus address [0x00000000-0x0001ffff])
[ 4.386815] pci_bus 0000:00: root bus resource [mem 0x1fc000000-0x1fc3fffff] (bus address [0x00000000-0x003fffff])
[ 4.397425] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x1f81d0000-0x1f81effff 64bit] (contains BAR0 for 2 VFs)
[ 4.407466] pci 0000:00:00.0: VF(n) BAR2 space: [mem 0x1f81f0000-0x1f820ffff 64bit pref] (contains BAR2 for 2 VFs)
[ 4.418207] pci 0000:00:00.1: VF(n) BAR0 space: [mem 0x1f8210000-0x1f822ffff 64bit] (contains BAR0 for 2 VFs)
[ 4.428249] pci 0000:00:00.1: VF(n) BAR2 space: [mem 0x1f8230000-0x1f824ffff 64bit pref] (contains BAR2 for 2 VFs)
[ 4.439983] /soc/pcie@1f0000000: Invalid msi-map translation - no match for rid 0xf8 on (null)
[ 4.450321] OF: PCI: host bridge /soc/pcie@3400000 ranges:
[ 4.455909] OF: PCI: IO 0x8000010000..0x800001ffff -> 0x00000000
[ 4.462260] OF: PCI: MEM 0x8040000000..0x807fffffff -> 0x40000000
[ 4.468738] layerscape-pcie 3400000.pcie: PCI host bridge to bus 0001:00
[ 4.475530] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 4.481083] pci_bus 0001:00: root bus resource [io 0x0000-0xffff]
[ 4.487344] pci_bus 0001:00: root bus resource [mem 0x8040000000-0x807fffffff] (bus address [0x40000000-0x7fffffff])
[ 4.498347] pci 0001:00:00.0: BAR 6: assigned [mem 0x8040000000-0x80400007ff pref]
[ 4.506015] pci 0001:00:00.0: PCI bridge to [bus 01]
[ 4.511238] OF: PCI: host bridge /soc/pcie@3500000 ranges:
[ 4.516805] OF: PCI: IO 0x8800010000..0x880001ffff -> 0x00000000
[ 4.523152] OF: PCI: MEM 0x8840000000..0x887fffffff -> 0x40000000
[ 4.529618] layerscape-pcie 3500000.pcie: PCI host bridge to bus 0002:00
[ 4.536404] pci_bus 0002:00: root bus resource [bus 00-ff]
[ 4.541958] pci_bus 0002:00: root bus resource [io 0x10000-0x1ffff] (bus address [0x0000-0xffff])
[ 4.551032] pci_bus 0002:00: root bus resource [mem 0x8840000000-0x887fffffff] (bus address [0x40000000-0x7fffffff])
[ 4.571692] /soc/pcie@3500000: Invalid msi-map translation - no match for rid 0x302 on (null)
[ 4.582459] /soc/pcie@3500000: Invalid msi-map translation - no match for rid 0x303 on (null)
[ 4.593215] pci 0002:00:00.0: BAR 14: assigned [mem 0x8840000000-0x88400fffff]
[ 4.600528] pci 0002:00:00.0: BAR 13: assigned [io 0x10000-0x10fff]
[ 4.606964] pci 0002:00:00.0: BAR 6: assigned [mem 0x8840100000-0x88401007ff pref]
[ 4.614631] pci 0002:01:00.0: BAR 14: assigned [mem 0x8840000000-0x88400fffff]
[ 4.621945] pci 0002:01:00.0: BAR 13: assigned [io 0x10000-0x10fff]
[ 4.628379] pci 0002:02:01.0: BAR 14: assigned [mem 0x8840000000-0x88400fffff]
[ 4.635693] pci 0002:02:01.0: BAR 13: assigned [io 0x10000-0x10fff]
[ 4.642133] pci 0002:03:00.0: BAR 1: assigned [mem 0x8840000000-0x8840000fff]
[ 4.649377] pci 0002:03:00.0: BAR 5: assigned [mem 0x8840001000-0x8840001fff]
[ 4.656619] pci 0002:03:00.1: BAR 1: assigned [mem 0x8840002000-0x8840002fff]
[ 4.663863] pci 0002:03:00.1: BAR 5: assigned [mem 0x8840003000-0x8840003fff]
[ 4.671106] pci 0002:03:00.2: BAR 1: assigned [mem 0x8840004000-0x8840004fff]
[ 4.678351] pci 0002:03:00.2: BAR 5: assigned [mem 0x8840005000-0x8840005fff]
[ 4.685593] pci 0002:03:00.3: BAR 1: assigned [mem 0x8840006000-0x8840006fff]
[ 4.692836] pci 0002:03:00.3: BAR 5: assigned [mem 0x8840007000-0x8840007fff]
[ 4.700078] pci 0002:03:00.0: BAR 0: assigned [io 0x10000-0x10007]
[ 4.706443] pci 0002:03:00.1: BAR 0: assigned [io 0x10008-0x1000f]
[ 4.712804] pci 0002:03:00.2: BAR 0: assigned [io 0x10010-0x10017]
[ 4.719166] pci 0002:03:00.3: BAR 0: assigned [io 0x10018-0x1001f]
[ 4.725531] pci 0002:02:01.0: PCI bridge to [bus 03]
[ 4.730564] pci 0002:02:01.0: bridge window [io 0x10000-0x10fff]
[ 4.736931] pci 0002:02:01.0: bridge window [mem 0x8840000000-0x88400fffff]
[ 4.744203] pci 0002:02:02.0: PCI bridge to [bus 04]
[ 4.749299] pci 0002:02:03.0: PCI bridge to [bus 05]
[ 4.754398] pci 0002:01:00.0: PCI bridge to [bus 02-05]
[ 4.759693] pci 0002:01:00.0: bridge window [io 0x10000-0x10fff]
[ 4.766062] pci 0002:01:00.0: bridge window [mem 0x8840000000-0x88400fffff]
[ 4.773333] pci 0002:00:00.0: PCI bridge to [bus 01-05]
[ 4.778622] pci 0002:00:00.0: bridge window [io 0x10000-0x10fff]
[ 4.784967] pci 0002:00:00.0: bridge window [mem 0x8840000000-0x88400fffff]
[ 4.806417] Freescale LS2 console driver
[ 4.810545] fsl-ls2-console: device fsl_mc_console registered
[ 4.816472] fsl-ls2-console: device fsl_aiop_console registered
[ 4.827007] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 4.834664] /soc/pcie@3500000: Invalid iommu-map translation - no match for rid 0x302 on (null)
[ 4.844893] /soc/pcie@3500000: Invalid iommu-map translation - no match for rid 0x303 on (null)
[ 4.855681] console [ttyS0] disabled
[ 4.859339] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 13, base_baud = 12500000) is a 16550A
[ 4.868280] console [ttyS0] enabled
[ 4.868280] console [ttyS0] enabled
[ 4.875309] bootconsole [uart8250] disabled
[ 4.875309] bootconsole [uart8250] disabled
[ 4.884258] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 13, base_baud = 12500000) is a 16550A
[ 4.893579] SuperH (H)SCI(F) driver initialized
[ 4.898435] msm_serial: driver initialized
[ 4.903825] arm-smmu 5000000.iommu: probing hardware configuration...
[ 4.910291] arm-smmu 5000000.iommu: SMMUv2 with:
[ 4.914923] arm-smmu 5000000.iommu: stage 1 translation
[ 4.920251] arm-smmu 5000000.iommu: stage 2 translation
[ 4.925579] arm-smmu 5000000.iommu: nested translation
[ 4.930823] arm-smmu 5000000.iommu: stream matching with 128 register groups
[ 4.937987] arm-smmu 5000000.iommu: 64 context banks (0 stage-2 only)
[ 4.944539] arm-smmu 5000000.iommu: Supported page sizes: 0x61311000
[ 4.951001] arm-smmu 5000000.iommu: Stage-1: 48-bit VA -> 48-bit IPA
[ 4.957463] arm-smmu 5000000.iommu: Stage-2: 48-bit IPA -> 48-bit PA
[ 4.970938] brd: module loaded
[ 4.978881] loop: module loaded
[ 5.039786] libphy: Fixed MDIO Bus: probed
[ 5.045162] tun: Universal TUN/TAP device driver, 1.6
[ 5.051435] Freescale FM module, FMD API version 21.1.0
[ 5.056823] Freescale FM Ports module
[ 5.060496] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[ 5.066170] fsl_dpa: FSL DPAA Ethernet driver
[ 5.070608] fsl_advanced: FSL DPAA Advanced drivers:
[ 5.075587] fsl_proxy: FSL DPAA Proxy initialization driver
[ 5.081243] fsl_oh: FSL FMan Offline Parsing port driver
[ 5.086821] iommu: Adding device 0000:00:00.0 to group 0
[ 5.203302] fsl_enetc 0000:00:00.0: enabling device (0400 -> 0402)
[ 5.209623] libphy: Freescale ENETC MDIO Bus: probed
[ 5.215111] fsl_enetc 0000:00:00.0: no MAC address specified for SI1, using 2a:b2:c1:57:3f:2c
[ 5.223772] fsl_enetc 0000:00:00.0: no MAC address specified for SI2, using 86:0e:1e:c8:44:da
[ 5.234299] fsl_enetc 0000:00:00.0 eth0: ENETC PF driver v1.0
[ 5.240085] fsl_enetc 0000:00:00.0: enetc_tsn_init: setup done
[ 5.246148] iommu: Adding device 0000:00:00.1 to group 1
[ 5.363299] fsl_enetc 0000:00:00.1: enabling device (0400 -> 0402)
[ 5.369602] libphy: Freescale ENETC MDIO Bus: probed
[ 5.375058] fsl_enetc 0000:00:00.1: no MAC address specified for SI1, using 42:d8:06:26:79:33
[ 5.383638] fsl_enetc 0000:00:00.1: no MAC address specified for SI2, using b6:f4:44:07:0b:b1
[ 5.393019] fsl_enetc 0000:00:00.1 eth1: ENETC PF driver v1.0
[ 5.398859] fsl_enetc 0000:00:00.1: enetc_tsn_init: setup done
[ 5.404921] iommu: Adding device 0000:00:00.2 to group 2
[ 5.523299] fsl_enetc 0000:00:00.2: enabling device (0400 -> 0402)
[ 5.530587] fsl_enetc 0000:00:00.2 eth2: ENETC PF driver v1.0
[ 5.536454] fsl_enetc 0000:00:00.2: enetc_tsn_init: setup done
[ 5.542503] iommu: Adding device 0000:00:00.6 to group 3
[ 5.663299] fsl_enetc 0000:00:00.6: enabling device (0400 -> 0402)
[ 5.670597] fsl_enetc 0000:00:00.6 eth3: ENETC PF driver v1.0
[ 5.676394] fsl_enetc 0000:00:00.6: enetc_tsn_init: setup done
[ 5.682555] iommu: Adding device 0000:00:00.3 to group 4
[ 5.803298] fsl_enetc_mdio 0000:00:00.3: enabling device (0400 -> 0402)
[ 5.810028] libphy: FSL PCIe IE Central MDIO Bus: probed
[ 5.817202] iommu: Adding device 0000:00:00.4 to group 5
[ 5.822625] fsl_enetc_ptp 0000:00:00.4: enabling device (0404 -> 0406)
[ 5.829410] ptp_qoriq: device tree node missing required elements, try automatic configuration
[ 5.838330] pps pps0: new PPS source ptp0
[ 5.842775] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[ 5.849872] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 5.855721] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 5.861572] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 5.867608] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[ 5.874619] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 5.880257] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[ 5.888125] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 5.894371] sky2: driver version 1.30
[ 5.898237] iommu: Adding device 0000:00:00.5 to group 6
[ 5.916554] mscc_felix 0000:00:00.5: Felix Switch driver v1.0
[ 5.923601] VFIO - User Level meta-driver version: 0.3
[ 5.929297] iommu: Adding device 3100000.usb to group 7
[ 5.935242] iommu: Adding device 3110000.usb to group 8
[ 5.941811] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.948386] ehci-pci: EHCI PCI platform driver
[ 5.952894] ehci-platform: EHCI generic platform driver
[ 5.958265] ehci-orion: EHCI orion driver
[ 5.962361] ehci-exynos: EHCI EXYNOS driver
[ 5.966846] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[ 5.972504] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.978742] ohci-pci: OHCI PCI platform driver
[ 5.983250] ohci-platform: OHCI generic platform driver
[ 5.988594] ohci-exynos: OHCI EXYNOS driver
[ 5.993145] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 5.998696] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 6.006615] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010010
[ 6.016103] xhci-hcd xhci-hcd.0.auto: irq 7, io mem 0x03100000
[ 6.022422] hub 1-0:1.0: USB hub found
[ 6.026222] hub 1-0:1.0: 1 port detected
[ 6.030400] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 6.035939] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 6.043652] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 6.050336] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 6.058854] hub 2-0:1.0: USB hub found
[ 6.062632] hub 2-0:1.0: 1 port detected
[ 6.067017] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 6.072534] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 6.080419] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010010
[ 6.089916] xhci-hcd xhci-hcd.1.auto: irq 8, io mem 0x03110000
[ 6.096188] hub 3-0:1.0: USB hub found
[ 6.099970] hub 3-0:1.0: 1 port detected
[ 6.104262] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 6.109773] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 6.117478] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 6.124205] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 6.132710] hub 4-0:1.0: USB hub found
[ 6.136515] hub 4-0:1.0: 1 port detected
[ 6.141001] usbcore: registered new interface driver usb-storage
[ 6.147168] usbcore: registered new interface driver usbserial
[ 6.153051] usbcore: registered new interface driver ftdi_sio
[ 6.158856] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 6.168418] ftm-alarm 2800000.timer: registered as rtc1
[ 6.175414] rtc-pcf85063 0-0051: rtc core: registered rtc-pcf85063 as rtc0
[ 6.183037] i2c /dev entries driver
[ 6.187895] IR NEC protocol handler initialized
[ 6.192440] IR RC5(x/sz) protocol handler initialized
[ 6.197521] IR RC6 protocol handler initialized
[ 6.202064] IR JVC protocol handler initialized
[ 6.206607] IR Sony protocol handler initialized
[ 6.211236] IR SANYO protocol handler initialized
[ 6.215953] IR Sharp protocol handler initialized
[ 6.220669] IR MCE Keyboard/mouse protocol handler initialized
[ 6.226519] IR XMP protocol handler initialized
[ 6.232881] tmp401 0-0048: Detected TI TMP401 chip
[ 6.238399] sp805-wdt c000000.wdt: registration successful
[ 6.244076] sp805-wdt c010000.wdt: registration successful
[ 6.250743] qoriq_cpufreq: Freescale QorIQ CPU frequency scaling driver
[ 6.257710] sdhci: Secure Digital Host Controller Interface driver
[ 6.263914] sdhci: Copyright(c) Pierre Ossman
[ 6.268497] Synopsys Designware Multimedia Card Interface Driver
[ 6.275172] sdhci-pltfm: SDHCI platform and OF driver helper
[ 6.281322] iommu: Adding device 2140000.mmc to group 9
[ 6.343326] mmc0: SDHCI controller on 2140000.mmc [2140000.mmc] using ADMA
[ 6.351458] iommu: Adding device 2150000.mmc to group 10
[ 6.413339] mmc1: SDHCI controller on 2150000.mmc [2150000.mmc] using ADMA
[ 6.421107] ledtrig-cpu: registered to indicate activity on CPUs
[ 6.433180] caam 8000000.crypto: Instantiated RNG4 SH1
[ 6.438378] caam 8000000.crypto: device ID = 0x0a12070000000000 (Era 10)
[ 6.445124] caam 8000000.crypto: job rings = 3, qi = 0
[ 6.450666] iommu: Adding device 8010000.jr to group 11
[ 6.464561] caam algorithms registered in /proc/crypto
[ 6.470792] caam 8000000.crypto: caam pkc algorithms registered in /proc/crypto
[ 6.473570] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 6.478153] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[ 6.491698] caam_jr 8010000.jr: registering rng-caam
[ 6.496890] iommu: Adding device 8020000.jr to group 12
[ 6.502451] iommu: Adding device 8030000.jr to group 13
[ 6.509110] usbcore: registered new interface driver usbhid
[ 6.514721] usbhid: USB HID core driver
[ 6.518724] DPAA2-ETH: debugfs created
[ 6.520195] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 6.522956] No fsl,qman node
[ 6.531705] Freescale USDPAA process driver
[ 6.536019] fsl-usdpaa: no region found
[ 6.539377] scsi host0: usb-storage 2-1:1.0
[ 6.539880] Freescale USDPAA process IRQ driver
[ 6.549665] optee: probing for conduit method from DT.
[ 6.554859] optee: api uid mismatch
[ 6.558462] mmc1: new high speed MMC card at address 0001
[ 6.564716] u32 classifier
[ 6.567431] Actions configured
[ 6.570851] Netfilter messages via NETLINK v0.30.
[ 6.575698] mmcblk1: mmc1:0001 IS008G 7.28 GiB
[ 6.575872] nf_conntrack version 0.5.0 (7680 buckets, 30720 max)
[ 6.580444] mmcblk1boot0: mmc1:0001 IS008G partition 1 4.00 MiB
[ 6.586429] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[ 6.592404] mmcblk1boot1: mmc1:0001 IS008G partition 2 4.00 MiB
[ 6.598774] nf_tables_compat: (c) 2012 Pablo Neira Ayuso <pablo@netfilter.org>
[ 6.604908] mmcblk1rpmb: mmc1:0001 IS008G partition 3 4.00 MiB
[ 6.612166] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 6.623228] mmcblk1: p1 p2
[ 6.626569] Initializing XFRM netlink socket
[ 6.630867] NET: Registered protocol family 17
[ 6.635682] NET: Registered protocol family 15
[ 6.640178] Bridge firewalling registered
[ 6.644235] Ebtables v2.0 registered
[ 6.647951] 8021q: 802.1Q VLAN Support v1.8
[ 6.652188] 9pnet: Installing 9P2000 support
[ 6.656589] tsn generic netlink module v1 init...
[ 6.661359] Key type dns_resolver registered
[ 6.666490] registered taskstats version 1
[ 6.670776] hub 3-1:1.0: USB hub found
[ 6.671081] Btrfs loaded, crc32c=crc32c-generic
[ 6.679123] hub 3-1:1.0: 2 ports detected
[ 6.681291] iommu: Adding device 22c0000.dma-controller to group 14
[ 6.691521] iommu: Adding device 0001:00:00.0 to group 15
[ 6.697374] pcieport 0001:00:00.0: Signaling PME with IRQ 20
[ 6.703225] pcieport 0001:00:00.0: AER enabled with IRQ 21
[ 6.709011] iommu: Adding device 0002:00:00.0 to group 16
[ 6.714683] pcieport 0002:00:00.0: Signaling PME with IRQ 22
[ 6.720551] pcieport 0002:00:00.0: AER enabled with IRQ 23
[ 6.726225] iommu: Adding device 0002:01:00.0 to group 16
[ 6.732363] iommu: Adding device 0002:02:01.0 to group 16
[ 6.738853] iommu: Adding device 0002:02:02.0 to group 16
[ 6.745309] iommu: Adding device 0002:02:03.0 to group 16
[ 6.751803] iommu: Adding device 0002:03:00.0 to group 16
[ 6.757861] iommu: Adding device 0002:03:00.1 to group 16
[ 6.764728] rtc-pcf85063 0-0051: setting system clock to 2000-01-01 00:40:35 UTC (946687235)
[ 6.963370] random: fast init done
[ 7.033308] usb 3-1.1: new full-speed USB device number 3 using xhci-hcd
[ 7.701759] scsi 0:0:0:0: Direct-Access JetFlash Transcend 16GB 1100 PQ: 0 ANSI: 6
[ 7.711025] sd 0:0:0:0: [sda] 30818304 512-byte logical blocks: (15.8 GB/14.7 GiB)
[ 7.719169] sd 0:0:0:0: [sda] Write Protect is off
[ 7.724458] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 7.740286] sda: sda1 sda2
[ 7.745197] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 19.263333] ALSA device list:
[ 19.266309] No soundcards found.
[ 19.269963] RAMDISK: gzip image found at block 0
[ 19.361745] RAMDISK: incomplete write (4500 != 32645)
[ 19.366855] write error
[ 19.394305] EXT4-fs (ram0): bad geometry: block count 227628 exceeds size of device (4096 blocks)
[ 19.413427] VFS: Mounted root (ext2 filesystem) on device 1:0.
[ 19.419357] devtmpfs: mounted
[ 19.426762] Freeing unused kernel memory: 4224K
[ 19.431561] attempt to access beyond end of device
[ 19.436418] ram0: rw=0, want=8330, limit=8192
[ 19.440791] Buffer I/O error on dev ram0, logical block 4164, async page read
[ 19.448060] attempt to access beyond end of device
[ 19.452867] ram0: rw=0, want=10220, limit=8192
[ 19.457347] Buffer I/O error on dev ram0, logical block 5109, async page read
[ 19.464528] attempt to access beyond end of device
[ 19.469335] ram0: rw=0, want=14162, limit=8192
[ 19.473810] Buffer I/O error on dev ram0, logical block 7080, async page read
[ 19.480970] attempt to access beyond end of device
[ 19.485785] ram0: rw=0, want=330314, limit=8192
[ 19.490329] Buffer I/O error on dev ram0, logical block 165156, async page read
[ 19.497733] attempt to access beyond end of device
[ 19.502540] ram0: rw=0, want=36880, limit=8192
[ 19.507021] Buffer I/O error on dev ram0, logical block 18439, async page read
[ 19.514279] attempt to access beyond end of device
[ 19.519084] ram0: rw=0, want=66354, limit=8192
[ 19.523568] Buffer I/O error on dev ram0, logical block 33176, async page read
[ 19.530815] attempt to access beyond end of device
[ 19.535634] ram0: rw=0, want=330318, limit=8192
[ 19.540177] Buffer I/O error on dev ram0, logical block 165158, async page read
[ 19.547579] attempt to access beyond end of device
[ 19.552386] ram0: rw=0, want=8328, limit=8192
[ 19.556778] Buffer I/O error on dev ram0, logical block 4163, async page read
[ 19.563948] attempt to access beyond end of device
[ 19.568754] ram0: rw=0, want=330312, limit=8192
[ 19.573316] Buffer I/O error on dev ram0, logical block 165155, async page read
[ 19.580664] attempt to access beyond end of device
[ 19.585484] ram0: rw=0, want=8328, limit=8192
[ 19.589854] Buffer I/O error on dev ram0, logical block 4163, async page read
[ 19.597034] attempt to access beyond end of device
[ 19.601840] ram0: rw=0, want=330312, limit=8192
[ 19.606402] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[ 19.620628] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.140+gd39cc9ffcbe5 #1
[ 19.627962] Hardware name: IP01 Board (DT)
[ 19.632068] Call trace:
[ 19.634533] [<ffff20d2a048a2d0>] dump_backtrace+0x0/0x418
[ 19.639951] [<ffff20d2a048a6fc>] show_stack+0x14/0x20
[ 19.645022] [<ffff20d2a11df728>] dump_stack+0x9c/0xbc
[ 19.650091] [<ffff20d2a04d218c>] panic+0x130/0x2a4
[ 19.654899] [<ffff20d2a11f2fcc>] kernel_init+0xf4/0x108
[ 19.660142] [<ffff20d2a0485070>] ret_from_fork+0x10/0x18
[ 19.665474] SMP: stopping secondary CPUs
[ 19.669419] Kernel Offset: 0x20d298400000 from 0xffff000008000000
[ 19.675534] CPU features: 0x1802008
[ 19.679029] Memory Limit: none
[ 19.682097] ---[ end Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.

________________________________________________________________________

6. I also done some workarounds by default reference board addresses.

a) changing ramdisk_addr_r and kernel_addr_r to 0xa0000000

and also mkimage wiith 0xa0000000 load and start adddress

b) changing ramdisk_addr_r to 0x84000000 and kernel_addr_r to 0xa0000000 and vice -versa

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

I also have a question with no init found error: does uRamdisk file automatically unpack so that Linux can find /sbin/init file ?? if not how Linux can find the init file ?

is there something wrong in my procedure.  please give me your comments and feedback.

Thank you

Rajesh

Labels (1)
0 Kudos
3 Replies

2,538 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please add "ramdisk_size=10000000" in bootargs.

setenv bootargs "root=/dev/ram0 rw rootwait ip=192.168.0.128:192.168.0.214:{gatewayip}:255.255.255.0::off console=ttyS0,115200 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=10000000"

If your problem remains, please provide Linux Kernel boot up log again.

2,538 Views
yuvarajesh_vall
Contributor II

Hi Yiping Wang,

Thank you for the reply. 

I added the ramdisk_size in bootargs. Now its working. 

i have a question out of curiosity, i tried changing ramdisk_size address many times with different values(also 10000000) and could not get forward. but after adding in bootargs its working. why ?

0 Kudos

2,538 Views
yipingwang
NXP TechSupport
NXP TechSupport

ramdisk_size specify the size of the initial RAM disk in kilobytes. The default size is 4096 (4 MB). This option should be used instead of the older ramdisk command-line option.