openlumi / openlumi.github.io

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

can't gain root/ssh > no more process left #29

Closed shummo closed 2 years ago

shummo commented 2 years ago

I would like to make a backup before openwrt. On my EU Xiaomi gateway v2.

I have to connect uart to gateway : grd-grd/tx-tx/rx-rx. (when I tried it rx-tx/tx-rx it didn't show anything)

After changing the ROOT passwd, and i reboot, than this will be the end, and not "Input cmd:" I can't even do anything, just restart manually. So I can't log in to go to the next step

====================================
========== start mi=================
====================================
.
umount: /mnt/.psplash: not mounted
INIT: no more processes left in this runlevel
devbis commented 2 years ago

I've seen problems on the latest firmware updates with disabled getty for the serial tty. Try to log in to the single mode (through uboot) and uncomment getty for mxc0

sed -i "s/#mxc0/mxc0/" /etc/inittab

You'll be able to log in to the bash on the next boot.

shummo commented 2 years ago

Thanks for your reply. It works :)