Open QGB opened 1 year ago
/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/buildlog.txt <2.821 MiB>
HiTool
"can not connect to serial port! it may be in use"
make rootbox
make rootbox_compose
Resend command...
The current Window Size value is 3
Send command: tftp 0x1000000 bootargs.bin
Eth up port phy at 0x01 is connect
Hisilicon ETH net controler
MAC: 00-D8-14-1C-10-AB
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
Using up device
TFTP from server 192.168.2.10; our IP address is 192.168.2.0
Download Filename 'bootargs.bin'.
Download to address: 0x1000000
Downloading: *T T T T T T
fastboot# ping 192.168.2.1
Eth up port phy at 0x01 is connect
Hisilicon ETH net controler
MAC address invalid!
Set Random MAC address: FA:7D:06:55:F5:E3
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
Using up device
ARP Retry count exceeded; starting again
Eth up port phy at 0x01 is connect
Hisilicon ETH net controler
MAC: FA-7D-06-55-F5-E3
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
Using up device
还是ping 不通,估计编译 网络设置有问题
fastboot# printenv
baudrate=115200
netmask=255.255.255.0
gatewayip=192.168.1.1
serverip=192.168.1.1
bootcmd=mmc read 0 0x1FFFFC0 0xB000 0x4000;bootm 0x1FFFFC0
bootargs_512M=mem=512M mmz=ddr,0,0,320M vmalloc=500M
bootargs_768M=mem=768M mmz=ddr,0,0,400M vmalloc=500M
bootargs_1G=mem=1G mmz=ddr,0,0,400M vmalloc=500M
bootargs_2G=mem=2G mmz=ddr,0,0,600M vmalloc=500M
bootargs=console=ttyAMA0,115200 root=/dev/mmcblk0p7 rootfstype=ext4 rootwait blkdevparts=mmcblk0:2M(boot),4M(baseparam),4M(pqparam),4M(logo),8M(trustedcore),8M(kernel),128M(rootfs),-(others)
bootdelay=0
stdin=serial
stdout=serial
stderr=serial
ethact=up
ver=Fastboot 3.3.0-dirty (qgb@) (Sep 30 2022 - 15:01:32)
ethaddr=FA:7D:06:55:F5:E3
ipaddr=192.168.1.11
Environment size: 701/65532 bytes
fastboot#
fastboot# setenv gatewayip 192.168.2.1
fastboot# setenv serverip 192.168.2.1
fastboot# setenv ipaddr 92.168.2.11
installing libcrypto.so.1.0.0
installing libssl.so.1.0.0
make[4]: Entering directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib'
make[5]: Entering directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib'
make[5]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib'
make[5]: Entering directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib'
make[5]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib'
make[4]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib'
OpenSSL shared libraries have been installed in:
/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release
If this directory is not in a standard system path for dynamic/shared
libraries, then you will have problems linking and executing
applications that use OpenSSL libraries UNLESS:
* you link with static (archive) libraries. If you are truly
paranoid about security, you should use static libraries.
* you use the GNU libtool code during linking
(http://www.gnu.org/software/libtool/libtool.html)
* you use pkg-config during linking (this requires that
PKG_CONFIG_PATH includes the path to the OpenSSL shared
library directory), and make use of -R or -rpath.
(http://www.freedesktop.org/software/pkgconfig/)
* you specify the system-wide link path via a command such
as crle(1) on Solaris systems.
* you add the OpenSSL shared library directory to /etc/ld.so.conf
and run ldconfig(8) on Linux systems.
* you define the LD_LIBRARY_PATH, LIBPATH, SHLIB_PATH (HP),
DYLD_LIBRARY_PATH (MacOS X) or PATH (Cygwin and DJGPP)
environment variable and add the OpenSSL shared library
directory to it.
One common tool to check the dynamic dependencies of an executable
or dynamic library is ldd(1) on most UNIX systems.
See any operating system documentation and manpages about shared
libraries for your version of UNIX. The following manpages may be
helpful: ld(1), ld.so(1), ld.so.1(1) [Solaris], dld.sl(1) [HP],
ldd(1), crle(1) [Solaris], pldd(1) [Solaris], ldconfig(8) [Linux],
chatr(1) [HP].
cp libcrypto.pc /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib/pkgconfig
chmod 644 /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib/pkgconfig/libcrypto.pc
cp libssl.pc /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib/pkgconfig
chmod 644 /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib/pkgconfig/libssl.pc
cp openssl.pc /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib/pkgconfig
chmod 644 /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib/pkgconfig/openssl.pc
make[3]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/openssl-1.0.2j'
make[2]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/component/openssl'
make[2]: Entering directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/component/hiplayer'
make[2]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/component/hiplayer'
make[1]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/component'
#### make target "build -j4" failed !!!(05:52 (mm:ss)) ####
qgb@ubuntu:~/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020$
/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-3.18.y/drivers/usb/core/hub.c: In function 'usb_port_resume':
/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-3.18.y/drivers/usb/core/hub.c:3355:7: warning: unused variable 'retval' [-Wunused-variable]
int retval;
^
CC drivers/usb/core/hcd.o
CC drivers/usb/core/urb.o
CC drivers/usb/core/message.o
CC drivers/usb/core/driver.o
CC drivers/usb/core/config.o
CC drivers/usb/core/file.o
CC drivers/usb/core/buffer.o
CC drivers/usb/core/sysfs.o
CC drivers/usb/core/endpoint.o
CC drivers/usb/core/devio.o
CC drivers/usb/core/notify.o
CC drivers/usb/core/generic.o
CC drivers/usb/core/quirks.o
CC drivers/usb/core/devices.o
CC drivers/usb/core/port.o
LD drivers/usb/core/usbcore.o
LD drivers/usb/core/built-in.o
CC drivers/usb/host/ehci-hcd.o
CC drivers/usb/host/ohci-hcd.o
CC drivers/usb/host/xhci.o
CC drivers/usb/host/xhci-mem.o
CC drivers/usb/host/xhci-ring.o
CC drivers/usb/host/xhci-hub.o
CC drivers/usb/host/xhci-dbg.o
CC drivers/usb/host/xhci-trace.o
LD drivers/usb/host/xhci-hcd.o
LD drivers/usb/host/built-in.o
CC [M] drivers/usb/host/xhci-plat.o
LD [M] drivers/usb/host/xhci-plat-hcd.o
CC [M] drivers/usb/host/ehci-platform.o
CC [M] drivers/usb/host/ohci-platform.o
LD drivers/usb/misc/built-in.o
CC drivers/usb/phy/of.o
LD drivers/usb/phy/built-in.o
CC drivers/usb/serial/usb-serial.o
CC drivers/usb/serial/generic.o
CC drivers/usb/serial/bus.o
CC drivers/usb/serial/console.o
LD drivers/usb/serial/usbserial.o
CC drivers/usb/serial/ftdi_sio.o
CC drivers/usb/serial/option.o
CC drivers/usb/serial/pl2303.o
CC drivers/usb/serial/usb_wwan.o
LD drivers/usb/serial/built-in.o
CC drivers/usb/storage/scsiglue.o
CC drivers/usb/storage/protocol.o
CC drivers/usb/storage/transport.o
CC drivers/usb/storage/usb.o
CC drivers/usb/storage/initializers.o
CC drivers/usb/storage/sierra_ms.o
CC drivers/usb/storage/option_ms.o
CC drivers/usb/storage/usual-tables.o
LD drivers/usb/storage/usb-storage.o
LD drivers/usb/storage/built-in.o
LD drivers/usb/built-in.o
LD drivers/video/backlight/built-in.o
CC [M] drivers/video/backlight/lcd.o
CC [M] drivers/video/backlight/backlight.o
CC [M] drivers/video/backlight/generic_bl.o
CC drivers/video/console/dummycon.o
LD drivers/video/console/built-in.o
CC drivers/video/fbdev/core/fb_notify.o
CC drivers/video/fbdev/core/fb_cmdline.o
CC drivers/video/fbdev/core/fbmem.o
CC drivers/video/fbdev/core/fbmon.o
CC drivers/video/fbdev/core/fbcmap.o
CC drivers/video/fbdev/core/fbsysfs.o
CC drivers/video/fbdev/core/modedb.o
CC drivers/video/fbdev/core/fbcvt.o
LD drivers/video/fbdev/core/fb.o
LD drivers/video/fbdev/core/built-in.o
LD drivers/video/fbdev/omap2/displays-new/built-in.o
LD drivers/video/fbdev/omap2/dss/built-in.o
LD drivers/video/fbdev/omap2/built-in.o
LD drivers/video/fbdev/built-in.o
LD drivers/video/built-in.o
CC drivers/watchdog/watchdog_core.o
CC drivers/watchdog/watchdog_dev.o
LD drivers/watchdog/watchdog.o
CC drivers/watchdog/sp805_wdt.o
LD drivers/watchdog/built-in.o
LD drivers/built-in.o
arm-histbv310-linux-ld: cannot find drivers/bluetooth_usb/built-in.o: No such file or directory
/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-3.18.y/scripts/Makefile.build:340: recipe for target 'drivers/built-in.o' failed
make[4]: *** [drivers/built-in.o] Error 1
/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-3.18.y/Makefile:946: recipe for target 'drivers' failed
make[3]: *** [drivers] Error 2
make[3]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/kernel/linux-3.18.y'
Makefile:145: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
make[2]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-3.18.y'
Makefile:139: recipe for target '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/kernel/linux-3.18.y/arch/arm/boot/uImage' failed
make[1]: *** [/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/kernel/linux-3.18.y/arch/arm/boot/uImage] Error 2
make[1]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel'
Makefile:131: recipe for target 'linux' failed
make: *** [linux] Error 2
#### make target "linux" failed !!!(36:06 (mm:ss)) ####
顺序从下至上
我又全部删除,重新编译了一遍,还是一样的错误
准备
编译失败