您尚未登录。

楼主 #1 2019-11-07 08:23:05

xgui
会员
注册时间: 2019-09-07
已发帖子: 224
积分: 224

试一试编译 @bamkrsde 的 V3s Openwrt

离线

楼主 #2 2019-11-07 08:37:58

xgui
会员
注册时间: 2019-09-07
已发帖子: 224
积分: 224

Re: 试一试编译 @bamkrsde 的 V3s Openwrt

克隆源码:

git clone https://github.com/bhorn/openwrt
cd openwrt
git checkout dolphinpi-spinand

然后 make menuconfig 选中:

> Base System > mtd
> Kernel modules > SPI Support > kmod-spi-dev 

如果你用root登录的, 请用这个命令编译:

FORCE_UNSAFE_CONFIGURE=1 make V=s

离线

楼主 #3 2019-11-07 08:38:51

xgui
会员
注册时间: 2019-09-07
已发帖子: 224
积分: 224

Re: 试一试编译 @bamkrsde 的 V3s Openwrt

2019-11-07_082951.png

离线

楼主 #4 2019-11-07 08:44:28

xgui
会员
注册时间: 2019-09-07
已发帖子: 224
积分: 224

Re: 试一试编译 @bamkrsde 的 V3s Openwrt

https://blog.csdn.net/tx422/article/details/78593860

编译错误 you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this

export FORCE_UNSAFE_CONFIGURE=1

离线

楼主 #5 2019-11-07 08:45:04

xgui
会员
注册时间: 2019-09-07
已发帖子: 224
积分: 224

Re: 试一试编译 @bamkrsde 的 V3s Openwrt

