howto cp to flash

Eric Bénard eric at eukrea.com
Mon Nov 19 03:32:47 EST 2012


Hi,

Le Mon, 19 Nov 2012 16:18:16 +0800,
zzs <zzs213 at 126.com> a écrit :

> After download zbarebox.bin to /, I wrote it to flash
> 
>    tftp barebox.bin
>    memcpy -b -s./zbarebox.bin -d/dev/nor0.root 0 0
> 
this should work :
tftp barebox.bin
unprotect /dev/nor0.root
erase /dev/nor0.root
cp barebox.bin /dev/nor0.root

or with less operations :
unprotect /dev/nor0.root
erase /dev/nor0.root
tftp barebox.bin /dev/nor0.root

Eric



More information about the barebox mailing list