Custom boot.scr
#1
Hi All

Thanks in advance for any advice. I am trying to bootstrap my own Debian install on my Pinephone and after alot of faffing and false starts I finally managed to boot a kernel I had build into a Debian install I had bootstrapped, cos why wouldn't you on FOSS phone!

The last hurdle I came across was the boot.scr script not being run by u-boot on my image, I had copied the one from the Debian+Phosh image and then updated the entries to point to my kernel/initramfs. There are some non-text bytes at the beginning of the file which I think is might be the reason its not booting (checksum/hash maybe) but once I had restored the original and copied my kernel/initramfs files to the to the names used in the boot.scr it booted without issue.

So, the question! How do I generate my own boot.scr correctly?

Thanks Again

hk135
  Reply


Messages In This Thread
Custom boot.scr - by hk135 - 03-26-2020, 05:43 AM
RE: Custom boot.scr - by a-wai - 03-26-2020, 09:25 AM
RE: Custom boot.scr - by hk135 - 03-26-2020, 01:31 PM
RE: Custom boot.scr - by hk135 - 03-27-2020, 02:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't boot on SD anymore LeNouveau 1 1,287 02-12-2024, 01:05 PM
Last Post: LeNouveau
  Does Ubuntu modify a Pinephone SD boot card? Peter Gamma 0 1,622 10-05-2023, 09:18 AM
Last Post: Peter Gamma
  Tow-boot headaches. antiwesley 3 2,821 04-30-2023, 05:03 PM
Last Post: Kevin Kofler
  problem with boot evaldas 2 3,276 03-17-2023, 06:21 AM
Last Post: gulshan212
  Article: NuttX RTOS for PinePhone: Boot to LVGL lupyuen 2 2,990 01-23-2023, 10:41 PM
Last Post: lupyuen
  tow-boot shulamy 2 2,645 09-08-2022, 12:33 AM
Last Post: shulamy
  Device memory full on multi-boot SD card Peter Gamma 4 4,330 08-27-2022, 10:03 AM
Last Post: Eugo
  wiping u-boot off sd card shulamy 6 4,923 08-17-2022, 03:38 AM
Last Post: shulamy
  Change tow-boot boot order or otherwise make Mobian on uSD the default? allworlds 3 3,697 05-04-2022, 06:27 PM
Last Post: allworlds
  Multi boot issue generaluser 4 4,654 10-06-2021, 07:45 AM
Last Post: generaluser

Forum Jump:


Users browsing this thread: 1 Guest(s)