如何为Embedfire I.MX6ULL-S1-NAND-MINI开发板适配Openwrt系统

1.首先安装ubuntu18.04 安装如下软件包

sudo apt-get install subversion g++ zlib1g-dev build-essential git python python3 libncurses5-dev gawk gettext unzip file libssl-dev wget libelf-dev ecj fastjar java-propose-classpath asciidoc bzip2 libz-dev libtool

2. 从如下仓库下载openwrt

git clone https://github.com/nxp-qoriq/openwrt.gi
cd openwrt
git checkout layerscape-20.09 -b layerscape-20.09
./scripts/feeds update -a
./scripts/feeds install -a

3 联系FAE获取如下patch,并应用patch

cp 0001-nand-boot-support-solve-kernel-compile-issue-support.patch /home/openwrt
cp 0002-update-kernel-cfg-fix-netfilter-compile-error.patch /home/openwrt

git am signoff < 0001-nand-boot-support-solve-kernel-compile-issue-support.patch
git am signoff < 0002-update-kernel-cfg-fix-netfilter-compile-error.patch

4. copy如下patch到指定目录

cp 011-algin_with_imx-5.4.70-2.3_kernel.patch /home/openwrt/linux/imx6ull/patches-5.4/
cp 012-remove-unsued-node-nand-dts.patch /home/openwrt/linux/imx6ull/patches-5.4/
cp 013-fix-MLC-NAND-not-supported.patch /home/openwrt/linux/imx6ull/patches-5.4/

5. make menuconfig #配置 imx6ull nand 模式,参考nxp提供的配置文档。

6 make download #下载所有软件包

7 make 或者 make -j1 V=s #执行编译

8 编译过程中会有报错,作如下修改

diff --git a/package/boot/uboot-imx6ull/Makefile b/package/boot/uboot-imx6ull/Makefile
index 0c5be85b9a..0ae36c13ad 100644
--- a/package/boot/uboot-imx6ull/Makefile
+++ b/package/boot/uboot-imx6ull/Makefile
@@ -11,7 +11,7 @@ PKG_VERSION:=rel_imx_5.4.70_2.3.2
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO :=git
-PKG_SOURCE_URL :=https://source.codeaurora.org/external/imx/uboot-imx
+PKG_SOURCE_URL :=https://github.com/nxp-imx/uboot-imx
 PKG_SOURCE_VERSION :=rel_imx_5.4.70_2.3.2
 
 include $(INCLUDE_DIR)/u-boot.mk
diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk
index 5a3d490173..85f062550b 100644
--- a/package/kernel/linux/modules/netfilter.mk
+++ b/package/kernel/linux/modules/netfilter.mk
@@ -97,6 +97,7 @@ define KernelPackage/nf-conntrack
         CONFIG_NF_CONNTRACK_MARK=y \
         CONFIG_NF_CONNTRACK_ZONES=y \
        $(KCONFIG_NF_CONNTRACK)
+  DEPENDS:=+kmod-lib-crc32c
   FILES:=$(foreach mod,$(NF_CONNTRACK-m),$(LINUX_DIR)/net/$(mod).ko)
   AUTOLOAD:=$(call AutoProbe,$(notdir $(NF_CONNTRACK-m)))
 endef

9 参考 https://www.lijiandong.com.cn/?p=312 修改ddr部分代码。

10. 重新单独编译uboot/kernel,命令如下:

make package/boot/uboot-imx6ull/compile
make package/kernel/linux/compile

11 采用uuu 烧写,完整系统启动log如下。

U-Boot 2020.04 (Nov 16 2023 - 02:58:14 +0000)

CPU:   i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 34C
Reset cause: POR
Model: i.MX6 ULL 14x14 EVK Board
Board: MX6ULL 14x14 EVK
DRAM:  512 MiB
NAND:  512 MiB
MMC:   FSL_SDHC: 0
Loading Environment from NAND... *** Warning - bad CRC, using default environment

[*]-Video Link 0 (480 x 272)
        [0] lcdif@21c8000, video
In:    serial
Out:   serial
Err:   serial
Net:   
Error: ethernet@20b4000 address not set.

Error: ethernet@20b4000 address not set.

Error: ethernet@20b4000 address not set.
FEC: can't find phy-handle

Error: ethernet@20b4000 address not set.
Could not get PHY for FEC0: addr 2

Error: ethernet@20b4000 address not set.
FEC: can't find phy-handle

Error: ethernet@20b4000 address not set.
Could not get PHY for FEC0: addr 2
No ethernet found.

Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  0 

NAND read: device 0 offset 0x4000000, size 0xc00000
 12582912 bytes read: OK

NAND read: device 0 offset 0x5000000, size 0x100000
 1048576 bytes read: OK
