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
  boot hdd usb3 philipe 1 659 01-27-2021, 02:12 PM
Last Post: tllim
  Sent support order status , no responses RockPro64Newbie 3 1,999 01-19-2021, 12:09 PM
Last Post: mathygreen
  Libreelec Rock64 - 4GB no boot spiker15 3 1,535 11-02-2020, 12:36 AM
Last Post: wilsonYan
  Rock64 - boot helpmerock 2 1,267 10-08-2020, 01:29 PM
Last Post: helpmerock
  No boot up after power on Whoopsadaisy 4 2,263 09-26-2020, 05:14 PM
Last Post: simonsouth
Sad No boot, garbage console text and blinking red light ... jean_bruder 2 1,504 07-19-2020, 08:37 AM
Last Post: jean_bruder
  Graphical boot manager john3voltas 0 741 03-25-2020, 02:27 PM
Last Post: john3voltas
  doesn't boot, no video cjyar 7 2,892 11-15-2019, 03:45 PM
Last Post: ab1jx
  Unable to boot from SPI stevefan1999 4 2,573 05-01-2019, 04:47 PM
Last Post: rhens1
  No Boot, Red Green and White flash at 1 sec intervals wesleykonrad 2 1,724 01-28-2019, 11:54 PM
Last Post: wesleykonrad

Forum Jump:


Users browsing this thread: 1 Guest(s)