-- Looking for getgrnam_r
-- Looking for getgrnam_r - found
-- Looking for getpwnam_r
-- Looking for getpwnam_r - found
-- Looking for getpid
-- Looking for getpid - found
-- Looking for getvfsbyname
-- Looking for getvfsbyname - not found
-- Looking for lchflags
-- Looking for lchflags - not found
-- Looking for lchown
-- Looking for lchown - found
-- Looking for link
-- Looking for link - found
-- Looking for lstat
-- Looking for lstat - found
-- Looking for lutimes
-- Looking for lutimes - found
-- Looking for mbrtowc
-- Looking for mbrtowc - found
-- Looking for memmove
-- Looking for memmove - found
-- Looking for mkdir
-- Looking for mkdir - found
-- Looking for mkfifo
-- Looking for mkfifo - found
-- Looking for mknod
-- Looking for mknod - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for nl_langinfo
-- Looking for nl_langinfo - found
-- Looking for openat
-- Looking for openat - found
-- Looking for posix_spawnp
-- Looking for posix_spawnp - found
-- Looking for readlink
-- Looking for readlink - found
-- Looking for readpassphrase
-- Looking for readpassphrase - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for statfs
-- Looking for statfs - found
-- Looking for statvfs
-- Looking for statvfs - found
-- Looking for strchr
-- Looking for strchr - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strncpy_s
-- Looking for strncpy_s - not found
-- Looking for strrchr
-- Looking for strrchr - found
-- Looking for symlink
-- Looking for symlink - found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for tzset
-- Looking for tzset - found
-- Looking for utimes
-- Looking for utimes - found
-- Looking for utimensat
-- Looking for utimensat - found
-- Looking for vfork
-- Looking for vfork - found
-- Looking for wcrtomb
-- Looking for wcrtomb - found
-- Looking for wcscmp
-- Looking for wcscmp - found
-- Looking for wcscpy
-- Looking for wcscpy - found
-- Looking for wcslen
-- Looking for wcslen - found
-- Looking for wctomb
-- Looking for wctomb - found
-- Looking for _ctime64_s
-- Looking for _ctime64_s - not found
-- Looking for _fseeki64
-- Looking for _fseeki64 - not found
-- Looking for _get_timezone
-- Looking for _get_timezone - not found
-- Looking for _localtime64_s
-- Looking for _localtime64_s - not found
-- Looking for _mkgmtime64
-- Looking for _mkgmtime64 - not found
-- Looking for cygwin_conv_path
-- Looking for cygwin_conv_path - not found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for vprintf
-- Looking for vprintf - found
-- Looking for wmemcmp
-- Looking for wmemcmp - found
-- Looking for wmemcpy
-- Looking for wmemcpy - found
-- Looking for wmemmove
-- Looking for wmemmove - found
-- Performing Test HAVE_STRUCT_VFSCONF
-- Performing Test HAVE_STRUCT_VFSCONF - Failed
-- Performing Test HAVE_STRUCT_XVFSCONF
-- Performing Test HAVE_STRUCT_XVFSCONF - Failed
-- Performing Test HAVE_READDIR_R
-- Performing Test HAVE_READDIR_R - Success
-- Performing Test HAVE_DIRFD
-- Performing Test HAVE_DIRFD - Success
-- Performing Test HAVE_READLINKAT
-- Performing Test HAVE_READLINKAT - Success
-- Performing Test MAJOR_IN_MKDEV
-- Performing Test MAJOR_IN_MKDEV - Failed
-- Performing Test MAJOR_IN_SYSMACROS
-- Performing Test MAJOR_IN_SYSMACROS - Success
-- Performing Test HAVE_LZMA_STREAM_ENCODER_MT
-- Performing Test HAVE_LZMA_STREAM_ENCODER_MT - Failed
-- Looking for EFTYPE
-- Looking for EFTYPE - not found
-- Looking for EILSEQ
-- Looking for EILSEQ - found
-- Looking for D_MD_ORDER
-- Looking for D_MD_ORDER - not found
-- Looking for INT32_MAX
-- Looking for INT32_MAX - found
-- Looking for INT32_MIN
-- Looking for INT32_MIN - found
-- Looking for INT64_MAX
-- Looking for INT64_MAX - found
-- Looking for INT64_MIN
-- Looking for INT64_MIN - found
-- Looking for INTMAX_MAX
-- Looking for INTMAX_MAX - found
-- Looking for INTMAX_MIN
-- Looking for INTMAX_MIN - found
-- Looking for UINT32_MAX
-- Looking for UINT32_MAX - found
-- Looking for UINT64_MAX
-- Looking for UINT64_MAX - found
-- Looking for UINTMAX_MAX
-- Looking for UINTMAX_MAX - found
-- Looking for SIZE_MAX
-- Looking for SIZE_MAX - found
-- Looking for SSIZE_MAX
-- Looking for SSIZE_MAX - found
-- Performing Test HAVE_STRUCT_TM_TM_GMTOFF
-- Performing Test HAVE_STRUCT_TM_TM_GMTOFF - Success
-- Performing Test HAVE_STRUCT_TM___TM_GMTOFF
-- Performing Test HAVE_STRUCT_TM___TM_GMTOFF - Failed
-- Performing Test HAVE_STRUCT_STATFS_F_NAMEMAX
-- Performing Test HAVE_STRUCT_STATFS_F_NAMEMAX - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIME
-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIME - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success
-- Performing Test HAVE_STRUCT_STAT_ST_MTIME_N
-- Performing Test HAVE_STRUCT_STAT_ST_MTIME_N - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_UMTIME
-- Performing Test HAVE_STRUCT_STAT_ST_UMTIME - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIME_USEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIME_USEC - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE
-- Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE - Success
-- Performing Test HAVE_STRUCT_STAT_ST_FLAGS
-- Performing Test HAVE_STRUCT_STAT_ST_FLAGS - Failed
-- Performing Test HAVE_STRUCT_STATVFS_F_IOSIZE
-- Performing Test HAVE_STRUCT_STATVFS_F_IOSIZE - Failed
-- Check size of dev_t
-- Check size of dev_t - done
-- Check size of gid_t
-- Check size of gid_t - done
-- Check size of id_t
-- Check size of id_t - done
-- Check size of mode_t
-- Check size of mode_t - done
-- Check size of off_t
-- Check size of off_t - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of uid_t
-- Check size of uid_t - done
-- Check size of pid_t
-- Check size of pid_t - done
-- Check size of intptr_t
-- Check size of intptr_t - done
-- Check size of wchar_t
-- Check size of wchar_t - done
-- Checking _FILE_OFFSET_BITS for large files
-- Checking _FILE_OFFSET_BITS for large files - not needed
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBC
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_RMD160_LIBC
-- Checking support for ARCHIVE_CRYPTO_RMD160_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBC
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC2
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC2 -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC2
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC2 -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC2
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC2 -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC3
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC3 -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC3
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC3 -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC3
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC3 -- not found
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBSYSTEM
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBSYSTEM -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBSYSTEM
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBSYSTEM -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBSYSTEM
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBSYSTEM -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBSYSTEM
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBSYSTEM -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBSYSTEM
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBSYSTEM -- not found
-- Checking support for ARCHIVE_CRYPTO_MD5_OPENSSL
-- Checking support for ARCHIVE_CRYPTO_MD5_OPENSSL -- not found
-- Checking support for ARCHIVE_CRYPTO_RMD160_OPENSSL
-- Checking support for ARCHIVE_CRYPTO_RMD160_OPENSSL -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA1_OPENSSL
-- Checking support for ARCHIVE_CRYPTO_SHA1_OPENSSL -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA256_OPENSSL
-- Checking support for ARCHIVE_CRYPTO_SHA256_OPENSSL -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA384_OPENSSL
-- Checking support for ARCHIVE_CRYPTO_SHA384_OPENSSL -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA512_OPENSSL
-- Checking support for ARCHIVE_CRYPTO_SHA512_OPENSSL -- not found
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBMD
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBMD -- not found
-- Checking support for ARCHIVE_CRYPTO_RMD160_LIBMD
-- Checking support for ARCHIVE_CRYPTO_RMD160_LIBMD -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBMD
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBMD -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBMD
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBMD -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBMD
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBMD -- not found
-- Checking for curses support
-- Checking for curses support - Success
-- Looking for wsyncup in /usr/lib/x86_64-linux-gnu/libcurses.so
-- Looking for wsyncup in /usr/lib/x86_64-linux-gnu/libcurses.so - found
-- Looking for cbreak in /usr/lib/x86_64-linux-gnu/libncurses.so
-- Looking for cbreak in /usr/lib/x86_64-linux-gnu/libncurses.so - found
-- Found Curses: /usr/lib/x86_64-linux-gnu/libncurses.so
-- Looking for elf.h
-- Looking for elf.h - found
-- Looking for a Fortran compiler
-- Looking for a Fortran compiler - NOTFOUND
-- Performing Test run_pic_test
-- Performing Test run_pic_test - Success
-- Performing Test run_inlines_hidden_test
-- Performing Test run_inlines_hidden_test - Success
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:27 (mes                                                                     sage):
  The imported target "Qt5::Gui" references the file

     "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqwayland-egl.so"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5Gui_QWaylandEglPlatformIntegrati                                                                     onPlugin.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:171 (_qt5_Gui_check_                                                                     file_exists)
  /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5Gui_QWaylandEglPlatformIntegrationPl                                                                     ugin.cmake:4 (_populate_Gui_plugin_properties)
  /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:179 (include)
  /usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:101 (find_pa                                                                     ckage)
  Tests/CMakeLists.txt:1344 (find_package)


