Skip to content

Instantly share code, notes, and snippets.

@pdp7
Last active October 17, 2023 20:25
Show Gist options
  • Save pdp7/fae4637378426723508b679420a0a5a1 to your computer and use it in GitHub Desktop.
Save pdp7/fae4637378426723508b679420a0a5a1 to your computer and use it in GitHub Desktop.
Linux 6.6-rc6 with TH1520 eMMC patch series boot on LicheePi 4A
brom_ver 8
[APP][E] protocol_connect failed, exit.
-----------------------------------------
_____ _ _____ _____ _ __
| __ \ (_)/ ____| __ \| |/ /
| |__) | _ _ _ _| (___ | | | | ' /
| _ / | | | | | | |\___ \| | | | <
| | \ \ |_| | |_| | |____) | |__| | . \
|_| \_\__,_|\__, |_|_____/|_____/|_|\_\
__/ |
|___/
-- Presented by ISCAS
-----------------------------------------
U-Boot SPL 2020.01-gabc7bb33e3f2 (Jul 27 2023 - 19:17:30 -0700)
FM[1] lpddr4x dualrank freq=3733 64bit dbi_off=n sdram init
ddr initialized, jump to uboot
image has no header
U-Boot 2020.01-gabc7bb33e3f2 (Jul 27 2023 - 19:17:30 -0700)
CPU: rv64imafdcvsu
Model: T-HEAD c910 light
DRAM: 8 GiB
C910 CPU FREQ: 750MHz
AHB2_CPUSYS_HCLK FREQ: 250MHz
AHB3_CPUSYS_PCLK FREQ: 125MHz
PERISYS_AHB_HCLK FREQ: 250MHz
PERISYS_APB_PCLK FREQ: 62MHz
GMAC PLL POSTDIV FREQ: 1000MHZ
DPU0 PLL POSTDIV FREQ: 1188MHZ
DPU1 PLL POSTDIV FREQ: 1188MHZ
MMC: sdhci@ffe7080000: 0, sd@ffe7090000: 1
Loading Environment from MMC... OK
Error reading output register
Warning: cannot get lcd-en GPIO
LCD panel cannot be found : -121
splash screen startup cost 16 ms
In: serial
Out: serial
Err: serial
Use random addr as fixed mac addr
Saving Environment to MMC... Writing to MMC(0)... OK
ethaddr: 66:b8:8a:24:d8:4e
eth1addr: 66:b8:8a:24:d8:4f
Net: ethernet@ffe7070000 (eth0) using MAC address - 66:b8:8a:24:d8:4e
eth0: ethernet@ffe7070000ethernet@ffe7070000:0 is connected to ethernet@ffe7070000. Reconnecting to ethernet@ffe7060000
ethernet@ffe7060000 (eth1) using MAC address - 66:b8:8a:24:d8:4f
, eth1: ethernet@ffe7060000
Hit any key to stop autoboot: 2  1  0
## Error: "findpart" not defined
50340 bytes read in 1 ms (48 MiB/s)
15748 bytes read in 1 ms (15 MiB/s)
138368 bytes read in 1 ms (132 MiB/s)
Retrieving file: /extlinux/extlinux.conf
184 bytes read in 1 ms (179.7 KiB/s)
1: Linux eMMC
Retrieving file: /Image
15640576 bytes read in 37 ms (403.1 MiB/s)
append: root=/dev/mmcblk0p3 rootfstype=ext4 rootwait console=ttyS0,115200 loglevel=8 earlycon
Retrieving file: /<NULL>-light-c910.
Skipping Linux eMMC for failure retrieving fdt
C910 Light# setenv fdtfile th1520-lichee-pi-4a.dtb
C910 Light# boot
## Error: "findpart" not defined
50340 bytes read in 2 ms (24 MiB/s)
15748 bytes read in 1 ms (15 MiB/s)
138368 bytes read in 2 ms (66 MiB/s)
Retrieving file: /extlinux/extlinux.conf
184 bytes read in 1 ms (179.7 KiB/s)
1: Linux eMMC
Retrieving file: /Image
15640576 bytes read in 37 ms (403.1 MiB/s)
append: root=/dev/mmcblk0p3 rootfstype=ext4 rootwait console=ttyS0,115200 loglevel=8 earlycon
Retrieving file: /th1520-lichee-pi-4a.dtb
8874 bytes read in 2 ms (4.2 MiB/s)
## Flattened Device Tree blob at 01f00000
Booting using the fdt blob at 0x1f00000
Using Device Tree in place at 0000000001f00000, end 0000000001f052a9
Starting kernel ...
OpenSBI v1.3-31-g0ad866067d78
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : Sipeed Lichee Pi 4A
Platform Features : medeleg
Platform HART Count : 4
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 3000000Hz
Platform Console Device : uart8250
Platform HSM Device : ---
Platform PMU Device : ---
Platform Reboot Device : ---
Platform Shutdown Device : ---
Platform Suspend Device : ---
Platform CPPC Device : ---
Firmware Base : 0x0
Firmware Size : 224 KB
Firmware RW Offset : 0x20000
Firmware RW Size : 96 KB
Firmware Heap Offset : 0x2e000
Firmware Heap Size : 40 KB (total), 2 KB (reserved), 9 KB (used), 28 KB (free)
Firmware Scratch Size : 4096 B (total), 760 B (used), 3336 B (free)
Runtime SBI Version : 1.0
Domain0 Name : root
Domain0 Boot HART : 0
Domain0 HARTs : 0*,1*,2*,3*
Domain0 Region00 : 0x000000ffdc008000-0x000000ffdc00bfff M: (I,R,W) S/U: ()
Domain0 Region01 : 0x000000ffdc000000-0x000000ffdc007fff M: (I,R,W) S/U: ()
Domain0 Region02 : 0x0000000000000000-0x000000000001ffff M: (R,X) S/U: ()
Domain0 Region03 : 0x0000000000020000-0x000000000003ffff M: (R,W) S/U: ()
Domain0 Region04 : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X)
Domain0 Next Address : 0x0000000000200000
Domain0 Next Arg1 : 0x0000000001f00000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Domain0 SysSuspend : yes
Boot HART ID : 0
Boot HART Domain : root
Boot HART Priv Version : v1.11
Boot HART Base ISA : rv64imafdcvx
Boot HART ISA Extensions : zicntr,zihpm
Boot HART PMP Count : 0
Boot HART PMP Granularity : 0
Boot HART PMP Address Bits: 0
Boot HART MHPM Count : 16
Boot HART MIDELEG : 0x0000000000000222
Boot HART MEDELEG : 0x000000000000b109
[ 0.000000] Linux version 6.6.0-rc6-00009-g7350e0f7e85c (pdp7@x1) (riscv64-linux-gnu-gcc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #407 SMP Tue Oct 17 12:55:34 PDT 2023
[ 0.000000] Machine model: Sipeed Lichee Pi 4A
[ 0.000000] SBI specification v1.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10003
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] earlycon: uart0 at MMIO32 0x000000ffe7014000 (options '115200n8')
[ 0.000000] printk: bootconsole [uart0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x0000000000000000..0x000000000001ffff (128 KiB) nomap non-reusable mmode_resv0@0
[ 0.000000] OF: reserved mem: 0x0000000000020000..0x000000000003ffff (128 KiB) nomap non-reusable mmode_resv1@20000
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000000000000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x00000001ffffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000003ffff]
[ 0.000000] node 0: [mem 0x0000000000040000-0x00000001ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff]
[ 0.000000] SBI HSM extension detected
[ 0.000000] Falling back to deprecated "riscv,isa"
[ 0.000000] riscv: base ISA extensions acdfim
[ 0.000000] riscv: ELF capabilities acdfim
[ 0.000000] percpu: Embedded 19 pages/cpu s39672 r8192 d29960 u77824
[ 0.000000] pcpu-alloc: s39672 r8192 d29960 u77824 alloc=19*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Kernel command line: root=/dev/mmcblk0p3 rootfstype=ext4 rootwait console=ttyS0,115200 loglevel=8 earlycon
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2064384
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] fixmap : 0xffffffc6fea00000 - 0xffffffc6ff000000 (6144 kB)
[ 0.000000] pci io : 0xffffffc6ff000000 - 0xffffffc700000000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffc700000000 - 0xffffffc800000000 (4096 MB)
[ 0.000000] vmalloc : 0xffffffc800000000 - 0xffffffd800000000 ( 64 GB)
[ 0.000000] modules : 0xffffffff00f4f000 - 0xffffffff80000000 (2032 MB)
[ 0.000000] lowmem : 0xffffffd800000000 - 0xffffffda00000000 (8192 MB)
[ 0.000000] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB)
[ 0.000000] Memory: 8145268K/8388608K available (6070K kernel code, 4900K rwdata, 2048K rodata, 2181K init, 397K bss, 243340K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[ 0.000000] rcu: RCU debug extended QS entry/exit.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] plic: interrupt-controller@ffd8000000: mapped 240 interrupts with 4 handlers for 8 contexts.
[ 0.000000] riscv: providing IPIs using SBI IPI extension
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1623fa770, max_idle_ns: 881590404476 ns
[ 0.000001] sched_clock: 64 bits at 3000kHz, resolution 333ns, wraps every 4398046511097ns
[ 0.008641] Console: colour dummy device 80x25
[ 0.013283] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=12000)
[ 0.023744] pid_max: default: 32768 minimum: 301
[ 0.028583] LSM: initializing lsm=capability
[ 0.033133] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.040888] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.052535] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.060409] riscv: ELF compat mode unsupported
[ 0.060472] ASID allocator using 16 bits (65536 entries)
[ 0.070676] rcu: Hierarchical SRCU implementation.
[ 0.075531] rcu: Max phase no-delay instances is 1000.
[ 0.081521] EFI services will not be available.
[ 0.086746] smp: Bringing up secondary CPUs ...
[ 1.097363] CPU1: failed to come online
[ 2.123383] CPU2: failed to come online
[ 3.149376] CPU3: failed to come online
[ 3.153448] smp: Brought up 1 node, 1 CPU
[ 3.160552] devtmpfs: initialized
[ 3.169004] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 3.179315] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 3.186717] pinctrl core: initialized pinctrl subsystem
[ 3.193664] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 3.200977] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[ 3.208396] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 3.216824] audit: initializing netlink subsys (disabled)
[ 3.223085] thermal_sys: Registered thermal governor 'step_wise'
[ 3.223189] audit: type=2000 audit(3.148:1): state=initialized audit_enabled=0 res=1
[ 3.237571] cpuidle: using governor menu
[ 3.265716] cpu0: Ratio of byte access time to unaligned word access is 6.14, unaligned accesses are fast
[ 3.277303] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@ffd8000000
[ 3.290126] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 3.297213] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 3.304481] iommu: Default domain type: Translated
[ 3.309474] iommu: DMA domain TLB invalidation policy: strict mode
[ 3.316511] SCSI subsystem initialized
[ 3.322324] clocksource: Switched to clocksource riscv_clocksource
[ 3.345683] NET: Registered PF_INET protocol family
[ 3.351131] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 3.373241] tcp_listen_portaddr_hash hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 3.382307] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 3.390450] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 3.399045] TCP bind hash table entries: 65536 (order: 10, 4194304 bytes, linear)
[ 3.413518] TCP: Hash tables configured (established 65536 bind 65536)
[ 3.420476] UDP hash table entries: 4096 (order: 6, 393216 bytes, linear)
[ 3.428005] UDP-Lite hash table entries: 4096 (order: 6, 393216 bytes, linear)
[ 3.436101] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 3.444468] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[ 3.451980] NET: Registered PF_ALG protocol family
[ 3.456967] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 3.464580] io scheduler mq-deadline registered
[ 3.469279] io scheduler kyber registered
[ 3.473399] io scheduler bfq registered
[ 3.479846] dw_axi_dmac_platform ffefc00000.dma-controller: WARN: Device release is not defined so it is not safe to unbind this driver while in use
[ 3.493989] dw_axi_dmac_platform ffefc00000.dma-controller: DesignWare AXI DMA Controller, 4 channels
[ 3.603437] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 3.613865] printk: console [ttyS0] disabled
[ 3.618858] ffe7014000.serial: ttyS0 at MMIO 0xffe7014000 (irq = 13, base_baud = 6250000) is a 16550A
[ 3.628466] printk: console [ttyS0] enabled
[ 3.628466] printk: console [ttyS0] enabled
[ 3.636976] printk: bootconsole [uart0] disabled
[ 3.636976] printk: bootconsole [uart0] disabled
[ 3.659870] loop: module loaded
[ 3.666505] mousedev: PS/2 mouse device common for all mice
[ 3.673277] sdhci: Secure Digital Host Controller Interface driver
[ 3.679508] sdhci: Copyright(c) Pierre Ossman
[ 3.684070] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.690268] riscv-pmu-sbi: SBI PMU extension is available
[ 3.695756] riscv-pmu-sbi: 16 firmware and 18 hardware counters
[ 3.704465] NET: Registered PF_INET6 protocol family
[ 3.711050] Segment Routing with IPv6
[ 3.714857] In-situ OAM (IOAM) with IPv6
[ 3.718936] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.725871] NET: Registered PF_PACKET protocol family
[ 3.731027] 9pnet: Installing 9P2000 support
[ 3.735452] Key type dns_resolver registered
[ 3.739770] start plist test
[ 3.748829] end plist test
[ 3.778656] debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers
[ 3.789276] mmc0: SDHCI controller on ffe7080000.mmc [ffe7080000.mmc] using ADMA 64-bit
[ 3.798140] clk: Disabling unused clocks
[ 3.803066] dw-apb-uart ffe7014000.serial: forbid DMA for kernel console
[ 3.810032] Waiting for root device /dev/mmcblk0p3...
[ 3.868795] mmc0: new HS400 MMC card at address 0001
[ 3.874834] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[ 3.884822] mmcblk0: p1 p2 p3
[ 3.889400] mmcblk0boot0: mmc0:0001 8GTF4R 4.00 MiB
[ 3.896872] mmcblk0boot1: mmc0:0001 8GTF4R 4.00 MiB
[ 3.904053] mmcblk0rpmb: mmc0:0001 8GTF4R 512 KiB, chardev (246:0)
[ 3.912821] EXT4-fs (mmcblk0p3): INFO: recovery required on readonly filesystem
[ 3.920205] EXT4-fs (mmcblk0p3): write access will be enabled during recovery
[ 3.949665] EXT4-fs (mmcblk0p3): orphan cleanup on readonly fs
[ 3.955626] EXT4-fs (mmcblk0p3): recovery complete
[ 3.961952] EXT4-fs (mmcblk0p3): mounted filesystem 8ff201a2-f23f-44a4-b218-f156bd960edc ro with ordered data mode. Quota mode: disabled.
[ 3.974440] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[ 3.981846] devtmpfs: mounted
[ 3.985946] Freeing unused kernel image (initmem) memory: 2180K
[ 3.991945] Run /sbin/init as init process
[ 3.996073] with arguments:
[ 3.999077] /sbin/init
[ 4.001798] with environment:
[ 4.004962] HOME=/
[ 4.007345] TERM=linux
[ 4.054996] EXT4-fs (mmcblk0p3): re-mounted 8ff201a2-f23f-44a4-b218-f156bd960edc r/w. Quota mode: disabled.
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Seeding 256 bits without crediting
Saving 256 bits of non-creditable seed for next boot
Welcome to Buildroot
buildroot login: root
# dmesg
[ 0.000000] Linux version 6.6.0-rc6-00009-g7350e0f7e85c (pdp7@x1) (riscv64-linux-gnu-gcc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #407 SMP Tue Oct 17 12:55:34 PDT 2023
[ 0.000000] Machine model: Sipeed Lichee Pi 4A
[ 0.000000] SBI specification v1.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10003
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] earlycon: uart0 at MMIO32 0x000000ffe7014000 (options '115200n8')
[ 0.000000] printk: bootconsole [uart0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x0000000000000000..0x000000000001ffff (128 KiB) nomap non-reusable mmode_resv0@0
[ 0.000000] OF: reserved mem: 0x0000000000020000..0x000000000003ffff (128 KiB) nomap non-reusable mmode_resv1@20000
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000000000000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x00000001ffffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000003ffff]
[ 0.000000] node 0: [mem 0x0000000000040000-0x00000001ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff]
[ 0.000000] SBI HSM extension detected
[ 0.000000] Falling back to deprecated "riscv,isa"
[ 0.000000] riscv: base ISA extensions acdfim
[ 0.000000] riscv: ELF capabilities acdfim
[ 0.000000] percpu: Embedded 19 pages/cpu s39672 r8192 d29960 u77824
[ 0.000000] pcpu-alloc: s39672 r8192 d29960 u77824 alloc=19*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Kernel command line: root=/dev/mmcblk0p3 rootfstype=ext4 rootwait console=ttyS0,115200 loglevel=8 earlycon
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2064384
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] fixmap : 0xffffffc6fea00000 - 0xffffffc6ff000000 (6144 kB)
[ 0.000000] pci io : 0xffffffc6ff000000 - 0xffffffc700000000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffc700000000 - 0xffffffc800000000 (4096 MB)
[ 0.000000] vmalloc : 0xffffffc800000000 - 0xffffffd800000000 ( 64 GB)
[ 0.000000] modules : 0xffffffff00f4f000 - 0xffffffff80000000 (2032 MB)
[ 0.000000] lowmem : 0xffffffd800000000 - 0xffffffda00000000 (8192 MB)
[ 0.000000] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB)
[ 0.000000] Memory: 8145268K/8388608K available (6070K kernel code, 4900K rwdata, 2048K rodata, 2181K init, 397K bss, 243340K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[ 0.000000] rcu: RCU debug extended QS entry/exit.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] plic: interrupt-controller@ffd8000000: mapped 240 interrupts with 4 handlers for 8 contexts.
[ 0.000000] riscv: providing IPIs using SBI IPI extension
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1623fa770, max_idle_ns: 881590404476 ns
[ 0.000001] sched_clock: 64 bits at 3000kHz, resolution 333ns, wraps every 4398046511097ns
[ 0.008641] Console: colour dummy device 80x25
[ 0.013283] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=12000)
[ 0.023744] pid_max: default: 32768 minimum: 301
[ 0.028583] LSM: initializing lsm=capability
[ 0.033133] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.040888] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.052535] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.060409] riscv: ELF compat mode unsupported
[ 0.060472] ASID allocator using 16 bits (65536 entries)
[ 0.070676] rcu: Hierarchical SRCU implementation.
[ 0.075531] rcu: Max phase no-delay instances is 1000.
[ 0.081521] EFI services will not be available.
[ 0.086746] smp: Bringing up secondary CPUs ...
[ 1.097363] CPU1: failed to come online
[ 2.123383] CPU2: failed to come online
[ 3.149376] CPU3: failed to come online
[ 3.153448] smp: Brought up 1 node, 1 CPU
[ 3.160552] devtmpfs: initialized
[ 3.169004] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 3.179315] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 3.186717] pinctrl core: initialized pinctrl subsystem
[ 3.193664] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 3.200977] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[ 3.208396] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 3.216824] audit: initializing netlink subsys (disabled)
[ 3.223085] thermal_sys: Registered thermal governor 'step_wise'
[ 3.223189] audit: type=2000 audit(3.148:1): state=initialized audit_enabled=0 res=1
[ 3.237571] cpuidle: using governor menu
[ 3.265716] cpu0: Ratio of byte access time to unaligned word access is 6.14, unaligned accesses are fast
[ 3.277303] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@ffd8000000
[ 3.290126] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 3.297213] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 3.304481] iommu: Default domain type: Translated
[ 3.309474] iommu: DMA domain TLB invalidation policy: strict mode
[ 3.316511] SCSI subsystem initialized
[ 3.322324] clocksource: Switched to clocksource riscv_clocksource
[ 3.345683] NET: Registered PF_INET protocol family
[ 3.351131] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 3.373241] tcp_listen_portaddr_hash hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 3.382307] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 3.390450] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 3.399045] TCP bind hash table entries: 65536 (order: 10, 4194304 bytes, linear)
[ 3.413518] TCP: Hash tables configured (established 65536 bind 65536)
[ 3.420476] UDP hash table entries: 4096 (order: 6, 393216 bytes, linear)
[ 3.428005] UDP-Lite hash table entries: 4096 (order: 6, 393216 bytes, linear)
[ 3.436101] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 3.444468] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[ 3.451980] NET: Registered PF_ALG protocol family
[ 3.456967] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 3.464580] io scheduler mq-deadline registered
[ 3.469279] io scheduler kyber registered
[ 3.473399] io scheduler bfq registered
[ 3.479846] dw_axi_dmac_platform ffefc00000.dma-controller: WARN: Device release is not defined so it is not safe to unbind this driver while in use
[ 3.493989] dw_axi_dmac_platform ffefc00000.dma-controller: DesignWare AXI DMA Controller, 4 channels
[ 3.603437] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 3.613865] printk: console [ttyS0] disabled
[ 3.618858] ffe7014000.serial: ttyS0 at MMIO 0xffe7014000 (irq = 13, base_baud = 6250000) is a 16550A
[ 3.628466] printk: console [ttyS0] enabled
[ 3.636976] printk: bootconsole [uart0] disabled
[ 3.659870] loop: module loaded
[ 3.666505] mousedev: PS/2 mouse device common for all mice
[ 3.673277] sdhci: Secure Digital Host Controller Interface driver
[ 3.679508] sdhci: Copyright(c) Pierre Ossman
[ 3.684070] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.690268] riscv-pmu-sbi: SBI PMU extension is available
[ 3.695756] riscv-pmu-sbi: 16 firmware and 18 hardware counters
[ 3.704465] NET: Registered PF_INET6 protocol family
[ 3.711050] Segment Routing with IPv6
[ 3.714857] In-situ OAM (IOAM) with IPv6
[ 3.718936] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.725871] NET: Registered PF_PACKET protocol family
[ 3.731027] 9pnet: Installing 9P2000 support
[ 3.735452] Key type dns_resolver registered
[ 3.739770] start plist test
[ 3.748829] end plist test
[ 3.778656] debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers
[ 3.789276] mmc0: SDHCI controller on ffe7080000.mmc [ffe7080000.mmc] using ADMA 64-bit
[ 3.798140] clk: Disabling unused clocks
[ 3.803066] dw-apb-uart ffe7014000.serial: forbid DMA for kernel console
[ 3.810032] Waiting for root device /dev/mmcblk0p3...
[ 3.868795] mmc0: new HS400 MMC card at address 0001
[ 3.874834] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[ 3.884822] mmcblk0: p1 p2 p3
[ 3.889400] mmcblk0boot0: mmc0:0001 8GTF4R 4.00 MiB
[ 3.896872] mmcblk0boot1: mmc0:0001 8GTF4R 4.00 MiB
[ 3.904053] mmcblk0rpmb: mmc0:0001 8GTF4R 512 KiB, chardev (246:0)
[ 3.912821] EXT4-fs (mmcblk0p3): INFO: recovery required on readonly filesystem
[ 3.920205] EXT4-fs (mmcblk0p3): write access will be enabled during recovery
[ 3.949665] EXT4-fs (mmcblk0p3): orphan cleanup on readonly fs
[ 3.955626] EXT4-fs (mmcblk0p3): recovery complete
[ 3.961952] EXT4-fs (mmcblk0p3): mounted filesystem 8ff201a2-f23f-44a4-b218-f156bd960edc ro with ordered data mode. Quota mode: disabled.
[ 3.974440] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[ 3.981846] devtmpfs: mounted
[ 3.985946] Freeing unused kernel image (initmem) memory: 2180K
[ 3.991945] Run /sbin/init as init process
[ 3.996073] with arguments:
[ 3.999077] /sbin/init
[ 4.001798] with environment:
[ 4.004962] HOME=/
[ 4.007345] TERM=linux
[ 4.054996] EXT4-fs (mmcblk0p3): re-mounted 8ff201a2-f23f-44a4-b218-f156bd960edc r/w. Quota mode: disabled.
# uname -a
Linux buildroot 6.6.0-rc6-00009-g7350e0f7e85c #407 SMP Tue Oct 17 12:55:34 PDT 2023 riscv64 GNU/Linux
# brom_ver 8
[APP][E] protocol_connect failed, exit.
-----------------------------------------
_____ _ _____ _____ _ __
| __ \ (_)/ ____| __ \| |/ /
| |__) | _ _ _ _| (___ | | | | ' /
| _ / | | | | | | |\___ \| | | | <
| | \ \ |_| | |_| | |____) | |__| | . \
|_| \_\__,_|\__, |_|_____/|_____/|_|\_\
__/ |
|___/
-- Presented by ISCAS
-----------------------------------------
U-Boot SPL 2020.01-gabc7bb33e3f2 (Jul 27 2023 - 19:17:30 -0700)
FM[1] lpddr4x dualrank freq=3733 64bit dbi_off=n sdram init
ddr initialized, jump to uboot
image has no header
U-Boot 2020.01-gabc7bb33e3f2 (Jul 27 2023 - 19:17:30 -0700)
CPU: rv64imafdcvsu
Model: T-HEAD c910 light
DRAM: 8 GiB
C910 CPU FREQ: 750MHz
AHB2_CPUSYS_HCLK FREQ: 250MHz
AHB3_CPUSYS_PCLK FREQ: 125MHz
PERISYS_AHB_HCLK FREQ: 250MHz
PERISYS_APB_PCLK FREQ: 62MHz
GMAC PLL POSTDIV FREQ: 1000MHZ
DPU0 PLL POSTDIV FREQ: 1188MHZ
DPU1 PLL POSTDIV FREQ: 1188MHZ
MMC: sdhci@ffe7080000: 0, sd@ffe7090000: 1
Loading Environment from MMC... OK
Error reading output register
Warning: cannot get lcd-en GPIO
LCD panel cannot be found : -121
splash screen startup cost 16 ms
In: serial
Out: serial
Err: serial
ethaddr: 66:b8:8a:24:d8:4e
eth1addr: 66:b8:8a:24:d8:4f
Net: ethernet@ffe7070000 (eth0) using MAC address - 66:b8:8a:24:d8:4e
eth0: ethernet@ffe7070000ethernet@ffe7070000:0 is connected to ethernet@ffe7070000. Reconnecting to ethernet@ffe7060000
ethernet@ffe7060000 (eth1) using MAC address - 66:b8:8a:24:d8:4f
, eth1: ethernet@ffe7060000
Hit any key to stop autoboot: 2  1  0
## Error: "findpart" not defined
50340 bytes read in 1 ms (48 MiB/s)
15748 bytes read in 1 ms (15 MiB/s)
138368 bytes read in 1 ms (132 MiB/s)
Retrieving file: /extlinux/extlinux.conf
184 bytes read in 1 ms (179.7 KiB/s)
1: Linux eMMC
Retrieving file: /Image
15640576 bytes read in 36 ms (414.3 MiB/s)
append: root=/dev/mmcblk0p3 rootfstype=ext4 rootwait console=ttyS0,115200 loglevel=8 earlycon
Retrieving file: /<NULL>-light-c910.
Skipping Linux eMMC for failure retrieving fdt
C910 Light# setenv fdtfile th1520-lichee-pi-4a.dtb
C910 Light# boot
## Error: "findpart" not defined
50340 bytes read in 1 ms (48 MiB/s)
15748 bytes read in 2 ms (7.5 MiB/s)
138368 bytes read in 1 ms (132 MiB/s)
Retrieving file: /extlinux/extlinux.conf
184 bytes read in 1 ms (179.7 KiB/s)
1: Linux eMMC
Retrieving file: /Image
15640576 bytes read in 37 ms (403.1 MiB/s)
append: root=/dev/mmcblk0p3 rootfstype=ext4 rootwait console=ttyS0,115200 loglevel=8 earlycon
Retrieving file: /th1520-lichee-pi-4a.dtb
8874 bytes read in 1 ms (8.5 MiB/s)
## Flattened Device Tree blob at 01f00000
Booting using the fdt blob at 0x1f00000
Using Device Tree in place at 0000000001f00000, end 0000000001f052a9
Starting kernel ...
OpenSBI v1.3-31-g0ad866067d78
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : Sipeed Lichee Pi 4A
Platform Features : medeleg
Platform HART Count : 4
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 3000000Hz
Platform Console Device : uart8250
Platform HSM Device : ---
Platform PMU Device : ---
Platform Reboot Device : ---
Platform Shutdown Device : ---
Platform Suspend Device : ---
Platform CPPC Device : ---
Firmware Base : 0x0
Firmware Size : 224 KB
Firmware RW Offset : 0x20000
Firmware RW Size : 96 KB
Firmware Heap Offset : 0x2e000
Firmware Heap Size : 40 KB (total), 2 KB (reserved), 9 KB (used), 28 KB (free)
Firmware Scratch Size : 4096 B (total), 760 B (used), 3336 B (free)
Runtime SBI Version : 1.0
Domain0 Name : root
Domain0 Boot HART : 0
Domain0 HARTs : 0*,1*,2*,3*
Domain0 Region00 : 0x000000ffdc008000-0x000000ffdc00bfff M: (I,R,W) S/U: ()
Domain0 Region01 : 0x000000ffdc000000-0x000000ffdc007fff M: (I,R,W) S/U: ()
Domain0 Region02 : 0x0000000000000000-0x000000000001ffff M: (R,X) S/U: ()
Domain0 Region03 : 0x0000000000020000-0x000000000003ffff M: (R,W) S/U: ()
Domain0 Region04 : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X)
Domain0 Next Address : 0x0000000000200000
Domain0 Next Arg1 : 0x0000000001f00000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Domain0 SysSuspend : yes
Boot HART ID : 0
Boot HART Domain : root
Boot HART Priv Version : v1.11
Boot HART Base ISA : rv64imafdcvx
Boot HART ISA Extensions : zicntr,zihpm
Boot HART PMP Count : 0
Boot HART PMP Granularity : 0
Boot HART PMP Address Bits: 0
Boot HART MHPM Count : 16
Boot HART MIDELEG : 0x0000000000000222
Boot HART MEDELEG : 0x000000000000b109
[ 0.000000] Linux version 6.6.0-rc6-00009-g7350e0f7e85c (pdp7@x1) (riscv64-linux-gnu-gcc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #407 SMP Tue Oct 17 12:55:34 PDT 2023
[ 0.000000] Machine model: Sipeed Lichee Pi 4A
[ 0.000000] SBI specification v1.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10003
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] earlycon: uart0 at MMIO32 0x000000ffe7014000 (options '115200n8')
[ 0.000000] printk: bootconsole [uart0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x0000000000000000..0x000000000001ffff (128 KiB) nomap non-reusable mmode_resv0@0
[ 0.000000] OF: reserved mem: 0x0000000000020000..0x000000000003ffff (128 KiB) nomap non-reusable mmode_resv1@20000
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000000000000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x00000001ffffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000003ffff]
[ 0.000000] node 0: [mem 0x0000000000040000-0x00000001ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff]
[ 0.000000] SBI HSM extension detected
[ 0.000000] Falling back to deprecated "riscv,isa"
[ 0.000000] riscv: base ISA extensions acdfim
[ 0.000000] riscv: ELF capabilities acdfim
[ 0.000000] percpu: Embedded 19 pages/cpu s39672 r8192 d29960 u77824
[ 0.000000] pcpu-alloc: s39672 r8192 d29960 u77824 alloc=19*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Kernel command line: root=/dev/mmcblk0p3 rootfstype=ext4 rootwait console=ttyS0,115200 loglevel=8 earlycon
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2064384
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] fixmap : 0xffffffc6fea00000 - 0xffffffc6ff000000 (6144 kB)
[ 0.000000] pci io : 0xffffffc6ff000000 - 0xffffffc700000000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffc700000000 - 0xffffffc800000000 (4096 MB)
[ 0.000000] vmalloc : 0xffffffc800000000 - 0xffffffd800000000 ( 64 GB)
[ 0.000000] modules : 0xffffffff00f4f000 - 0xffffffff80000000 (2032 MB)
[ 0.000000] lowmem : 0xffffffd800000000 - 0xffffffda00000000 (8192 MB)
[ 0.000000] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB)
[ 0.000000] Memory: 8145268K/8388608K available (6070K kernel code, 4900K rwdata, 2048K rodata, 2181K init, 397K bss, 243340K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[ 0.000000] rcu: RCU debug extended QS entry/exit.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] plic: interrupt-controller@ffd8000000: mapped 240 interrupts with 4 handlers for 8 contexts.
[ 0.000000] riscv: providing IPIs using SBI IPI extension
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1623fa770, max_idle_ns: 881590404476 ns
[ 0.000001] sched_clock: 64 bits at 3000kHz, resolution 333ns, wraps every 4398046511097ns
[ 0.008713] Console: colour dummy device 80x25
[ 0.013383] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=12000)
[ 0.023765] pid_max: default: 32768 minimum: 301
[ 0.028671] LSM: initializing lsm=capability
[ 0.033261] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.041210] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.052718] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.060647] riscv: ELF compat mode unsupported
[ 0.060708] ASID allocator using 16 bits (65536 entries)
[ 0.071197] rcu: Hierarchical SRCU implementation.
[ 0.076107] rcu: Max phase no-delay instances is 1000.
[ 0.081935] EFI services will not be available.
[ 0.087120] smp: Bringing up secondary CPUs ...
[ 1.097775] CPU1: failed to come online
[ 2.123822] CPU2: failed to come online
[ 3.149824] CPU3: failed to come online
[ 3.153981] smp: Brought up 1 node, 1 CPU
[ 3.161201] devtmpfs: initialized
[ 3.169623] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 3.179560] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 3.186883] pinctrl core: initialized pinctrl subsystem
[ 3.193982] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 3.201225] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[ 3.208821] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 3.217038] audit: initializing netlink subsys (disabled)
[ 3.223224] thermal_sys: Registered thermal governor 'step_wise'
[ 3.223328] audit: type=2000 audit(3.148:1): state=initialized audit_enabled=0 res=1
[ 3.237594] cpuidle: using governor menu
[ 3.265700] cpu0: Ratio of byte access time to unaligned word access is 6.14, unaligned accesses are fast
[ 3.277263] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@ffd8000000
[ 3.290047] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 3.297028] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 3.304276] iommu: Default domain type: Translated
[ 3.309189] iommu: DMA domain TLB invalidation policy: strict mode
[ 3.316112] SCSI subsystem initialized
[ 3.321951] clocksource: Switched to clocksource riscv_clocksource
[ 3.345220] NET: Registered PF_INET protocol family
[ 3.350781] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 3.372831] tcp_listen_portaddr_hash hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 3.381740] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 3.389693] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 3.398141] TCP bind hash table entries: 65536 (order: 10, 4194304 bytes, linear)
[ 3.412521] TCP: Hash tables configured (established 65536 bind 65536)
[ 3.419490] UDP hash table entries: 4096 (order: 6, 393216 bytes, linear)
[ 3.426924] UDP-Lite hash table entries: 4096 (order: 6, 393216 bytes, linear)
[ 3.435172] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 3.443471] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[ 3.450951] NET: Registered PF_ALG protocol family
[ 3.455957] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 3.463640] io scheduler mq-deadline registered
[ 3.468284] io scheduler kyber registered
[ 3.472445] io scheduler bfq registered
[ 3.478887] dw_axi_dmac_platform ffefc00000.dma-controller: WARN: Device release is not defined so it is not safe to unbind this driver while in use
[ 3.493138] dw_axi_dmac_platform ffefc00000.dma-controller: DesignWare AXI DMA Controller, 4 channels
[ 3.602676] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 3.613211] printk: console [ttyS0] disabled
[ 3.618235] ffe7014000.serial: ttyS0 at MMIO 0xffe7014000 (irq = 13, base_baud = 6250000) is a 16550A
[ 3.627908] printk: console [ttyS0] enabled
[ 3.627908] printk: console [ttyS0] enabled
[ 3.636492] printk: bootconsole [uart0] disabled
[ 3.636492] printk: bootconsole [uart0] disabled
[ 3.659548] loop: module loaded
[ 3.666134] mousedev: PS/2 mouse device common for all mice
[ 3.672905] sdhci: Secure Digital Host Controller Interface driver
[ 3.679132] sdhci: Copyright(c) Pierre Ossman
[ 3.683695] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.689876] riscv-pmu-sbi: SBI PMU extension is available
[ 3.695364] riscv-pmu-sbi: 16 firmware and 18 hardware counters
[ 3.704041] NET: Registered PF_INET6 protocol family
[ 3.710620] Segment Routing with IPv6
[ 3.714422] In-situ OAM (IOAM) with IPv6
[ 3.718507] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.725432] NET: Registered PF_PACKET protocol family
[ 3.730588] 9pnet: Installing 9P2000 support
[ 3.734997] Key type dns_resolver registered
[ 3.739314] start plist test
[ 3.746423] end plist test
[ 3.776140] debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers
[ 3.786752] mmc0: SDHCI controller on ffe7080000.mmc [ffe7080000.mmc] using ADMA 64-bit
[ 3.795533] clk: Disabling unused clocks
[ 3.800567] dw-apb-uart ffe7014000.serial: forbid DMA for kernel console
[ 3.807540] Waiting for root device /dev/mmcblk0p3...
[ 3.868778] mmc0: new HS400 MMC card at address 0001
[ 3.874846] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[ 3.884812] mmcblk0: p1 p2 p3
[ 3.889404] mmcblk0boot0: mmc0:0001 8GTF4R 4.00 MiB
[ 3.896865] mmcblk0boot1: mmc0:0001 8GTF4R 4.00 MiB
[ 3.904051] mmcblk0rpmb: mmc0:0001 8GTF4R 512 KiB, chardev (246:0)
[ 3.912865] EXT4-fs (mmcblk0p3): INFO: recovery required on readonly filesystem
[ 3.920252] EXT4-fs (mmcblk0p3): write access will be enabled during recovery
[ 3.953098] EXT4-fs (mmcblk0p3): orphan cleanup on readonly fs
[ 3.959062] EXT4-fs (mmcblk0p3): recovery complete
[ 3.965373] EXT4-fs (mmcblk0p3): mounted filesystem 8ff201a2-f23f-44a4-b218-f156bd960edc ro with ordered data mode. Quota mode: disabled.
[ 3.977867] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[ 3.985268] devtmpfs: mounted
[ 3.989359] Freeing unused kernel image (initmem) memory: 2180K
[ 3.995357] Run /sbin/init as init process
[ 3.999494] with arguments:
[ 4.002492] /sbin/init
[ 4.005207] with environment:
[ 4.008373] HOME=/
[ 4.010754] TERM=linux
[ 4.058655] EXT4-fs (mmcblk0p3): re-mounted 8ff201a2-f23f-44a4-b218-f156bd960edc r/w. Quota mode: disabled.
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Seeding 256 bits without crediting
Saving 256 bits of non-creditable seed for next boot
Welcome to Buildroot
buildroot login: root
# ls
FOO THIS_IS_EMMC
# uname -a
Linux buildroot 6.6.0-rc6-00009-g7350e0f7e85c #407 SMP Tue Oct 17 12:55:34 PDT 2023 riscv64 GNU/Linux
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment