Boot custom kernel on PineBook Pro
#7
because you overwrite uboot itself. 00 20 00 00 is the "start" of SDRAM on rockchip SoCs, in fact, it's 0, but they "reserve" 2MB for whatever. try something higher. like 02 00 00 00. and use booti. because this should work on 64 bit ARM consistently. what isn't the case for bootm and I am not sure about go. but with go, you aren't able to get DT. how are you gonna discover devices without any configuration? hardcode for every machine? nono. don't forget to insert a header at the beginning of your kernel, loader. whatever, because booti does expect it. it's lame, yes, but it's how linux wants and how uboot obediently follows. you can read about that header format in the linux documentation. boot/arm64 section. and if that is not enough, that header expects your code is position independent! doh. at least its start. OR, BETTER of any of this lamery, USE UBOOT'S UEFI interface! you will be freed of these hassles. but, you'll need to revamp your design and supply a UEFI OS loader. it's a PE executable, easily compiled with MSVC (for x86, x64, arm32, arm64). it's much better, believe me.
ANT - my hobby OS for x86 and ARM.


Messages In This Thread
Boot custom kernel on PineBook Pro - by lowenware - 07-05-2020, 10:24 AM
RE: Boot custom kernel on PineBook Pro - by wdt - 07-05-2020, 01:09 PM
RE: Boot custom kernel on PineBook Pro - by wdt - 07-05-2020, 01:44 PM
RE: Boot custom kernel on PineBook Pro - by z4v4l - 07-05-2020, 03:02 PM
RE: Boot custom kernel on PineBook Pro - by z4v4l - 07-06-2020, 02:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook problem meghancordo 2 4,539 03-18-2026, 08:58 AM
Last Post: RicTor
  dead Pinebook - help please RicTor 2 596 03-12-2026, 04:49 AM
Last Post: RicTor
  Pinebook Pro in EU for Sale - €90 jan_vdk 5 7,839 02-09-2026, 12:50 AM
Last Post: Anthona
Sad What to can't boot from TF card, EMMC system broken - any advice?do guys? qingss0 1 668 12-18-2025, 01:05 AM
Last Post: qingss0
  Pinebook Pro for sale rfm83 0 634 11-08-2025, 09:22 AM
Last Post: rfm83
  Pinebook pro bricked? michaelmoua 3 5,222 10-23-2025, 10:06 AM
Last Post: jceaser
  Bonk to boot biketool 2 1,133 10-21-2025, 09:08 AM
Last Post: biketool
Question Full desktop Surfing and Absolute Privacy on the pinebook? Www 1 7,196 08-02-2025, 08:55 PM
Last Post: KC9UDX
Question Printing and scanning documents with pinebook? Www 0 3,952 06-28-2025, 01:25 AM
Last Post: Www
  3 days in, slow/stuck or no boot. lgmpbp2 34 23,581 06-11-2025, 08:53 AM
Last Post: lgmpbp2

Forum Jump:


Users browsing this thread: 1 Guest(s)