Re: Migrate a SD card from olinuxino lime to lime2 ?
On Thu, Jan 04, 2018 at 06:31:02PM +0100, Dominique Dumont wrote:
> 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.
Yes, the DRAM controller setup is handled by u-boot (to be exact:
by u-boot's SPL).
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.