刚入坑,烧录的系统是v3s主线u-boot+主线kernel+buildroot产生根文件系统,串口登录,进入系统之后,ls无任何输出,想问一下大佬,是哪边没有配置成功吗?具体启动信息如下所示:
U-Boot SPL 2017.01-rc2-00073-gdd6e874-dirty (Dec 01 2022 - 01:06:33)
DRAM: 64 MiB
Trying to boot from MMC1
U-Boot 2017.01-rc2-00073-gdd6e874-dirty (Dec 01 2022 - 01:06:33 +0000) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: 00, 00, 00
*** Warning - spi_flash_probe() failed, using default environment
Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
U-Boot 2017.01-rc2-00073-gdd6e874-dirty (Dec 01 2022 - 01:06:33 +0000) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: 00, 00, 00
*** Warning - spi_flash_probe() failed, using default environment
Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
Net: No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot: 0
reading zImage
4189272 bytes read in 214 ms (18.7 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
11533 bytes read in 25 ms (450.2 KiB/s)
## Flattened Device Tree blob at 41800000
Booting using the fdt blob at 0x41800000
Loading Device Tree to 42dfa000, end 42dffd0c ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.13.0-licheepi-zero+ (root@bf756b445919) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #1 SMP Wed Oct 4 14:41:25 UTC 2017
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 16 pages/cpu @c3de6000 s33868 r8192 d23476 u65536
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 15883
[ 0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw vt.global_cursor_default=0
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 53576K/64036K available (6144K kernel code, 226K rwdata, 1532K rodata, 1024K init, 263K bss, 10460K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc4000000 - 0xff800000 ( 952 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc3e89000 ( 62 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB)
[ 0.000000] .init : 0xc0900000 - 0xc0a00000 (1024 kB)
[ 0.000000] .data : 0xc0a00000 - 0xc0a38960 ( 227 kB)
[ 0.000000] .bss : 0xc0a3f91c - 0xc0a81694 ( 264 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU event tracing is enabled.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000021] Switching to timer-based delay loop, resolution 41ns
[ 0.000186] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000414] Console: colour dummy device 80x30
[ 0.000450] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000465] pid_max: default: 32768 minimum: 301
[ 0.000593] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000606] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001204] CPU: Testing write buffer coherency: ok
[ 0.001580] /cpus/cpu@0 missing clock-frequency property
[ 0.001604] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002026] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.002200] Hierarchical SRCU implementation.
[ 0.002705] smp: Bringing up secondary CPUs ...
[ 0.002719] smp: Brought up 1 node, 1 CPU
[ 0.002729] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.002736] CPU: All CPU(s) started in SVC mode.
[ 0.003496] devtmpfs: initialized
[ 0.006583] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.006848] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.006882] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.007047] pinctrl core: initialized pinctrl subsystem
[ 0.007913] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[ 0.008047] NET: Registered protocol family 16
[ 0.008478] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.009585] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.009605] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.022795] SCSI subsystem initialized
[ 0.023096] usbcore: registered new interface driver usbfs
[ 0.023164] usbcore: registered new interface driver hub
[ 0.023257] usbcore: registered new device driver usb
[ 0.023498] Linux video capture interface: v2.00
[ 0.023540] pps_core: LinuxPPS API ver. 1 registered
[ 0.023549] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.023570] PTP clock support registered
[ 0.023777] Advanced Linux Sound Architecture Driver Initialized.
[ 0.024453] Bluetooth: Core ver 2.22
[ 0.024534] NET: Registered protocol family 31
[ 0.024542] Bluetooth: HCI device and connection manager initialized
[ 0.024558] Bluetooth: HCI socket layer initialized
[ 0.024568] Bluetooth: L2CAP socket layer initialized
[ 0.024600] Bluetooth: SCO socket layer initialized
[ 0.025768] clocksource: Switched to clocksource arch_sys_counter
[ 0.036780] NET: Registered protocol family 2
[ 0.037351] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.037382] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.037405] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.037528] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.037576] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.037791] NET: Registered protocol family 1
[ 0.038395] RPC: Registered named UNIX socket transport module.
[ 0.038413] RPC: Registered udp transport module.
[ 0.038420] RPC: Registered tcp transport module.
[ 0.038426] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.040484] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.049460] NFS: Registering the id_resolver key type
[ 0.049509] Key type id_resolver registered
[ 0.049518] Key type id_legacy registered
[ 0.050503] random: fast init done
[ 0.053373] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.053396] io scheduler noop registered
[ 0.053404] io scheduler deadline registered
[ 0.053642] io scheduler cfq registered (default)
[ 0.053653] io scheduler mq-deadline registered
[ 0.053660] io scheduler kyber registered
[ 0.058139] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.129233] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.132541] console [ttyS0] disabled
[ 0.152816] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.765797] console [ttyS0] enabled
[ 0.772783] libphy: Fixed MDIO Bus: probed
[ 0.777452] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 0.783244] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 0.789042] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[ 0.795196] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 0.800906] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 0.808141] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 0.813795] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 0.821024] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 0.825995] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 0.832960] libphy: stmmac: probed
[ 0.838226] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.844762] ehci-platform: EHCI generic platform driver
[ 0.850386] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.856078] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 0.863996] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[ 0.895788] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 0.903015] hub 1-0:1.0: USB hub found
[ 0.906962] hub 1-0:1.0: 1 port detected
[ 0.911471] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.917774] ohci-platform: OHCI generic platform driver
[ 0.923311] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 0.930036] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 0.937981] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[ 1.010861] hub 2-0:1.0: USB hub found
[ 1.014703] hub 2-0:1.0: 1 port detected
[ 1.022915] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[ 1.031911] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[ 1.038818] sun6i-rtc 1c20400.rtc: RTC enabled
[ 1.043357] i2c /dev entries driver
[ 1.048423] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[ 1.057558] usbcore: registered new interface driver uvcvideo
[ 1.063308] USB Video Class driver (1.1.1)
[ 1.068184] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.076182] Bluetooth: HCI UART driver ver 2.3
[ 1.080628] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 1.145823] sunxi-mmc 1c0f000.mmc: base:0xc41f8000 irq:23
[ 1.205803] sunxi-mmc 1c10000.mmc: base:0xc41fc000 irq:24
[ 1.212313] usbcore: registered new interface driver usbhid
[ 1.217984] usbhid: USB HID core driver
[ 1.223682] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[ 1.231732] sun4i-codec 1c22c00.codec: Failed to register our card
[ 1.239321] NET: Registered protocol family 17
[ 1.243880] Key type dns_resolver registered
[ 1.248397] Registering SWP/SWPB emulation handler
[ 1.261055] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4380000
[ 1.271750] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[ 1.288113] Console: switching to colour frame buffer device 100x30
[ 1.300541] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[ 1.309083] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.320493] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.326342] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.335508] hub 3-0:1.0: USB hub found
[ 1.339526] hub 3-0:1.0: 1 port detected
[ 1.343502] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.355358] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[ 1.363073] mmc0: new high speed SDHC card at address b368
[ 1.370359] mmcblk0: mmc0:b368 LX32G 29.5 GiB
[ 1.376417] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 04:12:54 UTC (15174)
[ 1.384906] vcc5v0: disabling
[ 1.387953] ALSA device list:
[ 1.390923] #0: V3s Audio Codec
[ 1.396852] mmcblk0: p1 p2
[ 1.401926] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[ 1.411086] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[ 1.501612] EXT4-fs (mmcblk0p2): recovery complete
[ 1.507491] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.515656] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.523303] devtmpfs: mounted
[ 1.527645] Freeing unused kernel memory: 1024K
[ 1.630151] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK
Initializing random number generator... done.
Starting network: OK
Welcome to LicheePi
licheepi login: root
Password:
# ls
# ls
# ls
# pwd
/root
# [ 201.045839] random: crng init done
离线
cd /
ls
离线
/root 目录是空的,ls 当然啥都不会输出啊
你先 cd / 再试试 ls
最近编辑记录 unturned3 (2022-12-02 06:07:39)
离线
cd /试一下?
离线