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
  How to mainline kernel on daniel thompson's debian installer? hellojack 6 442 11-16-2021, 02:41 PM
Last Post: TRS-80
  NVMe timeout when booting from eMMC but not SD satwell 5 1,785 10-29-2021, 07:41 AM
Last Post: psstoev
  Debian/unstable SD card rescue image vajak 4 603 10-28-2021, 02:53 PM
Last Post: vajak
  UBOOT Errors after flashing new os to mmc aechanio 4 933 08-18-2021, 07:07 PM
Last Post: aechanio
  Trouble booting in Gentoo tdiggitydog 11 649 07-20-2021, 10:16 PM
Last Post: moonwalkers
  Manjaro wont recognize eMMC after booting with it disabled peasant 1 631 06-27-2021, 02:39 AM
Last Post: Arwen
  A true mainline Linux Kernel for the Pinebook Pro tsys 154 109,015 06-20-2021, 09:26 AM
Last Post: linuxad
Question Flashing updated uboot in Manjaro TDC_PBP 5 3,879 05-28-2021, 01:29 PM
Last Post: wdt
  Battery gauge issue (mainline kernel) lfourquaux 4 1,624 05-22-2021, 02:43 PM
Last Post: jiyong
  PBP won't boot from eMMC or SD card: a saga archaicmeander 18 4,461 02-06-2021, 07:40 PM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)