Open laris opened 5 years ago
PS: 1, alpine*.img dd write into usb disk 2, ttl boot into uboot, manual load kernel/initrd/etc. via armbian 3, manual format emmc and copy alpine usb disk into emmc.
maybe i need to test again.
重装了一遍,似乎还是不行
+ which mkimage
+ which parted
+ which unzip
+ ALPINE_VERSION=2018-11-09
+ echo Download Alpine OS 2018-11-09
Download Alpine OS 2018-11-09
+ losetup --find --show -P 2018-11-09-alpine-n1-aarch64.img
+ LOOP_DEV=/dev/loop0
+ mkdir -p /tmp/alpine
+ mount /dev/loop0p2 /tmp/alpine
+ mount /dev/loop0p1 /tmp/alpine/boot
+ echo Start script create MBR and filesystem
Start script create MBR and filesystem
+ DEV_EMMC=/dev/mmcblk1
+ echo Start backup u-boot default
Start backup u-boot default
+ dd if=/dev/mmcblk1 of=/boot/u-boot-default.img bs=1M count=4
4+0 records in
4+0 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.0717818 s, 58.4 MB/s
+ echo Start create MBR and partittion
Start create MBR and partittion
+ parted -s /dev/mmcblk1 mklabel msdos
+ parted -s /dev/mmcblk1 mkpart primary fat32 700M 828M
+ parted -s /dev/mmcblk1 mkpart primary ext4 829M 100%
+ echo Start restore u-boot
Start restore u-boot
+ dd if=/boot/u-boot-default.img of=/dev/mmcblk1 conv=fsync bs=1 count=442
442+0 records in
442+0 records out
442 bytes copied, 0.00458742 s, 96.4 kB/s
+ dd if=/boot/u-boot-default.img of=/dev/mmcblk1 conv=fsync bs=512 skip=1 seek=1
8191+0 records in
8191+0 records out
4193792 bytes (4.2 MB, 4.0 MiB) copied, 0.814415 s, 5.1 MB/s
+ sync
+ echo Done
Done
+ echo Start copy system for eMMC.
Start copy system for eMMC.
+ mkdir -p /ddbr
+ chmod 777 /ddbr
+ PART_BOOT=/dev/mmcblk1p1
+ PART_ROOT=/dev/mmcblk1p2
+ DIR_INSTALL=/ddbr/install
+ [ -d /ddbr/install ]
+ rm -rf /ddbr/install
+ mkdir -p /ddbr/install
+ grep -q /dev/mmcblk1p1 /proc/mounts
+ echo -n Formatting BOOT partition...
Formatting BOOT partition...+ mkfs.vfat -n BOOT_EMMC /dev/mmcblk1p1
mkfs.fat 4.1 (2017-01-24)
+ echo done.
done.
+ mount -o rw /dev/mmcblk1p1 /ddbr/install
+ echo -n Copying BOOT...
Copying BOOT...+ cp -r /tmp/alpine/boot/System.map-amlogic /tmp/alpine/boot/config-amlogic /tmp/alpine/boot/dtbs /tmp/alpine/boot/initramfs-amlogic /tmp/alpine/boot/s905_autoscript /tmp/alpine/boot/uEnv.ini /tmp/alpine/boot/uInitrd /tmp/alpine/boot/vmlinuz-amlogic /ddbr/install
+ sync
+ echo done.
done.
+ echo -n Create new init config...
Create new init config...+ cat
+ cat
+ mkimage -C none -A arm -T script -d /ddbr/install/emmc_autoscript.cmd /ddbr/install/emmc_autoscript
Image Name:
Created: Fri Jun 7 20:51:26 2019
Image Type: ARM Linux Script (uncompressed)
Data Size: 466 Bytes = 0.46 KiB = 0.00 MiB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 458 Bytes = 0.45 KiB = 0.00 MiB
+ echo done.
done.
+ rm /ddbr/install/s905_autoscript
+ umount /ddbr/install
+ grep -q /dev/mmcblk1p2 /proc/mounts
+ echo Formatting ROOT partition...
Formatting ROOT partition...
+ mke2fs -F -q -O ^64bit -t ext4 -L ROOT_EMMC -m 0 /dev/mmcblk1p2
+ e2fsck -n /dev/mmcblk1p2
e2fsck 1.44.1 (24-Mar-2018)
ROOT_EMMC: clean, 11/427392 files, 46970/1706240 blocks
+ echo done.
done.
+ echo Copying ROOTFS.
Copying ROOTFS.
+ mount -o rw /dev/mmcblk1p2 /ddbr/install
+ cd /tmp/alpine
+ echo Copy BIN
Copy BIN
+ cd /ddbr/install
+ tar -xpf -
+ tar -cf - bin
+ echo Create DEV
Create DEV
+ mkdir -p /ddbr/install/dev
+ echo Copy ETC
Copy ETC
+ tar -cf - etc
+ cd /ddbr/install
+ tar -xpf -
+ echo Copy HOME
Copy HOME
+ + cd /ddbr/install
tar -cf - home
+ tar -xpf -
+ echo Copy LIB
Copy LIB
+ + tar -cf - lib
cd /ddbr/install
+ tar -xpf -
+ echo Create MEDIA
Create MEDIA
+ mkdir -p /ddbr/install/media
+ echo Create MNT
Create MNT
+ mkdir -p /ddbr/install/mnt
+ echo Copy OPT
Copy OPT
+ + cd /ddbr/install
tar -cf - opt
+ tar -xpf -
+ echo Create PROC
Create PROC
+ mkdir -p /ddbr/install/proc
+ echo Copy ROOT
Copy ROOT
+ + cd /ddbr/install
+ tar -xpf -
tar -cf - root
+ echo Create RUN
Create RUN
+ mkdir -p /ddbr/install/run
+ echo Copy SBIN
Copy SBIN
+ + cdtar /ddbr/install -cf
- sbin
+ tar -xpf -
+ echo Copy SRV
Copy SRV
+ + tar -cf - srv
cd /ddbr/install
+ tar -xpf -
+ echo Create SYS
Create SYS
+ mkdir -p /ddbr/install/sys
+ echo Create TMP
Create TMP
+ mkdir -p /ddbr/install/tmp
+ echo Copy USR
Copy USR
+ tar -cf - usr
+ cd /ddbr/install
+ tar -xpf -
+ echo Copy VAR
Copy VAR
+ + tar -cf - var
cd /ddbr/install
+ tar -xpf -
+ cat
+ chmod +x /usr/bin/resize2fs-once
chmod: cannot access '/usr/bin/resize2fs-once': No such file or directory
+ echo Create new fstab
Create new fstab
+ cat
+ cd /
+ sync
+ umount /ddbr/install
+ umount -l /tmp/alpine/boot
+ umount -l /tmp/alpine
+ losetup -d /dev/loop0
+ echo *******************************************
*******************************************
+ echo Complete copy OS to eMMC
Complete copy OS to eMMC
+ echo *******************************************
*******************************************
gxl_p230_v1#fatls mmc 1
3454210 system.map-amlogic
139003 config-amlogic
dtbs/
3371650 initramfs-amlogic
218 uenv.ini
3371714 uinitrd
17326592 vmlinuz-amlogic
458 emmc_autoscript.cmd
530 emmc_autoscript
8 file(s), 1 dir(s)
gxl_p230_v1#fatload mmc 1 1020000 emmc_autoscript
reading emmc_autoscript
530 bytes read in 4 ms (128.9 KiB/s)
gxl_p230_v1#autoscr 1020000
## Executing script at 01020000
reading vmlinuz-amlogic
17326592 bytes read in 520 ms (31.8 MiB/s)
reading uInitrd
3371714 bytes read in 103 ms (31.2 MiB/s)
reading uEnv.ini
218 bytes read in 3 ms (70.3 KiB/s)
reading /dtbs/meson-gxl-s905d-phicomm-n1.dtb
25986 bytes read in 7 ms (3.5 MiB/s)
[rsvmem] get fdtaddr NULL!
rsvmem - reserve memory
Usage:
rsvmem check - check reserved memory
rsvmem dump - dump reserved memory
rsvmem check failed
## Loading init Ramdisk from Legacy Image at 13000000 ...
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 3371650 Bytes = 3.2 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
load dtb from 0x1000000 ......
Amlogic multi-dtb tool
Single dtb detected
## Flattened Device Tree blob at 01000000
Booting using the fdt blob at 0x1000000
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
[rsvmem] fdt get prop fail.
Loading Ramdisk to 73b90000, end 73ec7282 ... OK
Loading Device Tree to 000000001fff6000, end 000000001ffff581 ... OK
fdt_instaboot: no instaboot image
Starting kernel ...
uboot time: 1245846060 us
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 4.18.14-2-amlogic (packager@6c0cba3d7b0b) (gcc version 8.2.0 (Alpine 8.2.0)) #3-Alpine SMP PREEMPT Thu Nov 8 10:26:15 UTC 2018
[ 0.000000] Machine model: Phicomm N1
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000067c00000, size 188 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv0.2 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] random: get_random_bytes called from start_kernel+0x94/0x3f4 with crng_init=0
[ 0.000000] percpu: Embedded 23 pages/cpu @(____ptrval____) s56280 r8192 d29736 u94208
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 478528
[ 0.000000] Kernel command line: root=/dev/mmcblk1p2 rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Memory: 1694360K/1944576K available (9788K kernel code, 920K rwdata, 5564K rodata, 576K init, 1009K bss, 57704K reserved, 192512K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[ 0.000000] Tasks RCU enabled.
[ 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] GIC: Using split EOI/Deactivate mode
[ 0.000000] irq_meson_gpio: 110 to 8 gpio interrupt mux initialized
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000003] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000335] Console: colour dummy device 80x25
[ 0.000609] console [tty0] enabled
[ 0.000630] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.000650] pid_max: default: 32768 minimum: 301
[ 0.000745] Security Framework initialized
[ 0.000801] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000822] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.024013] ASID allocator initialised with 32768 entries
[ 0.031999] Hierarchical SRCU implementation.
[ 0.041349] EFI services will not be available.
[ 0.048044] smp: Bringing up secondary CPUs ...
[ 0.080246] Detected VIPT I-cache on CPU1
[ 0.080288] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.112280] Detected VIPT I-cache on CPU2
[ 0.112315] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.144323] Detected VIPT I-cache on CPU3
[ 0.144354] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.144414] smp: Brought up 1 node, 4 CPUs
[ 0.144476] SMP: Total of 4 processors activated.
[ 0.144488] CPU features: detected: 32-bit EL0 Support
[ 0.147898] CPU: All CPU(s) started at EL2
[ 0.147920] alternatives: patching kernel code
[ 0.148653] devtmpfs: initialized
[ 0.152876] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.152908] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.157415] pinctrl core: initialized pinctrl subsystem
[ 0.158279] DMI not present or invalid.
[ 0.158565] NET: Registered protocol family 16
[ 0.158969] audit: initializing netlink subsys (disabled)
[ 0.159095] audit: type=2000 audit(0.156:1): state=initialized audit_enabled=0 res=1
[ 0.160466] cpuidle: using governor menu
[ 0.160729] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[ 0.160752] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.161614] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.161736] Serial: AMBA PL011 UART driver
[ 0.177419] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.177769] cryptd: max_cpu_qlen set to 1000
[ 0.179622] SCSI subsystem initialized
[ 0.179933] usbcore: registered new interface driver usbfs
[ 0.179993] usbcore: registered new interface driver hub
[ 0.180082] usbcore: registered new device driver usb
[ 0.180367] media: Linux media interface: v0.10
[ 0.180561] videodev: Linux video capture interface: v2.00
[ 0.180668] pps_core: LinuxPPS API ver. 1 registered
[ 0.180684] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.180718] PTP clock support registered
[ 0.181014] Advanced Linux Sound Architecture Driver Initialized.
[ 0.181767] clocksource: Switched to clocksource arch_sys_counter
[ 0.181933] VFS: Disk quotas dquot_6.6.0
[ 0.181983] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.182073] FS-Cache: Loaded
[ 0.182264] CacheFiles: Loaded
[ 0.187755] NET: Registered protocol family 2
[ 0.188175] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes)
[ 0.188217] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.188330] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[ 0.188548] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.188660] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.188711] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.188858] NET: Registered protocol family 1
[ 0.189194] RPC: Registered named UNIX socket transport module.
[ 0.189210] RPC: Registered udp transport module.
[ 0.189219] RPC: Registered tcp transport module.
[ 0.189228] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.189378] Unpacking initramfs...
[ 0.317926] Freeing initrd memory: 3292K
[ 0.318574] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 0.318866] kvm [1]: 8-bit VMID
[ 0.319856] kvm [1]: vgic interrupt IRQ1
[ 0.319953] kvm [1]: Hyp mode initialized successfully
[ 0.323639] Initialise system trusted keyrings
[ 0.323780] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[ 0.330347] NFS: Registering the id_resolver key type
[ 0.330383] Key type id_resolver registered
[ 0.330392] Key type id_legacy registered
[ 0.330407] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.330668] JFS: nTxBlock = 8192, nTxLock = 65536
[ 0.335106] pstore: using deflate compression
[ 0.337442] Key type asymmetric registered
[ 0.337463] Asymmetric key parser 'x509' registered
[ 0.337653] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[ 0.337825] io scheduler noop registered (default)
[ 0.337990] io scheduler cfq registered
[ 0.347533] (NULL device *): Failed to create dummy-system-controller@0 debugfs directory
[ 0.347839] soc soc0: Amlogic Meson GXL (S905D) Revision 21:d (4:2) Detected
[ 0.351284] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.353014] c11084c0.serial: ttyAML1 at MMIO 0xc11084c0 (irq = 10, base_baud = 1500000) is a meson_uart
[ 0.353174] serial serial0: tty port ttyAML1 registered
[ 0.353400] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 13, base_baud = 1500000) is a meson_uart
[ 1.047524] console [ttyAML0] enabled
[ 1.056662] loop: module loaded
[ 1.058021] libphy: Fixed MDIO Bus: probed
[ 1.058696] tun: Universal TUN/TAP device driver, 1.6
[ 1.064859] meson8b-dwmac c9410000.ethernet: PTP uses main clock
[ 1.069256] meson8b-dwmac c9410000.ethernet: no reset control found
[ 1.075765] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
[ 1.082522] meson8b-dwmac c9410000.ethernet: DWMAC1000
[ 1.087693] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
[ 1.095108] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
[ 1.102528] meson8b-dwmac c9410000.ethernet: COE Type 2
[ 1.107698] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
[ 1.114687] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
[ 1.121099] meson8b-dwmac c9410000.ethernet: Normal descriptors
[ 1.126937] meson8b-dwmac c9410000.ethernet: Ring mode enabled
[ 1.132713] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 2.177772] libphy: stmmac: probed
[ 2.179054] dwc3 c9000000.dwc3: Failed to get clk 'ref': -2
[ 2.182315] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.187583] ehci-platform: EHCI generic platform driver
[ 2.192900] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.198869] ohci-platform: OHCI generic platform driver
[ 2.204578] usbcore: registered new interface driver usb-storage
[ 2.211240] mousedev: PS/2 mouse device common for all mice
[ 2.216230] i2c /dev entries driver
[ 2.219871] Requesting IRQ 34
[ 2.223213] sdhci: Secure Digital Host Controller Interface driver
[ 2.228010] sdhci: Copyright(c) Pierre Ossman
[ 2.232346] Synopsys Designware Multimedia Card Interface Driver
[ 2.239559] meson-gx-mmc d0072000.mmc: Got CD GPIO
[ 2.269896] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
[ 2.296931] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.297623] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.303516] meson-sm: secure-monitor enabled
[ 2.308108] usbcore: registered new interface driver usbhid
[ 2.312710] usbhid: USB HID core driver
[ 2.316795] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered
[BL31]: tee size: 0
[ 2.327423] meson-audio-core c1105400.audio: Failed to create c1105400.audio debugfs directory
[ 2.336962] ipip: IPv4 and MPLS over IPv4 tunneling driver
[ 2.339665] Initializing XFRM netlink socket
[ 2.343817] NET: Registered protocol family 10
[ 2.348585] Segment Routing with IPv6
[ 2.352026] NET: Registered protocol family 17
[ 2.355777] l2tp_core: L2TP core driver, V2.0
[ 2.360051] l2tp_ip: L2TP IP encapsulation support (L2TPv3)
[ 2.365576] l2tp_netlink: L2TP netlink interface
[ 2.370142] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
[ 2.375997] l2tp_debugfs: L2TP debugfs support
[ 2.378341] mmc1: new HS200 MMC card at address 0001
[ 2.380373] l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3)
[ 2.385914] mmcblk1: mmc1:0001 NCard 7.28 GiB
[ 2.391725] 9pnet: Installing 9P2000 support
[ 2.396454] mmcblk1boot0: mmc1:0001 NCard partition 1 4.00 MiB
[ 2.400463] Key type dns_resolver registered
[ 2.406580] mmcblk1boot1: mmc1:0001 NCard partition 2 4.00 MiB
[ 2.411241] registered taskstats version 1
[ 2.416482] mmcblk1rpmb: mmc1:0001 NCard partition 3 4.00 MiB, chardev (242:0)
[ 2.420394] Loading compiled-in X.509 certificates
[ 2.429201] mmcblk1: p1 p2
[ 2.432456] Unable to create integrity sysfs dir: -19
[ 2.447695] meson-drm d0100000.vpu: Queued 2 outputs on vpu
[ 2.448088] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 2.454212] [drm] No driver support for vblank timestamp query.
[ 2.460158] meson-drm d0100000.vpu: CVBS Output connector not available
[ 2.493813] meson-dw-hdmi c883a000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)
[ 2.498382] meson-dw-hdmi c883a000.hdmi-tx: registered DesignWare HDMI I2C bus driver
[ 2.506314] meson-drm d0100000.vpu: bound c883a000.hdmi-tx (ops meson_dw_hdmi_ops)
[ 2.513347] [drm] Cannot find any crtc or sizes
[ 2.518105] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 0
[ 2.525246] libphy: mdio_mux: probed
[ 2.528840] libphy: mdio_mux: probed
[ 2.534590] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 2.537415] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 2.545567] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f664 hci version 0x100 quirks 0x0000000002010010
[ 2.554363] xhci-hcd xhci-hcd.0.auto: irq 37, io mem 0xc9000000
[ 2.560806] hub 1-0:1.0: USB hub found
[ 2.563922] hub 1-0:1.0: 2 ports detected
[ 2.568131] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 2.573299] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 2.580886] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 2.587481] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.595912] hub 2-0:1.0: USB hub found
[ 2.599202] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
[ 2.607801] scpi_protocol scpi: SCP Protocol legacy pre-1.0 firmware
domain-0 init dvfs: 4
[ 2.623867] asoc-simple-card sound: i2s-hifi <-> meson-i2s-dai.1.auto mapping ok
[ 2.625636] asoc-simple-card sound: ASoC: no DMI vendor name!
[ 2.633069] hctosys: unable to open rtc device (rtc0)
[ 2.636519] VDDAO_3V3: disabling
[ 2.639527] ALSA device list:
[ 2.642475] #0: meson-gx-audio
[ 2.646036] Freeing unused kernel memory: 576K
[ 2.901812] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 2.951925] random: fast init done
[ 3.098090] EXT4-fs (mmcblk1p2): mounted filesystem with writeback data mode. Opts: data=writeback
[ 3.521859] [drm] Cannot find any crtc or sizes
Terminating...
Skipping tty reset...
Thanks for using picocom
手工写入了一下,似乎引导不起来最新的rootfs usb引导也是卡在最后。