openlumi / openlumi.github.io

OpenWrt for Xiaomi Zigbee gateway with imx6 SoC DGNWG05LM, ZHWG11LM
https://openlumi.github.io
154 stars 26 forks source link

Problem after root #39

Closed Pmoshbr closed 2 years ago

Pmoshbr commented 2 years ago

After I did the root process and reboot the device I received this message at serial terminal (normal boot):

U-Boot 2016.03 (Nov 07 2017 - 20:11:55 +0800)

CPU:   Freescale i.MX6ULL rev1.1 528 MHz (running at 396 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 43C
Reset cause: POR
Board: Lumi international Gateway
I2C:   ready
DRAM:  256 MiB
NAND:  256 MiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

Display: TFT43AB (480x272)
Video: LCDIF@0x21c8000 is fused, disable it
In:    serial
Out:   serial
Err:   serial
Net:   Ethernet@0x20b4000 is fused, disable it
Board Net Initialization Failed
No ethernet found.

## Enter main_loop() Now##
Normal Boot
.
.
. a lot of data
.
.
INIT: version 2.88 booting
Starting udev
[    3.866975] udevd[105]: starting version 3.1.5
[    4.387675] UBIFS (ubi0:0): completing deferred recovery
[    4.501123] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 129
[    4.533813] UBIFS (ubi0:0): deferred recovery completed
INIT: Entering runlevel: 5
**Configuring network interfaces... eth0: ERROR while getting interface flags: No such device**
Running local boot scripts (/etc/rc.local).
umount: /mnt/.psplash: not mounted

Freescale i.MX Release Distro 4.1.15-2.0.0 imx6ull14x14evk /dev/ttymxc0

imx6ull14x14evk login:

What I did wrong?? I did not made the backup yet... can I forget the backup process and flash openwrt with serial??

devbis commented 2 years ago

It is a normal login prompt for Unixes. Use root as a login and your password to login to bash.

Pmoshbr commented 2 years ago

Yes I did the login but still without a network... After login I managed to copy /etc/rc.local.mi to /etc/rc.local and add dropbear line.. And run as root /etc/rc.local... Then everything comes back to normal, the ko file driver for rtl chip was loaded and the network was up again... I finished the update with success...

Thanks