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
Question Pinebook pro dead / keyboard issue? / Troubleshooting Mengalef 1 81 11-25-2024, 08:32 AM
Last Post: Mengalef
  Cant boot into an OS trashtendenz 3 690 10-23-2024, 03:49 AM
Last Post: chaylengordon
  Testing Some More Games on the Pinebook Pro! ImmyChan 5 3,747 09-24-2024, 01:43 AM
Last Post: pigkang
  3 days in, slow/stuck or no boot. lgmpbp2 30 3,771 09-05-2024, 08:49 AM
Last Post: lgmpbp2
  Unable to boot? YossiS 4 397 09-04-2024, 10:35 AM
Last Post: wdt
  Converting the Pinebook Pro into a CrowView Note like device 8jef 0 279 08-18-2024, 05:42 PM
Last Post: 8jef
  upgrading u-boot--what version? where to get it? bsammon 11 2,735 05-22-2024, 09:33 AM
Last Post: wdt
  Pinebook Pro Initial Impressions kunger 443 671,773 04-16-2024, 07:29 PM
Last Post: KC9UDX
  looking to buy one pinebook pro (mainland China) duanduan 3 3,114 03-21-2024, 07:44 PM
Last Post: wangyukunshan
  Cellular module for Pinebook Pro Lotech 1 964 03-05-2024, 05:40 AM
Last Post: KC9UDX

Forum Jump:


Users browsing this thread: 1 Guest(s)