Kernel image @ 0x80800000 [ 0x000000 - 0x71cf58 ]
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
   Using Device Tree in place at 83000000, end 8300afa6
ft_system_setup for mx6

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.52 (ubuntu@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14030+2-bd992def41)) #0 SMP PREEMPT Thu Nov 16 02:58:14 2023
[    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: Freescale i.MX6 ULL 14x14 EVK Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x96000000, size 160 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] percpu: Embedded 15 pages/cpu s31628 r8192 d21620 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttymxc0,115200 ubi.mtd=nandrootfs root=ubi0:nandrootfs rootfstype=ubifs mtdparts=gpmi-nand:64m(nandboot),16m(nandkernel),16m(nanddtb),16m(nandtee),-(nandrootfs)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 338752K/524288K available (10240K kernel code, 410K rwdata, 3264K rodata, 1024K init, 400K bss, 21696K reserved, 163840K cma-reserved, 0K highmem)
[    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=4 to nr_cpu_ids=1.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    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] random: get_random_bytes called from start_kernel+0x2c8/0x478 with crng_init=0
[    0.000000] Switching to timer-based delay loop, resolution 41ns
[    0.000016] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000057] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.002725] Console: colour dummy device 80x30
[    0.002787] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.002822] pid_max: default: 32768 minimum: 301
[    0.003203] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003240] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.005113] CPU: Testing write buffer coherency: ok
[    0.005846] CPU0: update cpu_capacity 1024
[    0.005881] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.060576] Setting up static identity map for 0x80100000 - 0x80100060
[    0.080567] rcu: Hierarchical SRCU implementation.
[    0.120740] smp: Bringing up secondary CPUs ...
[    0.120779] smp: Brought up 1 node, 1 CPU
[    0.120800] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.120816] CPU: All CPU(s) started in SVC mode.
[    0.141265] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.142252] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.142306] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.155136] pinctrl core: initialized pinctrl subsystem
[    0.157302] NET: Registered protocol family 16
[    0.178177] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.180787] cpuidle: using governor menu
[    0.196178] vdd3p0: supplied by regulator-dummy
[    0.197440] cpu: supplied by regulator-dummy
[    0.198772] vddsoc: supplied by regulator-dummy
[    0.219175] No ATAGs?
[    0.222956] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.223621] imx6ul-pinctrl 2290000.iomuxc-snvs: no groups defined in /soc/aips-bus@2200000/iomuxc-snvs@2290000
[    0.223655] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
[    0.304759] mxs-dma 1804000.dma-apbh: initialized
[    0.308319] vgaarb: loaded
[    0.309539] SCSI subsystem initialized
[    0.313242] usbcore: registered new interface driver usbfs
[    0.313374] usbcore: registered new interface driver hub
[    0.313595] usbcore: registered new device driver usb
[    0.316539] i2c i2c-0: IMX I2C adapter registered
[    0.318518] i2c i2c-1: IMX I2C adapter registered
[    0.318946] mc: Linux media interface: v0.10
[    0.319060] videodev: Linux video capture interface: v2.00
[    0.319988] Advanced Linux Sound Architecture Driver Initialized.
[    0.321959] Bluetooth: Core ver 2.22
[    0.322102] NET: Registered protocol family 31
[    0.322123] Bluetooth: HCI device and connection manager initialized
[    0.322157] Bluetooth: HCI socket layer initialized
[    0.322180] Bluetooth: L2CAP socket layer initialized
[    0.322237] Bluetooth: SCO socket layer initialized
[    0.323328] clocksource: Switched to clocksource mxc_timer1
[    0.323786] VFS: Disk quotas dquot_6.6.0
[    0.323955] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.336293] thermal_sys: Registered thermal governor 'step_wise'
[    0.336888] NET: Registered protocol family 2
[    0.338217] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.338306] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.338418] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.338574] TCP: Hash tables configured (established 4096 bind 4096)
[    0.338785] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.338854] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.339300] NET: Registered protocol family 1
[    0.370957] RPC: Registered named UNIX socket transport module.
[    0.370990] RPC: Registered udp transport module.
[    0.371008] RPC: Registered tcp transport module.
[    0.371024] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.382466] PCI: CLS 0 bytes, default 64
[    0.384886] Initialise system trusted keyrings
[    0.385411] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.412564] NFS: Registering the id_resolver key type
[    0.412640] Key type id_resolver registered
[    0.412660] Key type id_legacy registered
[    0.412777] jffs2: version 2.2 (NAND) (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc.
[    0.413885] fuse: init (API version 7.31)
[    0.503706] Key type asymmetric registered
[    0.503742] Asymmetric key parser 'x509' registered
[    0.503792] io scheduler mq-deadline registered
[    0.503813] io scheduler kyber registered
[    0.520990] pwm-backlight backlight-display: backlight-display supply power not found, using dummy regulator
[    0.531097] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[    0.531138] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[    0.535715] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 22, base_baud = 5000000) is a IMX
[    1.181323] printk: console [ttymxc0] enabled
[    1.187854] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 65, base_baud = 5000000) is a IMX
[    1.231503] brd: module loaded
[    1.254108] loop: module loaded
[    1.264887] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc
[    1.271291] nand: Micron MT29F4G08ABAEAWP
[    1.275410] nand: 512 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 224
[    1.284131] Bad block table found at page 131008, version 0x01
[    1.290225] Bad block table found at page 130944, version 0x01
[    1.296611] 5 cmdlinepart partitions found on MTD device gpmi-nand
[    1.302827] Creating 5 MTD partitions on "gpmi-nand":
[    1.307977] 0x000000000000-0x000004000000 : "nandboot"
[    1.325105] 0x000004000000-0x000005000000 : "nandkernel"
[    1.333548] 0x000005000000-0x000006000000 : "nanddtb"
[    1.345102] 0x000006000000-0x000007000000 : "nandtee"
[    1.365057] 0x000007000000-0x000020000000 : "nandrootfs"
[    1.374811] gpmi-nand 1806000.gpmi-nand: driver registered.
[    1.384133] gpio@0 enforce active low on chipselect handle
[    1.393910] libphy: Fixed MDIO Bus: probed
[    1.401807] fec 20b4000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[    1.408787] fec 20b4000.ethernet: Using random MAC address: ea:ef:9c:f4:49:14
[    1.416916] libphy: fec_enet_mii_bus: probed
[    1.438561] fec 2188000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[    1.445587] fec 2188000.ethernet: Using random MAC address: 32:c3:fd:e3:e1:77
[    1.484042] libphy: fec_enet_mii_bus: probed
[    1.490113] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.496751] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.504221] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.510800] ehci-pci: EHCI PCI platform driver
[    1.515648] ehci-mxc: Freescale On-Chip EHCI Host driver
[    1.521727] usbcore: registered new interface driver usb-storage
[    1.531770] imx_usb 2184000.usb: No over current polarity defined
[    1.538152] imx_usb 2184000.usb: 2184000.usb supply vbus not found, using dummy regulator
[    1.567701] random: fast init done
[    2.169430] mxs_phy 20c9000.usbphy: Data pin can't make good contact.
[    2.177402] imx_usb 2184200.usb: 2184200.usb supply vbus not found, using dummy regulator
[    2.190131] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.195206] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    2.223421] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    2.229349] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    2.237734] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.245040] usb usb1: Product: EHCI Host Controller
[    2.249953] usb usb1: Manufacturer: Linux 5.4.52 ehci_hcd
[    2.255427] usb usb1: SerialNumber: ci_hdrc.1
[    2.260913] hub 1-0:1.0: USB hub found
[    2.264902] hub 1-0:1.0: 1 port detected
[    2.273628] input: 20cc000.snvs:snvs-powerkey as /devices/soc0/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
[    2.289028] input: iMX6UL Touchscreen Controller as /devices/soc0/soc/2000000.aips-bus/2040000.tsc/input/input1
[    2.304780] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[    2.311217] i2c /dev entries driver
[    2.317584] pxp 21cc000.pxp: Device registered as /dev/video0
[    2.327479] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[    2.334795] Bluetooth: HCI UART driver ver 2.3
[    2.339291] Bluetooth: HCI UART protocol H4 registered
[    2.344661] Bluetooth: HCI UART protocol BCSP registered
[    2.350129] Bluetooth: HCI UART protocol LL registered
[    2.355527] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.361888] Bluetooth: HCI UART protocol Marvell registered
[    2.367722] usbcore: registered new interface driver btusb
[    2.375060] sdhci: Secure Digital Host Controller Interface driver
[    2.381283] sdhci: Copyright(c) Pierre Ossman
[    2.385772] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.394309] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[    2.445126] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[    2.474921] wm8960 1-001a: Failed to issue reset
[    2.488042] NET: Registered protocol family 26
[    2.494644] NET: Registered protocol family 10
[    2.512709] Segment Routing with IPv6
[    2.516867] NET: Registered protocol family 17
[    2.521375] can: controller area network core (rev 20170425 abi 9)
[    2.527927] NET: Registered protocol family 29
[    2.532919] Bluetooth: RFCOMM TTY layer initialized
[    2.538077] Bluetooth: RFCOMM socket layer initialized
[    2.543457] Bluetooth: RFCOMM ver 1.11
[    2.547365] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.552787] Bluetooth: BNEP filters: protocol multicast
[    2.558119] Bluetooth: BNEP socket layer initialized
[    2.563115] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.569183] Bluetooth: HIDP socket layer initialized
[    2.574408] lib80211: common routines for IEEE802.11 drivers
[    2.580280] Key type dns_resolver registered
[    2.588678] Registering SWP/SWPB emulation handler
[    2.594896] Loading compiled-in X.509 certificates
[    2.611942] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.641702] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[    2.650539] regulator-can-3v3 GPIO handle specifies active low - ignored
[    2.659019] imx_thermal tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[    2.669335] ubi0: default fastmap pool size: 80
[    2.674014] ubi0: default fastmap WL pool size: 40
[    2.678821] ubi0: attaching mtd4
[    2.934211] ubi0: scanning is finished
[    2.944559] ubi0: attached mtd4 (name "nandrootfs", size 400 MiB)
[    2.950686] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
[    2.957670] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
[    2.964572] ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
[    2.971549] ubi0: good PEBs: 1596, bad PEBs: 4, corrupted PEBs: 0
[    2.977687] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[    2.984977] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1531469487
[    2.994148] ubi0: available PEBs: 0, total reserved PEBs: 1596, PEBs reserved for bad PEB handling: 36
[    3.003508] ubi0: background thread "ubi_bgt0d" started, PID 117
[    3.009993] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    3.019312] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.030869] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.037931] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.046924] ALSA device list:
[    3.049913]   No soundcards found.
[    3.053562] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    3.062588] UBIFS (ubi0:0): Mounting in unauthenticated mode
[    3.089633] UBIFS (ubi0:0): recovery needed
[    3.124175] UBIFS (ubi0:0): recovery deferred
[    3.128753] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "nandrootfs", R/O mode
[    3.137465] UBIFS (ubi0:0): LEB size: 253952 bytes (248 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[    3.147702] UBIFS (ubi0:0): FS size: 391593984 bytes (373 MiB, 1542 LEBs), journal size 19554304 bytes (18 MiB, 77 LEBs)
[    3.158834] UBIFS (ubi0:0): reserved for root: 4952683 bytes (4836 KiB)
[    3.165637] UBIFS (ubi0:0): media format: w5/r0 (latest is w5/r0), UUID FDD07E40-094A-4775-837E-9B5121817508, small LPT model
[    3.177601] VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
[    3.185943] Freeing unused kernel memory: 1024K
[    3.190757] Run /sbin/init as init process
[    3.303230] init: Console is alive
[    3.307291] init: - watchdog -
[    3.409846] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.426020] pps_core: LinuxPPS API ver. 1 registered
[    3.431172] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    3.444763] Error: Driver 'gpio-keys' is already registered, aborting...
[    3.518046] Error: Driver 'gpio-keys' is already registered, aborting...
[    3.604444] kmodloader: 1 module could not be probed
[    3.609705] kmodloader: - gpio-button-hotplug - 0
[    3.623241] init: - preinit -
[    3.862693] random: jshn: uninitialized urandom read (4 bytes read)
[    3.886723] random: jshn: uninitialized urandom read (4 bytes read)
[    3.927130] Micrel KSZ8081 or KSZ8091 20b4000.ethernet-1:01: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=20b4000.ethernet-1:01, irq=POLL)
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

