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
  PBP does not start from postmarket OS image burnt to sd card zkajdan 21 3,546 03-10-2025, 01:55 PM
Last Post: wdt
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 12,161 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 3,043 08-21-2023, 09:08 PM
Last Post: vanessadonald
  Issue with booting Manjaro from encrypted NVMe drive on pbp Cs137 1 1,796 08-18-2023, 01:58 AM
Last Post: juliamenendez
  2TB SD Card Write Errors jiacovelli 3 2,228 06-02-2023, 06:13 PM
Last Post: KC9UDX
  Fix for Armbian not booting on PBP from eMMC agreenbhm 7 6,861 04-01-2023, 02:58 PM
Last Post: TRS-80
  Bootloader: SD card boot quirks crazyquark 1 1,779 10-04-2022, 12:27 PM
Last Post: elitegamercody
  Unable to make a bootable microSD card myself600 15 9,640 09-27-2022, 01:45 PM
Last Post: myself600
  Booting Arch from USB lorebett 6 5,354 09-18-2022, 11:35 AM
Last Post: lorebett
  what is the magic dd incantation to copy the system from the sd card to the emmc? geokon 18 16,308 08-18-2022, 11:26 PM
Last Post: calinb

Forum Jump:


Users browsing this thread: 1 Guest(s)