-- Configuring incomplete, errors occurred!
See also "/opt/openwrt/build_dir/host/cmake-3.15.1/CMakeFiles/CMakeOutput.log".
See also "/opt/openwrt/build_dir/host/cmake-3.15.1/CMakeFiles/CMakeError.log".
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
Makefile:49: recipe for target '/opt/openwrt/build_dir/host/cmake-3.15.1/.config                                                                     ured' failed
make[3]: *** [/opt/openwrt/build_dir/host/cmake-3.15.1/.configured] Error 11
make[3]: Leaving directory '/opt/openwrt/tools/cmake'
time: tools/cmake/compile#558.68#85.65#647.80
tools/Makefile:157: recipe for target 'tools/cmake/compile' failed
make[2]: *** [tools/cmake/compile] Error 2
make[2]: Leaving directory '/opt/openwrt'
tools/Makefile:155: recipe for target '/opt/openwrt/staging_dir/host/stamp/.tool                                                                     s_compile_yynyynnyyynyyyyynyynnyyyynyyyyyyyyyyyyyyynynynnyyynnyyy' failed
make[1]: *** [/opt/openwrt/staging_dir/host/stamp/.tools_compile_yynyynnyyynyyyy                                                                     ynyynnyyyynyyyyyyyyyyyyyyynynynnyyynnyyy] Error 2
make[1]: Leaving directory '/opt/openwrt'
/opt/openwrt/include/toplevel.mk:225: recipe for target 'world' failed
make: *** [world] Error 2

又出现了一个编译错误。

离线

楼主 #6 2019-11-07 09:04:18

xgui
会员
注册时间: 2019-09-07
已发帖子: 224
积分: 224

Re: 试一试编译 @bamkrsde 的 V3s Openwrt

