NAS542: SD Karte defekt -> Bootloop

NAS326, NAS520, NAS540, NAS542
Mijzelf
Posts: 48
Joined: Wed 14. Nov 2018, 19:50

Re: NAS542: SD Karte defekt -> Bootloop

Post 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.
a-st
Posts: 8
Joined: Sat 24. Aug 2019, 21:57

Re: NAS542: SD Karte defekt -> Bootloop

Post 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
Post Reply