u-boot (forks) status
#9
Unfortunately I could not get even a basic boot.scr to work with mainline u-boot (the recent 2020.04 release). Does anyone have any tips for debugging or known-working images (idbloader.img and u-boot.itb) that I can use as reference?

Here is the boot.cmd I am using:

```
setenv blink_power 'led power off; sleep 0.1; led power on'
while true; do run blink_power; sleep 1; done
```

I am building the script image with:

```
mkimage -C none -A arm -T script -d boot.cmd boot.scr
```

The ATF/u-boot build recipes are here: https://github.com/void-linux/void-packages/pull/21198

My sfdisk config is:

```
label: gpt
unit: sectors
first-lba: 64

/dev/mmcblk1p1 : start= 64, size= 16320, type=8DA63339-0007-60C0-C436-083AC8230908, name="IDBLoader", attrs="RequiredPartition"
/dev/mmcblk1p2 : start= 16384, size= 8192, type=8DA63339-0007-60C0-C436-083AC8230908, name="U-Boot", attrs="RequiredPartition"
/dev/mmcblk1p3 : start= 24576, size= 8192, type=8DA63339-0007-60C0-C436-083AC8230908, name="TrustedFirmware-A", attrs="RequiredPartition"
/dev/mmcblk1p4 : start= 32768, size= 229376, type=L, name="BootFS", bootable, attrs="LegacyBIOSBootable"
/dev/mmcblk1p6 : start= 262144, type=L, name="RootFS"
```

I then flash the images to the first two partitions, make a 32 bit FAT filesystem on the bootfs, mount it, and copy the boot.scr into the bootfs.


Messages In This Thread
u-boot (forks) status - by mcerveny - 07-21-2018, 06:51 PM
RE: u-boot (forks) status - by asavah - 07-28-2018, 12:28 PM
RE: u-boot (forks) status - by mcerveny - 07-28-2018, 02:05 PM
RE: u-boot (forks) status - by asavah - 07-28-2018, 02:58 PM
RE: u-boot (forks) status - by ayufan - 07-30-2018, 03:54 PM
RE: u-boot (forks) status - by simonsouth - 10-14-2019, 09:55 AM
RE: u-boot (forks) status - by globaltree - 08-27-2020, 01:44 PM
RE: u-boot (forks) status - by ayufan - 10-14-2019, 12:50 PM
RE: u-boot (forks) status - by kuleszdl - 03-21-2020, 03:21 PM
RE: u-boot (forks) status - by CameronNemo - 05-11-2020, 01:23 PM
RE: u-boot (forks) status - by XmAz - 06-19-2020, 03:37 PM
RE: u-boot (forks) status - by XmAz - 06-19-2020, 03:40 PM
RE: u-boot (forks) status - by CameronNemo - 08-08-2020, 12:05 PM
RE: u-boot (forks) status - by tophneal - 08-08-2020, 01:50 PM
RE: u-boot (forks) status - by CameronNemo - 08-08-2020, 03:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 won't boot luminosity7 10 6,012 03-16-2024, 08:33 AM
Last Post: dmitrymyadzelets
  Rock64 doesn't boot dstallmo 1 741 03-16-2024, 08:29 AM
Last Post: dmitrymyadzelets
  Boot from SPI first mjnck 1 1,930 02-29-2024, 02:12 PM
Last Post: reukiodo
  ROCK64 v3 can it boot from USB? Tsagualsa 4 2,963 11-29-2022, 11:31 AM
Last Post: Macgyver
  Rock64 u-boot for eMMC Build Error mexicanflyer 0 1,395 09-18-2022, 02:29 PM
Last Post: mexicanflyer
  boot hdd usb3 philipe 1 3,054 01-27-2021, 02:12 PM
Last Post: tllim
  Sent support order status , no responses RockPro64Newbie 3 6,727 01-19-2021, 12:09 PM
Last Post: mathygreen
  Libreelec Rock64 - 4GB no boot spiker15 3 5,281 11-02-2020, 12:36 AM
Last Post: wilsonYan
  Rock64 - boot helpmerock 2 4,010 10-08-2020, 01:29 PM
Last Post: helpmerock
  No boot up after power on Whoopsadaisy 4 6,374 09-26-2020, 05:14 PM
Last Post: simonsouth

Forum Jump:


Users browsing this thread: 9 Guest(s)