页次: 1
make[6]: *** [vmlinux] Error 1
make[5]: *** [sub-make] Error 2
make[5]: Leaving directory `/usr/SDK-V2.0/tina_d1_open_v2/lichee/linux-5.4'
make[4]: *** [/usr/SDK-V2.0/tina_d1_open_v2/out/d1-h-nezha/compile_dir/target/linux-d1-h-nezha/symtab.h] Error 2
make[4]: Leaving directory `/usr/SDK-V2.0/tina_d1_open_v2/target/allwinner/d1-h-nezha'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/usr/SDK-V2.0/tina_d1_open_v2/target/allwinner'
make[2]: *** [target/allwinner/install] Error 2
make[2]: Leaving directory `/usr/SDK-V2.0/tina_d1_open_v2'
make[1]: *** [/usr/SDK-V2.0/tina_d1_open_v2/out/d1-h-nezha/staging_dir/target/stamp/.target_install] Error 2
make[1]: Leaving directory `/usr/SDK-V2.0/tina_d1_open_v2'
make: *** [world] Error 2
[2]+ Done $T/tools/build/buildserver --path $T 2> /dev/null 1>&2
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- defconfig
make ARCH=arm menuconfig
make clean
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j8
我用缺省配置, 未修改, 编译就报錯, 如何介决?
checking if mkdir takes one argument... no
*** Configuration arm-buildroot-linux-uclibc not supported
make[2]: *** [configure-gcc] Error 1
make[1]: *** [/home/tlh/buildroot-tiny200-master/output/build/host-gcc-initial-8.4.0/.stamp_built] Error 2
-threads --with-newlib --disable-largefile \PATH:/opt/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin\ )
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: PATH:/opt/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin
configure: loading site script /dev/null
checking build system type... Invalid configuration `PATH:/opt/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin': more than four components
configure: error: /bin/bash ../config.sub PATH:/opt/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin failed
make[1]: *** [/home/tlh/buildroot-tiny200-master/output/build/host-gcc-initial-7.5.0/.stamp_configured] Error 1
-threads --with-newlib --disable-largefile \PATH:/opt/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin\ )
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: PATH:/opt/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin
configure: loading site script /dev/null
checking build system type... Invalid configuration `PATH:/opt/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin': more than four components
configure: error: /bin/bash ../config.sub PATH:/opt/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin failed
make[1]: *** [/home/tlh/buildroot-tiny200-master/output/build/host-gcc-initial-7.5.0/.stamp_configured] Error 1
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j8
configure: error: /bin/bash ../config.sub PATH:/opt/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin failed
make[1]: *** [/home/tlh/buildroot-tiny200-master/output/build/host-gcc-initial-7.5.0/.stamp_configured] Error 1
请教: 1. make <buildroot-tiny200>之前是否要在ubuntu里先安装QT
2. 为QT安装交义编译噐gcc那个版本合适, 安装路径, 配置文件里填写的格式.
渴望管理员指教
configure: error: /bin/bash ../config.sub PATH:/opt/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin failed
make[1]: *** [/home/tlh/buildroot-tiny200-master/output/build/host-gcc-initial-7.5.0/.stamp_configured] Error 1
请教: 1. make <buildroot-tiny200>之前是否要在ubuntu里先安装QT
2. 为QT安装交义编译噐gcc那个版本合适, 安装路径, 配置文件里填写的格式.
resetting ...
U-Boot SPL 2018.01-05679-g013ca45-dirty (Oct 22 2020 - 02:25:57)
DRAM: 64 MiB
Trying to boot from MMC1
Card did not respond to voltage select!
mmc_init: -95, time 21
spl: mmc init failed with error: -95
Trying to boot from sunxi SPI
U-Boot 2018.01-05679-g013ca45-dirty (Oct 22 2020 - 02:25:57 -0700) Allwinner Technology
CPU: Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
Setting up a 800x480 lcd console (overscan 0x0)
In: serial@1c25000
Out: serial@1c25000
Err: serial@1c25000
Net: No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot: 2 1 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
device 0 offset 0x100000, size 0x250000
SF: 2424832 bytes @ 0x100000 Read: OK
device 0 offset 0x350000, size 0x7000
SF: 28672 bytes @ 0x350000 Read: OK
## Flattened Device Tree blob at 80c00000
Booting using the fdt blob at 0x80c00000
reserving fdt memory region: addr=81000000 size=10000
U-Boot 2018.01-05679-g013ca45-dirty (Oct 22 2020 - 02:25:57 -0700) Allwinner Technology
CPU: Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
Setting up a 800x480 lcd console (overscan 0x0)
In: serial@1c25000
Out: serial@1c25000
Err: serial@1c25000
Net: No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot: 2 1 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
device 0 offset 0x100000, size 0x250000
SF: 2424832 bytes @ 0x100000 Read: OK
device 0 offset 0x350000, size 0x7000
SF: 28672 bytes @ 0x350000 Read: OK
## Flattened Device Tree blob at 80c00000
Booting using the fdt blob at 0x80c00000
reserving fdt memory region: addr=81000000 size=10000
Loading Device Tree to 816f6000, end 816ff9f0 ... OK
undefined instruction
pc : [<82f99cdc>] lr : [<82f99cc9>]
reloc pc : [<81729cdc>] lr : [<81729cc9>]
sp : 82e65a00 ip : fffd1da0 fp : 00000017
r10: deadbeef r9 : 82e67ee8 r8 : 82f702a0
r7 : 00ff0000 r6 : 000099f1 r5 : 00009900 r4 : 816fbd6c
r3 : 00000fe9 r2 : 00000cd3 r1 : 816fbd6c r0 : 816fbd6c
Flags: nzCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...
device 0 offset 0x350000, size 0x7000
SF: 28672 bytes @ 0x350000 Read: OK
## Flattened Device Tree blob at 80c00000
Booting using the fdt blob at 0x80c00000
reserving fdt memory region: addr=81000000 size=10000
Loading Device Tree to 816f6000, end 816ff9f0 ... OK
undefined instruction
pc : [<82f99cdc>] lr : [<82f99cc9>]
reloc pc : [<81729cdc>] lr : [<81729cc9>]
sp : 82e65a00 ip : fffd1da0 fp : 00000017
r10: deadbeef r9 : 82e67ee8 r8 : 82f702a0
r7 : 00ff0000 r6 : 000099f1 r5 : 00009900 r4 : 816fbd6c
r3 : 00000fe9 r2 : 00000cd3 r1 : 816fbd6c r0 : 816fbd6c
Flags: nzCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...
resetting ...
U-Boot SPL 2018.01-05679-g013ca45-dirty (Oct 22 2020 - 02:25:57)
DRAM: 64 MiB
Trying to boot from MMC1
Card did not respond to voltage select!
mmc_init: -95, time 22
spl: mmc init failed with error: -95
Trying to boot from sunxi SPI
U-Boot 2018.01-05679-g013ca45-dirty (Oct 22 2020 - 02:25:57 -0700) Allwinner Technology
CPU: Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
我将u-boot-2018.01 make ARCH=arm menuconfig
配置只改 LCD 480272-->800480 保存后, make -j8
将生存u-boot.bin, 代替如下括号里文件, 烧写(非FT卡),
开杌 u-boot 串口显示, 无数次启动u-boot.
( https://whycan.cn/t_1008.html
下载 f1c100s_bsp_linux_split.7z )
r7 : 00ff0000 r6 : 000099f1 r5 : 00009900 r4 : 816fbd6c
r3 : 00000fe9 r2 : 00000cd3 r1 : 816fbd6c r0 : 816fbd6c
Flags: nzCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...
resetting ...
U-Boot SPL 2018.01-05679-g013ca45-dirty (Oct 22 2020 - 02:25:57)
DRAM: 64 MiB
Trying to boot from MMC1
Card did not respond to voltage select!
mmc_init: -95, time 22
spl: mmc init failed with error: -95
Trying to boot from sunxi SPI
U-Boot 2018.01-05679-g013ca45-dirty (Oct 22 2020 - 02:25:57 -0700) Allwinner Technology
CPU: Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
Setting up a 800x480 lcd console (overscan 0x0)
In: serial@1c25000
Out: serial@1c25000
Err: serial@1c25000
Net: No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot: 2 1 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
device 0 offset 0x100000, size 0x250000
https://whycan.cn/t_1008.html
下载 f1c100s_bsp_linux_split.7z
u-boot-2018.01
tlh@ubuntu:~/buildroot-2017.08$ make menuconfig
support/scripts/br2-external: line 41: /home/tlh/buildroot-2017.08/output/.br-external.mk: Permission denied
support/scripts/br2-external: line 41: /home/tlh/buildroot-2017.08/output/build/.br2-external.in: Permission denied
make[1]: *** [/home/tlh/buildroot-2017.08/output/build/.br2-external.in] Error 1
make: *** [_all] Error 2
tlh@ubuntu:~/buildroot-2017.08$ make
support/scripts/br2-external: line 41: /home/tlh/buildroot-2017.08/output/.br-external.mk: Permission denied
package/linux-headers/linux-headers.mk:134: *** LINUX_HEADERS_SITE cannot be empty when LINUX_HEADERS_SOURCE is not. Stop.
make: *** [_all] Error 2
[09:54:05.440]ÊÕ¡û¡ô
U-Boot SPL 2018.01-05676-g00188782ee-dirty (May 19 2018 - 15:47:49)
DRAM: 64 MiB
SPL: Unsupported Boot Device!
Trying to boot from sunxi SPI
[09:54:05.944]ÊÕ¡û¡ô
U-Boot 2018.01-05676-g00188782ee-dirty (May 19 2018 - 15:47:49 +0800) Allwinner Technology
CPU: Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM: 64 MiB
[09:54:06.476]ÊÕ¡û¡ôUsing default environment
Setting up a 800x480 lcd console (overscan 0x0)
[09:54:06.576]ÊÕ¡û¡ôIn: serial@1c25000
Out: serial@1c25000
Err: serial@1c25000
Net: No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot: 2
[09:54:07.595]ÊÕ¡û¡ô 1
[09:54:08.596]ÊÕ¡û¡ô 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 64 KiB, total 16 MiB
device 0 offset 0x100000, size 0x4000
SF: 16384 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
[09:54:10.405]ÊÕ¡û¡ôSF: 4194304 bytes @ 0x110000 Read: OK
=>
1. f1c100s linux bsp 到licheepi nano logo 信息显示 <starting USB No controllers found>介决办法
2. git clone https://github.com/Icenowy/u-boot.git -b f1c100s-spiflash 加快下载速度办法
页次: 1