root@xgui:/opt/openwrt# sudo apt-get install qtwayland5 -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  qtwayland5
0 upgraded, 1 newly installed, 0 to remove and 115 not upgraded.
Need to get 117 kB of archives.
After this operation, 846 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 qtwayland5 amd64 5.9.5-0ubuntu1 [117 kB]
Fetched 117 kB in 1s (189 kB/s)
Selecting previously unselected package qtwayland5:amd64.
(Reading database ... 163653 files and directories currently installed.)
Preparing to unpack .../qtwayland5_5.9.5-0ubuntu1_amd64.deb ...
Unpacking qtwayland5:amd64 (5.9.5-0ubuntu1) ...
Setting up qtwayland5:amd64 (5.9.5-0ubuntu1) ...
root@xgui:/opt/openwrt#
root@xgui:/opt/openwrt# ls "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqwayland-egl.so"
/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqwayland-egl.so

执行下面的命令安装, 就有了 /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqwayland-egl.so

sudo apt-get install qtwayland5 -y

离线

楼主 #7 2019-11-07 15:03:23

xgui
会员
注册时间: 2019-09-07
已发帖子: 224
积分: 224

Re: 试一试编译 @bamkrsde 的 V3s Openwrt

编译完成, 生成了几个镜像文件:

root@xgui:/opt/openwrt/bin/targets/sunxi/cortexa7# find /opt/openwrt/ |grep img.gz$ |xargs ls -l
-rw-r--r-- 1 root root 5528281 Nov  7 01:23 /opt/openwrt/bin/targets/sunxi/cortexa7/openwrt-sunxi-cortexa7-sun8i-v3s-dolphinpi-ext4-sdcard.img.gz
-rw-r--r-- 1 root root 5511748 Nov  7 01:23 /opt/openwrt/bin/targets/sunxi/cortexa7/openwrt-sunxi-cortexa7-sun8i-v3s-dolphinpi-ext4-spinand.img.gz
-rw-r--r-- 1 root root 4896001 Nov  7 01:23 /opt/openwrt/bin/targets/sunxi/cortexa7/openwrt-sunxi-cortexa7-sun8i-v3s-dolphinpi-squashfs-sdcard.img.gz
-rw-r--r-- 1 root root 4878068 Nov  7 01:23 /opt/openwrt/bin/targets/sunxi/cortexa7/openwrt-sunxi-cortexa7-sun8i-v3s-dolphinpi-squashfs-spinand.img.gz

离线

楼主 #8 2019-11-07 15:26:54

xgui
会员
注册时间: 2019-09-07
已发帖子: 224
积分: 224

Re: 试一试编译 @bamkrsde 的 V3s Openwrt

把这个文件 openwrt-sunxi-cortexa7-sun8i-v3s-dolphinpi-ext4-sdcard.img 写到TF卡插到海豚派启动,

会提示没有找到SPI NAND

U-Boot SPL 2019.10 (Nov 06 2019 - 15:22:33 +0000)
DRAM: 64 MiB
Trying to boot from MMC1


U-Boot 2019.10 (Nov 06 2019 - 15:22:33 +0000) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Dolphin Pi
DRAM:  64 MiB
MMC:   mmc@01c0f000: 0
In:    serial@01c28800
Out:   serial@01c28800
Err:   serial@01c28800
Net:   No ethernet found.
Hit any key to stop autoboot:  0 
unknown raw ID 43d60dc8
MTD device spi-nand0 not found, ret -19
unknown raw ID 43d60d90
MTD device spi-nand0 not found, ret -19
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> 

因为我这片买的是 SPI NOR 的板子, 晚点换个 SPI NAND 试一试。

离线

楼主 #9 2019-11-07 15:42:20

xgui
会员
注册时间: 2019-09-07
已发帖子: 224
积分: 224

离线

楼主 #10 2019-11-07 20:26:34

xgui
会员
注册时间: 2019-09-07
已发帖子: 224
积分: 224

Re: 试一试编译 @bamkrsde 的 V3s Openwrt

焊了一片 gd 的 5F1G04 还是出现一样的错误:

U-Boot SPL 2019.10 (Nov 06 2019 - 15:22:33 +0000)
DRAM: 64 MiB
Trying to boot from MMC1


U-Boot 2019.10 (Nov 06 2019 - 15:22:33 +0000) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Dolphin Pi
DRAM:  64 MiB
MMC:   mmc@01c0f000: 0
In:    serial@01c28800
Out:   serial@01c28800
Err:   serial@01c28800
Net:   No ethernet found.
Hit any key to stop autoboot:  0
unknown raw ID 43d60dc8
MTD device spi-nand0 not found, ret -19
unknown raw ID 43d60d90
MTD device spi-nand0 not found, ret -19
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> 

然后我手动执行命令:

