[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Migrate a SD card from olinuxino lime to lime2 ?



On Wednesday, 3 January 2018 20:35:32 CET Karsten Merker wrote:
> From the flash-kernel point of view this approach should work,
> but in addition to that you would also need to replace the u-boot
> on the SD card with a u-boot built for the LIME2 as the u-boot
> binary is platform-specific.  To write the new u-boot, perform
> the following steps:
> 
> $ sudo apt-get install u-boot-sunxi
> $ sudo dd if=/usr/lib/u-boot/A20-OLinuXino-Lime2/u-boot-sunxi-with-spl.bin
> bs=1k seek=8 of=/dev/mmcblk0

yes, that did the trick.

Curiously enough, I did forgot this step. The Lime2 board booted fine but only 
500MB of RAM were seen by the kernel.. I guess that RAM setup is performed by 
uboot and not by the firmware of the kernel.

Anyway, once uboot for lime2 is installed as you instructed, the card works 
fine.

> I'd recommend making an image backup of the SD card before
> performing the steps outlined above, just in case something
> goes wrong.

Good idea.

Thanks to Adam and Karsten for the help

All the best

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org


Reply to: