Tested: flashed onto microSD, booted on the M2U, run memtester - stable as rock!
Added on 16th of July, evening...
As I promised, below is the instructions how to upgrade the kernel and the uboot.
I’ll provide the easiest way to do this: for microSD card and emmc via that card.
All the below should be performed under Linux distro (except emmc steps - we’ll do this from Banana Pi itself)!
Upgrade your microSD card:
Burn the image you need into microSD (I was working with Raspbian only but the procedure should be the same)
Insert the microSD
You’ll get on /dev something like mmcblk0, mmcblk0p1 mounted as BPI-BOOT and mmcblk0p2 mounted as BPI-ROOT
Upgrade the uboot:
Upgrade the BOOT partition:
Upgrade the kernel:
Copy all the tar files somewhere to the microSD to upgrade the emmc
Sync the filesystem sync
Done: simply boot from the microSD card.
Upgrade emmc:
Boot from the microSD from the above (it’s stable, better boot from this card only!)
Upgrade the uboot:
Upgrade the BOOT partition:
mkdir /tmp/emmc
sudo mount /dev/mmcblk1p1 /tmp/emmc
sudo tar -xf BPI-BOOT-bpi-m2u.tgz -C /tmp/emmc
sync
sudo umount /tmp/emmc
4. Upgrade the kernel:
sudo mount /dev/mmcblk1p1 /tmp/emmc
sudo tar -xf 3.10.107-BPI-M2U-Kernel.tgz -C /tmp/emmc
sync
sudo umount /tmp/emmc
All done, just remove the microSD card and boot from emmc, use the microSD card as an emergency bootable media.
Hi there, I have been discussing this also with facat on the other thread and I have just compiled dan-and’s kernel which also includes facet’s mods. It’s using linux 3.10.107 rather than 3.10.65 kernel so hopefully has some other improvements and security fixes.
I want to transfer the kernel directly onto the M2U while it is running. Is this possible? If so, how?
It’s pretty easy: boot from sd and copy/paste with overwrite the files onto internal emmc (don’t forget to mount the partitions), I think uboot can stay the same, only kernel files should be replaced.
In my opinion the only thing must be changed to fix the instability issue: uboot patch, that’s all.
Can you point me to that kernel files? Will try myself later.
Guys, can you point me where to get the tars of the 3.10.107 kernel? I’ll patch the image with that kernel too. I found it some time ago but lost the link