U-Boot 2017.01-rc2-00055-gc41fbfe7b5 (Jan 20 2017 - 00:39:08 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environmentSetting 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
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
reading /sun8i-v3s-licheepi-zero.dtb
8585 bytes read in 28 ms (298.8 KiB/s)
starting USB...
No controllers found
USB is stopped. Please issue 'usb start' first.
starting USB...
No controllers found
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-sunxi
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
starting USB...
No controllers found
No ethernet found.
No ethernet found.
请问各路大神直接烧录荔枝派zero提供的预编译u-boot和固件,出现这个错误, 应该如何解决?
最近编辑记录 daydayup (2017-12-16 09:38:22)
离线
执行这三条指令,药到病除:
setenv bootcmd "setenv bootm_boot_mode sec; load mmc 0:1 0x41000000 zImage; load mmc 0:1 0x41800000 sun8i-v3s-licheepi-zero-dock.dtb; bootz 0x41000000 - 0x41800000;"
setenv bootargs "console=ttyS0,115200 panic=5 mtdparts=spi32766.0:1M(uboot),64k(dtb),4M(kernel),-(rootfs) rootwait root=/dev/mmcblk0p2 earlyprintk rw vt.global_cursor_default=0"
boot
离线
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.13.0-licheepi-zero+ (root@ubuntu) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)) #1 SMP Tue Dec 12 17:49:00 PST 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 mtdparts=spi32766.0:1M(uboot),64k(dtb),4M(kernel),-(rootfs) 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: 53584K/64036K available (6144K kernel code, 217K rwdata, 1436K rodata, 1024K init, 262K bss, 10452K 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 - 0xc0a36680 ( 218 kB)
[ 0.000000] .bss : 0xc0a3d868 - 0xc0a7f06c ( 263 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.000008] 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.000418] Console: colour dummy device 80x30
[ 0.000453] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000468] pid_max: default: 32768 minimum: 301
[ 0.000595] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000613] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001216] CPU: Testing write buffer coherency: ok
[ 0.001590] /cpus/cpu@0 missing clock-frequency property
[ 0.001616] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002064] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.002253] Hierarchical SRCU implementation.
[ 0.002765] smp: Bringing up secondary CPUs ...
[ 0.002781] smp: Brought up 1 node, 1 CPU
[ 0.002790] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.002797] CPU: All CPU(s) started in SVC mode.
[ 0.003556] devtmpfs: initialized
[ 0.006605] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.006884] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.006916] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.007084] pinctrl core: initialized pinctrl subsystem
[ 0.007967] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[ 0.008104] NET: Registered protocol family 16
[ 0.008588] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.009719] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.009738] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.023039] SCSI subsystem initialized
[ 0.023332] usbcore: registered new interface driver usbfs
[ 0.023400] usbcore: registered new interface driver hub
[ 0.023493] usbcore: registered new device driver usb
[ 0.023749] pps_core: LinuxPPS API ver. 1 registered
[ 0.023759] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.023798] PTP clock support registered
[ 0.024024] Advanced Linux Sound Architecture Driver Initialized.
[ 0.025870] clocksource: Switched to clocksource arch_sys_counter
[ 0.036974] NET: Registered protocol family 2
[ 0.037568] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.037605] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.037628] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.037763] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.037814] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.038037] NET: Registered protocol family 1
[ 0.038646] RPC: Registered named UNIX socket transport module.
[ 0.038665] RPC: Registered udp transport module.
[ 0.038670] RPC: Registered tcp transport module.
[ 0.038677] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.040778] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.049754] NFS: Registering the id_resolver key type
[ 0.049810] Key type id_resolver registered
[ 0.049819] Key type id_legacy registered
[ 0.050840] random: fast init done
[ 0.053748] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.053772] io scheduler noop registered
[ 0.053780] io scheduler deadline registered
[ 0.054032] io scheduler cfq registered (default)
[ 0.054045] io scheduler mq-deadline registered
[ 0.054052] io scheduler kyber registered
[ 0.058514] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.128575] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.131923] console [ttyS0] disabled
[ 0.152194] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.736175] console [ttyS0] enabled
[ 0.743086] libphy: Fixed MDIO Bus: probed
[ 0.747743] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 0.753542] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 0.759311] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[ 0.765464] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 0.771167] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 0.778397] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 0.784050] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 0.791274] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 0.796243] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 0.803196] libphy: stmmac: probed
[ 0.808508] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.815048] ehci-platform: EHCI generic platform driver
[ 0.820671] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.826351] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 0.834273] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[ 0.865894] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 0.873069] hub 1-0:1.0: USB hub found
[ 0.877036] hub 1-0:1.0: 1 port detected
[ 0.881546] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.887845] ohci-platform: OHCI generic platform driver
[ 0.893419] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 0.900148] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 0.908107] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[ 0.980953] hub 2-0:1.0: USB hub found
[ 0.984778] hub 2-0:1.0: 1 port detected
[ 0.992382] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[ 1.001961] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[ 1.010941] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[ 1.017846] sun6i-rtc 1c20400.rtc: RTC enabled
[ 1.022388] i2c /dev entries driver
[ 1.027393] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[ 1.036901] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.105921] sunxi-mmc 1c0f000.mmc: base:0xc41f8000 irq:23
[ 1.165902] sunxi-mmc 1c10000.mmc: base:0xc41fc000 irq:24
[ 1.172418] usbcore: registered new interface driver usbhid
[ 1.178088] usbhid: USB HID core driver
[ 1.183559] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[ 1.191614] sun4i-codec 1c22c00.codec: Failed to register our card
[ 1.200240] NET: Registered protocol family 17
[ 1.204802] Key type dns_resolver registered
[ 1.209334] Registering SWP/SWPB emulation handler
[ 1.220967] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4380000
[ 1.231638] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[ 1.248028] Console: switching to colour frame buffer device 100x30
[ 1.260476] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[ 1.269032] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.280414] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.286254] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.294186] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.303454] hub 3-0:1.0: USB hub found
[ 1.307633] mmc0: new high speed SDHC card at address e624
[ 1.313717] hub 3-0:1.0: 1 port detected
[ 1.317933] mmcblk0: mmc0:e624 SU04G 3.69 GiB
[ 1.324641] using random self ethernet address
[ 1.329238] using random host ethernet address
[ 1.334113] mmcblk0: p1 p2
[ 1.338898] usb0: HOST MAC 1e:69:ad:e2:7c:5f
[ 1.343219] usb0: MAC 86:6f:e8:bc:ef:b5
[ 1.347212] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[ 1.354691] g_cdc gadget: g_cdc ready
[ 1.360979] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[ 1.369697] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:16:21 UTC (981)
[ 1.378119] vcc5v0: disabling
[ 1.381096] ALSA device list:
[ 1.384060] #0: V3s Audio Codec
[ 1.389582] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[ 1.399069] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[ 1.408987] mmc1: new high speed SDIO card at address 0001
[ 1.427652] EXT4-fs (mmcblk0p2): recovery complete
[ 1.432475] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.440744] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.448074] devtmpfs: mounted
[ 1.452344] Freeing unused kernel memory: 1024K
[ 1.458351] Starting init: /sbin/init exists but couldn't execute it (error -13)
[ 1.510886] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (80, <SessEnd), retry #0, port1 00000100
/bin/sh: can't open 'earlyprintk'
[ 1.586006] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[ 1.586006]
[ 1.595148] CPU: 0 PID: 1 Comm: sh Not tainted 4.13.0-licheepi-zero+ #1
[ 1.601752] Hardware name: Allwinner sun8i Family
[ 1.606489] [<c010e58c>] (unwind_backtrace) from [<c010b2b0>] (show_stack+0x10/0x14)
[ 1.614239] [<c010b2b0>] (show_stack) from [<c06627fc>] (dump_stack+0x84/0x98)
[ 1.621463] [<c06627fc>] (dump_stack) from [<c011b728>] (panic+0xdc/0x248)
[ 1.628336] [<c011b728>] (panic) from [<c011e298>] (do_exit+0xa68/0xa98)
[ 1.635034] [<c011e298>] (do_exit) from [<c011f114>] (do_group_exit+0x3c/0xd0)
[ 1.642249] [<c011f114>] (do_group_exit) from [<c011f1b8>] (__wake_up_parent+0x0/0x18)
[ 1.650168] Rebooting in 5 seconds..
我遇到的问题和楼主一样,按晕哥的方法解决,但又出现以上问题不能启动根文件系统,还请晕哥帮忙解决,谢谢!
离线
离线
你检查一下生成busybox是不是用了x86/x64的gcc, 而不是arm linux平台的gcc.
这个帖子: 荔枝派Zero V3s开发板入坑教程 的一楼有我编译好的uboot,zImage, rootfs下载。
晕哥,我是按照 荔枝派Zero V3s开发板入坑教程 制作的文件系统,直接用buildroot-v3s-20171122.config配置文件编译,就是不知那里设置交又编译工具链!是不否能请教下那里设置交又编译工具链.
离线
晕哥 说:你检查一下生成busybox是不是用了x86/x64的gcc, 而不是arm linux平台的gcc.
这个帖子: 荔枝派Zero V3s开发板入坑教程 的一楼有我编译好的uboot,zImage, rootfs下载。
晕哥,我是按照 荔枝派Zero V3s开发板入坑教程 制作的文件系统,直接用buildroot-v3s-20171122.config配置文件编译,就是不知那里设置交又编译工具链!是不否能请教下那里设置交又编译工具链.
哎,又一个被我带入坑的
看15楼: 荔枝派Zero V3s开发板入坑教程
我大概明白原因了, 应该解压缩 buildroot-v3s-20171122.zip 改名 成 .config
离线
zhuacai 说:晕哥 说:你检查一下生成busybox是不是用了x86/x64的gcc, 而不是arm linux平台的gcc.
这个帖子: 荔枝派Zero V3s开发板入坑教程 的一楼有我编译好的uboot,zImage, rootfs下载。
晕哥,我是按照 荔枝派Zero V3s开发板入坑教程 制作的文件系统,直接用buildroot-v3s-20171122.config配置文件编译,就是不知那里设置交又编译工具链!是不否能请教下那里设置交又编译工具链.
哎,又一个被我带入坑的
看15楼: 荔枝派Zero V3s开发板入坑教程
我大概明白原因了, 应该解压缩 buildroot-v3s-20171122.zip 改名 成 .config
我是改成了.config才编译了
离线
看来挖坑侠不是白叫的
太多小白入坑了,晕哥应该多做些基础教程了:D
离线
晕哥 说:zhuacai 说:晕哥,我是按照 荔枝派Zero V3s开发板入坑教程 制作的文件系统,直接用buildroot-v3s-20171122.config配置文件编译,就是不知那里设置交又编译工具链!是不否能请教下那里设置交又编译工具链.
哎,又一个被我带入坑的
看15楼: 荔枝派Zero V3s开发板入坑教程
我大概明白原因了, 应该解压缩 buildroot-v3s-20171122.zip 改名 成 .config
我是改成了.config才编译了
这就尴尬了.
1. 打开 .config, 看工具链是否真有arm ? 对比一下文件, linux下可以用meld工具,挺好用。
2. 编译的时候控制台会出现工具链信息,确认是否是gcc or arm-linux-gcc ?
离线
U-Boot 2017.01-rc2-00055-gc41fbfe7b5 (Jan 20 2017 - 00:39:08 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environmentSetting 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
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
reading /sun8i-v3s-licheepi-zero.dtb
8585 bytes read in 28 ms (298.8 KiB/s)
starting USB...
No controllers found
USB is stopped. Please issue 'usb start' first.
starting USB...
No controllers found
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-sunxi
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
starting USB...
No controllers found
No ethernet found.
No ethernet found.请问各路大神直接烧录荔枝派zero提供的预编译u-boot和固件,出现这个错误, 应该如何解决?
其实最主要的问题是应该配置下u-boot里的sun8i.h(完整路径u-boot/include/configs/sun8i.h)
添加内容如下:
#define CONFIG_BOOTCOMMAND "setenv bootm_boot_mode sec; load mmc 0:1 0x41000000 zImage; load mmc 0:1 0x41800000 sun8i-v3s-licheepi-zero-dock.dtb; bootz 0x41000000 - 0x41800000;"
#define CONFIG_BOOTARGS "console=ttyS0,115200 panic=5 mtdparts=spi32766.0:1M(uboot),64k(dtb),4M(kernel),-(rootfs) rootwait root=/dev/mmcblk0p2 earlyprintk rw vt.global_cursor_default=0"
今天刚入手荔枝派zero,搞完了spi启动,现在又搞TF启动,因此我也碰见了这问题。之前楼上在讨论是busybox的编译问题,但是既然用2楼的三条命令可以启动,那说明整个文件系统编译没有问题,否则再怎么着也启动不了。
感觉晕歌给的命令很像SPI启动的配置方式,因此就狸猫换太子,把命令修改了一下,结果还真好了。
最近编辑记录 单刀 (2019-11-07 17:50:49)
离线
先复制到虚拟机里面,然后解压,得到文件 buildroot-v3s-20171122.config
然后这里注意了啊,使用mv命令把这个文件移动到buildroot-2017.08这个源码文件夹下,并把这个文件名字改成.config
具体命令如下(我目前的路径就在这个配置文件的地方):
mv buildroot-v3s-20171122.config buildroot-2017.08/.config
然后这个配置文件就挪到了buildroot里面,里面的配置就会按照这个文件进行编译。
然后make它:
期间会下载很多软件包,下载速度非常慢,有一个方法是在控制台上复制他们的下载链接,用迅雷等下载器下载,然后复制到buildroot文件夹下的dl文件夹中,要是dl文件夹没有,那就先make一下,在ctrl+C取消掉,就会生成了。
然后再重新make,就会在/output/images下生成roofs.tar这个文件。
这个文件就是我们的文件系统,要烧录到TF卡中。
至此,需要的镜像全部编译完,拿到需要的四个文件:
离线