Mainline U-Boot with SPI, NVMe and SATA boot support
#22
(03-10-2020, 11:02 AM)hunderteins Wrote: (1) reboot from linux will not longer work. The machine just stands. Kernel 4.4

I guess you're using Rockchip's BSP 4.4 kernel (or one derived from it like Ayufan's or mrfixit2001's)? I think the Rockchip BSP u-boot (and actually more importantly their binary Trusted Firmware) is probably better matched with Rockchip BSP kernel. The 4.4 kernel is probably making some call to the Rockchip binary firmware to reboot the system, which the open-source ARM Trusted Firmware doesn't interpret properly. All I can say is I have been using this u-boot with 5.x Linux kernels and reboot (with Linux calling TF-A via PSCI to reboot) works successfully.

(03-10-2020, 11:02 AM)hunderteins Wrote: (2) is this huge (16384 sectors) offset on mmc-u_boot.itb really necessary? mmc_idbloader.img is about 148kB. Do you wanted to go for 0x80000 (1024 sectors) and got 0x800000?

I'm following Rockchip's default partition layout for SD/MMC, if you have a look at the table on that linked page, it places u-boot at 16384 sectors - it could probably go lower as I don't think the "vendor storage" and "reserved" space is used by the fully-open-source boot loader and firmware, but I wanted to stick with what was "standard" to avoid confusion.
  Reply


Messages In This Thread
RE: Mainline U-Boot with SPI, NVMe and SATA boot support - by sigmaris - 03-18-2020, 04:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  (real) Mainline U-boot finally works on SPI, boots SATA, throw away your SD cards NOW aleksei 0 12,680 06-21-2025, 06:21 AM
Last Post: aleksei
  How to use ROCKPro64 PCI-e X4 to M.2/NGFF NVMe SSD Interface Card jykeith123 1 5,299 11-26-2024, 11:08 AM
Last Post: wdt
  enble boot after power loss/restore dkebler 18 29,473 12-04-2023, 12:14 PM
Last Post: ok38
Bug Broken boot: What am I missing? mkosarek 1 4,393 09-08-2023, 08:14 AM
Last Post: wdt
  Unable to boot Armbian on new RockPro64 mooseball 5 13,493 07-14-2023, 08:59 AM
Last Post: rockjonn
  no boot white led flashing moserwi 7 13,740 05-18-2023, 10:46 AM
Last Post: wdt
  u-boot locked on pine64pro ljones 1 4,531 09-06-2022, 10:32 AM
Last Post: ljones
  Cannot get my board to boot deutschlmao 11 19,544 09-05-2022, 04:23 PM
Last Post: ljones
  U-BOOT Tutorial hazz 0 3,512 07-19-2022, 10:48 PM
Last Post: hazz
  Installation Debian on emmc: which U-Boot and where? vongillus 3 7,810 07-02-2022, 09:24 AM
Last Post: dkebler

Forum Jump:


Users browsing this thread: 2 Guest(s)