fatload mmc 0 $fdt_addr_r dtb
fatload mmc 0 $kernel_addr_r uImage
setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
bootm $kernel_addr_r - $fdt_addr_r

然后才启动:

=> fatload mmc 0 $fdt_addr_r dtb
9573 bytes read in 4 ms (2.3 MiB/s)
=> loadkernel fatload mmc 0 $kernel_addr_r uImage
Unknown command 'loadkernel' - try 'help'
=>  fatload mmc 0 $kernel_addr_r uImage
2926552 bytes read in 157 ms (17.8 MiB/s)
=> setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
=> bootm $kernel_addr_r - $fdt_addr_r
## Booting kernel from Legacy Image at 41000000 ...
   Image Name:   ARM OpenWrt Linux-4.19.81
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2926488 Bytes = 2.8 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Kernel Image
   Using Device Tree in place at 41800000, end 41805564

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.81 (root@test5) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r11430-68d12ac1fe)) #0 SMP PREEMPT Wed Nov 6 15:22:33 2019
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d
[    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: Dolphin PI
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] random: get_random_bytes called from start_kernel+0x7c/0x42c with crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s31244 r8192 d22004 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
[    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: 53872K/65536K available (5928K kernel code, 396K rwdata, 1644K rodata, 2048K init, 242K bss, 11664K 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 : 0xc4800000 - 0xff800000   ( 944 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (7945 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 397 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 243 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000]  Tasks RCU enabled.
[    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] GIC: GICv2 detected, but range too small and irqchip.gicv2_force_probe not set
[    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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000020] Switching to timer-based delay loop, resolution 41ns
[    0.000246] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000448] Console: colour dummy device 80x30
[    0.000504] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000520] pid_max: default: 32768 minimum: 301
[    0.000691] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000707] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001622] CPU: Testing write buffer coherency: ok
[    0.002183] /cpus/cpu@0 missing clock-frequency property
[    0.002212] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.060207] Setting up static identity map for 0x40200000 - 0x40200060
[    0.080209] rcu: Hierarchical SRCU implementation.
[    0.120334] smp: Bringing up secondary CPUs ...
[    0.120362] smp: Brought up 1 node, 1 CPU
[    0.120372] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.120380] CPU: All CPU(s) started in HYP mode.
[    0.120385] CPU: Virtualization extensions available.
[    0.130551] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.131308] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.131343] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.131700] pinctrl core: initialized pinctrl subsystem
[    0.132893] NET: Registered protocol family 16
[    0.133367] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.134565] No ATAGs?
[    0.194178] SCSI subsystem initialized
[    0.194601] usbcore: registered new interface driver usbfs
[    0.194675] usbcore: registered new interface driver hub
[    0.196554] usbcore: registered new device driver usb
[    0.197429] pps_core: LinuxPPS API ver. 1 registered
[    0.197447] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.197606] PTP clock support registered
[    0.199223] Advanced Linux Sound Architecture Driver Initialized.
[    0.204945] clocksource: Switched to clocksource arch_sys_counter
[    0.236731] NET: Registered protocol family 2
[    0.237572] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.237617] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.237641] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.237664] TCP: Hash tables configured (established 1024 bind 1024)
[    0.237815] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.237866] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.238141] NET: Registered protocol family 1
[    0.238675] kvm [1]: 8-bit VMID
[    0.239435] kvm [1]: Hyp mode initialized successfully
[    0.242242] No memory allocated for crashlog
[    0.243301] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.270420] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.271385] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.301294] io scheduler noop registered
[    0.301317] io scheduler deadline registered
[    0.301580] io scheduler cfq registered (default)
[    0.302426] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.307911] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.510540] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.518801] console [ttyS0] disabled
[    0.540248] 1c28800.serial: ttyS0 at MMIO 0x1c28800 (irq = 30, base_baud = 1500000) is a U6_16550A
[    1.103214] console [ttyS0] enabled
[    1.121140] loop: module loaded
[    1.131309] spi-nand spi0.0: unknown raw ID e458a464
[    1.137088] spi-nand: probe of spi0.0 failed with error -524
[    1.144842] libphy: Fixed MDIO Bus: probed
[    1.150935] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.157253] dwmac-sun8i 1c30000.ethernet: No regulator found
[    1.173557] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    1.180995] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    1.188288] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    1.193249] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    1.200076] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    1.205749] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    1.211421] dwmac-sun8i 1c30000.ethernet (unnamed net_device) (uninitialized): device MAC address 32:5c:bd:76:99:1b
[    1.222308] libphy: stmmac: probed
[    1.227287] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[    1.234233] libphy: mdio_mux: probed
[    1.238027] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[    1.244386] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[    1.252188] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.259846] ehci-platform: EHCI generic platform driver
[    1.265716] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.271953] ohci-platform: OHCI generic platform driver
[    1.278131] usbcore: registered new interface driver usb-storage
[    1.285694] mousedev: PS/2 mouse device common for all mice
[    1.292903] i2c /dev entries driver
[    1.298995] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.310046] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.2
[    1.344096] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.358630] NET: Registered protocol family 10
[    1.375988] Segment Routing with IPv6
[    1.379769] NET: Registered protocol family 17
[    1.384750] can: controller area network core (rev 20170425 abi 9)
[    1.391859] NET: Registered protocol family 29
[    1.396812] 8021q: 802.1Q VLAN Support v1.8
[    1.401146] Registering SWP/SWPB emulation handler
[    1.415155] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.423934] hctosys: unable to open rtc device (rtc0)
[    1.430217] ALSA device list:
[    1.433201]   No soundcards found.
[    1.436883] mmc0: new high speed SD card at address 0001
[    1.443621] Waiting for root device /dev/mmcblk0p2...
[    1.460188] mmcblk0: mmc0:0001 MS 1.83 GiB
[    1.476884]  mmcblk0: p1 p2
[    1.558165] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    1.566112] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.575818] Freeing unused kernel memory: 2048K
[    1.580512] Run /sbin/init as init process
[    1.687264] init: Console is alive
[    1.690997] init: - watchdog -
[    1.803800] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.811179] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.821368] init: - preinit -
[    2.079822] random: jshn: uninitialized urandom read (4 bytes read)
[    2.113169] random: jshn: uninitialized urandom read (4 bytes read)
[    2.139990] random: jshn: uninitialized urandom read (4 bytes read)
[    2.166368] Generic PHY 0.1:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0.1:01, irq=POLL)
[    2.177796] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[    2.185409] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[    2.193072] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[    2.201794] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    5.344628] mount_root: mounting /dev/root
[    5.379114] random: fast init done
[    5.382883] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    5.482515] urandom-seed: Seed file not found (/etc/urandom.seed)
[    5.530067] procd: - early -
[    5.533099] procd: - watchdog -
[    6.929323] procd: - watchdog -
[    6.932886] procd: - ubus -
[    6.949210] urandom_read: 1 callbacks suppressed
[    6.949222] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.987345] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.994250] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.001779] procd: - init -
Please press Enter to activate this console.
[    7.354365] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.470453] urngd: v1.0.1 started.
[    7.493438] xt_time: kernel timezone is -0000
[    7.546241] PPP generic driver version 2.4.2
[    7.553852] NET: Registered protocol family 24
[    7.589369] kmodloader: done loading kernel modules from /etc/modules.d/*
[    7.596678] random: crng init done
[    7.600091] random: 3 urandom warning(s) missed due to ratelimiting
[   18.119323] Generic PHY 0.1:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0.1:01, irq=POLL)
[   18.157530] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[   18.164866] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[   18.255391] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[   18.283313] br-lan: port 1(eth0) entered blocking state
[   18.305348] br-lan: port 1(eth0) entered disabled state
[   18.311258] device eth0 entered promiscuous mode
[   18.326425] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   31.844972] vcc3v0: disabling
[   31.847967] vcc5v0: disabling



BusyBox v1.31.0 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r11430-68d12ac1fe
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/#
root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
root@OpenWrt:/#
root@OpenWrt:/# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               104816      6736     95952   7% /
tmpfs                    27960        48     27912   0% /tmp
tmpfs                      512         0       512   0% /dev
root@OpenWrt:/# ifconfig
br-lan    Link encap:Ethernet  HWaddr 32:5C:BD:76:99:1B
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fdeb:9556:12eb::1/60 Scope:Global
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 32:5C:BD:76:99:1B
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:32 Base address:0xe000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:140 errors:0 dropped:0 overruns:0 frame:0
          TX packets:140 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9520 (9.2 KiB)  TX bytes:9520 (9.2 KiB)

root@OpenWrt:/#

离线

楼主 #12 2019-11-07 20:54:09

xgui
会员
注册时间: 2019-09-07
已发帖子: 224
积分: 224

Re: 试一试编译 @bamkrsde 的 V3s Openwrt

@bamkrsde 感谢回复, 我一会更新到你的主题

thanks for reply, upload to your thread wait for moment.

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn