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 won't boot from eMMC or SD card: a saga archaicmeander 18 1,144 02-06-2021, 07:40 PM
Last Post: wdt
  Graphic problems when booting Debian crecker 1 750 12-15-2020, 06:39 PM
Last Post: marszal
  Making an SD card bootable bero 1 437 11-19-2020, 12:03 PM
Last Post: ab1jx
  Installing Ubuntu 20.04 (Focal) with BSP uBoot with deep sleep and sound Syonyk 17 5,224 11-19-2020, 03:16 AM
Last Post: FeMike
  kodi-git build script for mainline hwaccel media decoding xmixahlx 21 8,104 11-01-2020, 05:17 PM
Last Post: xmixahlx
  How does one get working deep/S3 sleep with Ubuntu Focal/5.7 mainline kernel? Syonyk 7 2,650 10-26-2020, 02:03 PM
Last Post: edward
  A true mainline Linux Kernel for the Pinebook Pro tsys 151 69,843 10-22-2020, 01:00 AM
Last Post: mara
  NVMe timeout when booting from eMMC but not SD satwell 1 755 10-04-2020, 10:06 PM
Last Post: satwell
  Debian (or ubuntu) on a micro sd card (pinebook pro) pine76 28 8,331 09-06-2020, 08:20 AM
Last Post: pine76
  Pinebook Pro not Booting at All eMMC or MicroSD AstroCEO 21 7,262 07-27-2020, 07:49 AM
Last Post: tophneal

Forum Jump:


Users browsing this thread: 1 Guest(s)