NAS542: SD Karte defekt -> Bootloop

NAS326, NAS520, NAS540, NAS542
Mijzelf
Beiträge: 113
Registriert: Mi 14. Nov 2018, 19:50

Re: NAS542: SD Karte defekt -> Bootloop

Beitrag von 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
Beiträge: 8
Registriert: Sa 24. Aug 2019, 21:57

Re: NAS542: SD Karte defekt -> Bootloop

Beitrag von 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: Alles auswählen

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

Code: Alles auswählen

saveenv
command to write the changes to the persistent storage

Antworten