Re: Update APEX for fatted nslu2 (FatSlug)
Asier wrote:
>> You should be able to flash those directly into the appropriate mtd
>> partition (make sure it's not the RedBoot partition, or else you'll
>> permanently brick your device). However, it will need a 16 byte header
>> prepended - best to use slugimage to pack a new image and then flash the
>> complete image.
>
> Use slugimage? And another 4 hours of installation?
You can take your currently installed flash image, not the installer
image. No need to reinstall. Just take a backup of the flash, unpack
it, replace Apex, repack, flash.
> Oh, my! I prefer to try
> and make it manually. In the CompileApex page of the nslu2 wiki talks about
> creating the file like this:
>
> (size of apex.bin in decimal 49096 = BFC8 in hexadecimal)
>
> # printf '\x00\x00\xBF\xC8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' >
> bfc8.bin
>
> (should'n be \xC8\xBF because of little-endian?)
>
> # cat bfc8.bin apex.bin > new_mtd2.bin
> # cat new_mtd2.bin > /dev/mtd2
>
> But also talks about padding with \xff before the last 'cat'. Padding to what
> size?
The size of the mtd partition.
-- Rod
Reply to: