Page 2 of 2

Re: NAS542: SD Karte defekt -> Bootloop

Posted: Sun 1. Sep 2019, 13:11
by Mijzelf
Any hints how to return it nearly stock state?
Unfortunately not. In case of uboot, you can just erase the enviroment paritition, in which case it falls back to the build in defaults, which are in most cases right. You just need to manually change the mac address, in case it's stored in uboot environment.

But this is barebox, and although it seems to be a derivative of uboot, I have no idea of the scripts in the environment filesystem are also stored in barebox itself.

BTW, it is strange that both you and Triu had a crippled barebox filesystem after changing some file. I wonder if there is a bug in (this version of) barebox which causes filesystem corruption.

Re: NAS542: SD Karte defekt -> Bootloop

Posted: Sun 1. Sep 2019, 17:16
by a-st
Just in case someone faces the same issues, I've put the barebox stuff into a GitHub repository: https://github.com/a-st/nas542-barebox

I attached my Raspberry Pi to the serial console and used the

Code: Select all

 edit
command to create/modify the respective files. Afterwards I issued the

Code: Select all

saveenv
command to write the changes to the persistent storage