[Letux-kernel] [PATCH 00/20] A bunch of JZ4730 fixups for letux-kernel
H. Nikolaus Schaller
hns at goldelico.com
Sat Nov 28 11:45:51 CET 2020
Hi Lubomir,
> Am 27.11.2020 um 22:52 schrieb Lubomir Rintel <lkundrak at v3.sk>:
>
> On Fri, Nov 27, 2020 at 01:45:43PM +0100, H. Nikolaus Schaller wrote:
>>
>> Maybe can you send me your uImage binary for comparison and trying to boot that one?
>
> Yes. Here's a branch [1] you've requested elsewhere in this thread, with
> the last commit containing the build script and a built uImage:
>
> git pull git://git.kernel.org/pub/scm/linux/kernel/git/lkundrak/linux.git lr/alpha400-for-nicholas
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/lkundrak/linux.git/log/?h=lr/alpha400-for-nicholas
Great! Your uImage boots.
So I can now try to find out what is different with my build process. Maybe some compiler option...
BR and thanks,
Nikolaus
Starting U-Boot ...
U-Boot 1.1.6 (Jun 24 2008 - 18:57:34)
Board: Ingenic PMP Ver 1.x (CPU Speed 335 MHz)
DRAM: 64 MB
Flash: 0 kB
NAND:1024 MiB
*** Warning - bad CRC or NAND, using default environment
In: serial
Out: serial
Err: serial
Net: JZ ETHERNET
### main_loop: bootcmd="mmcinit;fatload mmc 0 0x80600000 uimage;bootm"
Hit any key to stop autoboot: 0
MMC card found
MMC card is ready
I'm sorry wo only surport fat16 and fat32
I'm sorry wo only surport fat16 and fat32
reading uimage
filesize: 2849112, got: 2849112
2849112 bytes read
## Booting image at 80600000 ...
Image Name:
Image Type: MIPS Linux Kernel Image (gzip compressed)
Data Size: 2849048 Bytes = 2.7 MB
Load Address: 80100000
Entry Point: 80523be8
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 5.10.0-rc4+ (lkundrak at demiurge.local) (mips64-linux-gnu-gcc (GCC) 10.2.1 20200826 (Red Hat Cross 10.2.1-3), GNU ld version 2.35.1-1.fc33) #58 PREEMPT Fri Nov 27 18:50:56 CET 2020
[ 0.000000] CPU0 revision is: 02d0024f (Ingenic XBurst)
[ 0.000000] MIPS: machine is letux400,minipc
[ 0.000000] earlycon: jz4740_uart0 at MMIO32 0x10030000 (options '115200n8')
[ 0.000000] printk: bootconsole [jz4740_uart0] enabled
[ 0.000000] printk: debug: ignoring loglevel setting.
[ 0.000000] User-defined physical RAM map overwrite
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] cma: Reserved 32 MiB at 0x01000000
[ 0.000000] Primary instruction cache 16kB, VIVT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: mem=128M earlycon=jz4740_uart,mmio32,0x10030000,115200n8 console=ttyS0,115200n8 console=tty0 ignore_loglevel clocksource=jiffies clk_ignore_unused
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 89648K/131072K available (4262K kernel code, 239K rwdata, 1516K rodata, 1272K init, 156K bss, 8656K reserved, 32768K cma-reserved)
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 256
[ 0.000000] random: get_random_bytes called from start_kernel+0x63c/0x864 with crng_init=0
[ 0.000000] clocksource: ingenic-timer: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 7910990 ns
[ 0.000053] sched_clock: 16 bits at 3686kHz, resolution 271ns, wraps every 8888753ns
[ 0.009643] Console: colour dummy device 80x25
[ 0.014182] printk: console [tty0] enabled
[ 0.000804] printk: bootconsole [jz4740_uart0] disabled
** 8 printk messages dropped **
[ 0.000000] cma: Reserved 32 MiB at 0x01000000
[ 0.000000] Primary instruction cache 16kB, VIVT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: mem=128M earlycon=jz4740_uart,mmio32,0x10030000,115200n8 console=ttyS0,115200n8 console=tty0 ignore_loglevel clocksource=jiffies clk_ignore_unused
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 89648K/131072K available (4262K kernel code, 239K rwdata, 1516K rodata, 1272K init, 156K bss, 8656K reserved, 32768K cma-reserved)
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 256
[ 0.000000] random: get_random_bytes called from start_kernel+0x63c/0x864 with crng_init=0
[ 0.000000] clocksource: ingenic-timer: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 7910990 ns
[ 0.000053] sched_clock: 16 bits at 3686kHz, resolution 271ns, wraps every 8888753ns
[ 0.009643] Console: colour dummy device 80x25
[ 0.014182] printk: console [tty0] enabled
[ 0.000804] printk: bootconsole [jz4740_uart0] disabled
** 8 printk messages dropped **
[ 0.000000] cma: Reserved 32 MiB at 0x01000000
[ 0.000000] Primary instruction cache 16kB, VIVT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
....
[ 0.415593] clk: Not disabling unused clocks
[ 0.421089] jz4740-mmc 10021000.mmc: Ingenic SD/MMC card driver registered
[ 0.428240] jz4740-mmc 10021000.mmc: Using PIO, 4-bit mode
[ 0.416531] driver: 'jz4740-mmc': driver_bound: bound to device '10021000.mmc'
[ 0.424115] jz4740-mmc 10021000.mmc: Dropping the link to 10000000.jz4730-cgu
[ 0.431484] device: '10000000.jz4730-cgu--10021000.mmc': device_unregister
[ 0.421516] jz4740-mmc 10021000.mmc: Dropping the link to regulator at 1
[ 0.428219] device: 'regulator at 1--10021000.mmc': device_unregister
[ 0.434999] jz4740-mmc 10021000.mmc: Dropping the link to 10010000.pin-controller
[ 0.427963] device: '10010000.pin-controller--10021000.mmc': device_unregister
[ 0.442357] bus: 'platform': really_probe: bound device 10021000.mmc to driver jz4740-mmc
[ 0.434205] jz4740-mmc 10021000.mmc: driver jz4740-mmc async attach completed: 1
[ 0.443034] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 0.450846] Please append a correct "root=" boot option; here are the available partitions:
[ 0.442148] 0100 16384 ram0
[ 0.442188] (driver?)
[ 0.448653] 0101 16384 ram1
[ 0.448692] (driver?)
[ 0.455142] 0102 16384 ram2
[ 0.455182] (driver?)
[ 0.444604] 0103 16384 ram3
[ 0.444647] (driver?)
[ 0.451118] 0104 16384 ram4
[ 0.451156] (driver?)
[ 0.457609] 0105 16384 ram5
[ 0.457648] (driver?)
[ 0.447439] 0106 16384 ram6
[ 0.447482] (driver?)
[ 0.455852] 0107 16384 ram7
[ 0.455897] (driver?)
[ 0.462685] 0108 16384 ram8
[ 0.462730] (driver?)
[ 0.452396] 0109 16384 ram9
[ 0.452438] (driver?)
[ 0.458910] 010a 16384 ram10
[ 0.458949] (driver?)
[ 0.465488] 010b 16384 ram11
[ 0.465528] (driver?)
[ 0.455258] 010c 16384 ram12
[ 0.455303] (driver?)
[ 0.461862] 010d 16384 ram13
[ 0.461900] (driver?)
[ 0.468442] 010e 16384 ram14
[ 0.468481] (driver?)
[ 0.457830] 010f 16384 ram15
[ 0.457872] (driver?)
[ 0.464432] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 0.455271] Rebooting in 10 seconds..
[ 0.460047] Reboot failed -- System halted
More information about the Letux-kernel
mailing list