[    6.329758] mount_root: mounting /dev/root
[    6.334745] UBIFS (ubi0:0): completing deferred recovery
[    6.418856] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 178
[    6.439636] UBIFS (ubi0:0): deferred recovery completed
[    6.450319] urandom-seed: Seeding with /etc/urandom.seed
[    6.505007] procd: - early -
[    6.508695] procd: - watchdog -
[    7.157383] procd: - watchdog -
[    7.161511] procd: - ubus -
[    7.189453] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.219703] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.228829] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.240263] procd: - init -
Please press Enter to activate this console.
[    7.682936] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.713596] Error: Driver 'gpio-keys' is already registered, aborting...
[    7.744933] urngd: v1.0.2 started.
[    7.832795] random: crng init done
[    7.841825] random: 5 urandom warning(s) missed due to ratelimiting
[    7.863531] CAN device driver interface
[    7.869398] can: raw protocol (rev 20170425)
[    7.963505] xt_time: kernel timezone is -0000
[    8.103481] PPP generic driver version 2.4.2
[    8.122520] NET: Registered protocol family 24
[    8.183577] Error: Driver 'gpio-keys' is already registered, aborting...
[    8.250861] kmodloader: 1 module could not be probed
[    8.273507] kmodloader: - gpio-button-hotplug - 0
[   12.740716] Micrel KSZ8081 or KSZ8091 20b4000.ethernet-1:02: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=20b4000.ethernet-1:02, irq=POLL)



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

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r14030+2-bd992def41
 -----------------------------------------------------
=== 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:/#

发表评论

电子邮件地址不会被公开。