UBOOT - Mainline not booting from SD card / BSP OK
#1
Hi!

I played a little bit with both version of UBOOT avilable in PACMAN in Manjaro 20.10.

Aside the fact that is you don't backup your extlinux.conf file you my end with an unbootable computer, I found that :

- When using the "mainline" (uboot-pinebookpro) version, booting from SD card don't works
- When using the "bsp" (uboot-pinebookpro-bsp) version, booting from SD card works

It is a normal behavior or is there something wrong in the way I flash the UBOOT?

Here is how i switch between both (on my eMMC)

For MAINLINE I do :
Code:
pacman -S uboot-pinebookpro
dd if=/boot/idbloader.img of=/dev/mmcblk2 seek=64 conv=notrunc,fsync
dd if=/boot/u-boot.itb of=/dev/mmcblk2 seek=16384 conv=notrunc,fsync
cp /boot/extlinux/extlinux.conf.sav /boot/extlinux/extlinux.conf
rm /boot/extlinux/*.pacnew


For BSP I do : 
Code:
pacman -S uboot-pinebookpro-bsp
dd if=/boot/idbloader.img of=/dev/mmcblk2 seek=64 conv=notrunc
dd if=/boot/uboot.img of=/dev/mmcblk2 seek=16384 conv=notrunc
dd if=/boot/trust.img of=/dev/mmcblk2 seek=24576 conv=notrunc


cp /boot/extlinux/extlinux.conf.sav /boot/extlinux/extlinux.conf
rm /boot/extlinux/*.pacnew

Thanks!
  Reply
#2
A full re installation from SD card to eMMC (with mainline U-Boot) works as expected.

I suppose that when switching u-boot version between mainline/bsp version would be better if writing zeroes to destination drive first or something like that. Anyway, case closed!
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Trouble booting in Gentoo tdiggitydog 11 367 07-20-2021, 10:16 PM
Last Post: moonwalkers
  Manjaro wont recognize eMMC after booting with it disabled peasant 1 233 06-27-2021, 02:39 AM
Last Post: Arwen
  A true mainline Linux Kernel for the Pinebook Pro tsys 154 99,483 06-20-2021, 09:26 AM
Last Post: linuxad
Question Flashing updated uboot in Manjaro TDC_PBP 5 2,995 05-28-2021, 01:29 PM
Last Post: wdt
  Battery gauge issue (mainline kernel) lfourquaux 4 714 05-22-2021, 02:43 PM
Last Post: jiyong
  NVMe timeout when booting from eMMC but not SD satwell 4 1,642 05-06-2021, 10:12 AM
Last Post: alexeymin
  PBP won't boot from eMMC or SD card: a saga archaicmeander 18 3,305 02-06-2021, 07:40 PM
Last Post: wdt
  Graphic problems when booting Debian crecker 1 1,157 12-15-2020, 06:39 PM
Last Post: marszal
  Making an SD card bootable bero 1 810 11-19-2020, 12:03 PM
Last Post: ab1jx
  Installing Ubuntu 20.04 (Focal) with BSP uBoot with deep sleep and sound Syonyk 17 7,908 11-19-2020, 03:16 AM
Last Post: FeMike

Forum Jump:


Users browsing this thread: 1 Guest(s)