Commit graph

17 commits

Author SHA1 Message Date
mrg
55ea42f6c0 load pinebook pro SPI environment from the same location that
rockpro64 does and avoid "saveenv" saving over the top of the
u-boot installation itself.

now my pbp can boot from just SPI and NVMe.

bump pkg revision.
2022-02-12 07:44:55 +00:00
mrg
f706210973 update u-boot-rock64 to 2022.01 and tf-a 2.6.
change the u-boot-rockchip.mk to default to 2022.01 as only the
(probably) obsolete ayufan package uses anything else.
2022-02-11 23:03:50 +00:00
mrg
d895eeecf1 update u-boot-rockpro64 and u-boot-pinebook-pro to u-boot 2022.01.
tested in sd, emmc, and spi on rockpro64, and on emmc on pbp.

should not affect u-boot-rockpro64-ayufan, but should finally
make it obsolete as the SPI version works again.
2022-02-11 22:06:22 +00:00
wiz
180331b1df u-boot*: fix more pkglint 2021-08-12 07:30:21 +00:00
mrg
6f35bc3a81 update u-boot for rockpro64 and pinebook-pro to u-boot 2021.07.
- adds support for panel on pinebook-pro (needs rk_anxdp.c r1.4)
- enable ahci/sata for rockpro64
- workaround usb_stop() bug in u-boot.  see eg:
  https://patchwork.ozlabs.org/project/uboot/patch/20210406151059.1187379-1-icenowy@aosc.io/
- remove long obsolete files

tested on original iso pbp that was upgraded to ansi key, and a
first generation ansi pbp, as well as two rockpro64 v2.1s.
2021-07-26 06:36:41 +00:00
mrg
0d5481d504 minor u-boot rockchip package cleanup.
rename U_BOOT_IMAGE_TYPE to UBOOT_IMAGE_TYPE -- matching the rest of pkgsrc.
remove not used (or needed) DISTINFO_FILE and PATCHDIR.

NFC.
2021-06-25 08:28:57 +00:00
mrg
294c439217 various updates for the new pkgsrc u-boot world order.
the whole u-boot package builds with the patches and distinfos
moved into the new places.
2021-04-18 08:54:55 +00:00
mrg
24723b4467 add some distinfo files and ensure a consistent DISTINFO_FILE and
PATCHDIR are setup.

at least u-boot-pinebook and u-boot-rock*64* are fixed now.
2021-04-18 07:30:28 +00:00
tnn
2f00309f33 move u-boot-pinebook-pro/u-boot-rockchip.mk to u-boot/u-boot-rockchip.mk 2020-04-02 09:12:54 +00:00
mrg
623aa9957e properly fix reboots for rk3399 ATF, by pulling in
d52331d01e (diff-94a9f1c135591eedd6addbcc729f46fb)
and removing my hack.

switch rk3399 ATF to release builds over debug builds.

bump both u-boot-pinebook-pro & arm-trusted-firmware-rk3399.
2020-02-23 01:01:11 +00:00
mrg
40b16bcd4e fix reboot on pinebook-pro.
pull in b4899041e5
from upstream, and also force this code path to be used.

bump version of both the rk3399 ATF and the pbp u-boot, and adjust
the buildlink version to require the updated ATF.

fix MESSAGE for u-boot-pinebook-pro to not refer to rockpro64.
2020-02-22 11:55:36 +00:00
thorpej
1080e6123d Add installboot(8) configurations for Rock64, RockPro64 and Pinebook Pro. 2020-01-27 08:02:29 +00:00
jakllsch
6988eec887 include sysutils/u-boot/u-boot-arm64.mk (which includes bsd.pkg.mk) last
should ensure dependency on rk3399 ATF is registered
2020-01-23 18:26:35 +00:00
mrg
5a4eb1b06a bump pkg revision. 2020-01-14 09:01:53 +00:00
mrg
590297df09 pull in various patches for pinebook pro that:
- turn on the power led
- reduce a timeout slightly
- possibly enable usb boot (untested)
- possibly enable sd boot from emmc uboot (untested)

from Emmanuel Vadot <manu@freebsd.org> and dhivael <dhivael.git@eno.space>
and some minor massaging from myself.
2020-01-14 08:44:03 +00:00
mrg
12fa19ad8b build rksd_loader.img again, now that i found the option to make
uboot itself live at 256k from the start of the image, not 8MB
(CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x200.)

adjust MESSAGE etc to reference just this.  bump pkg revision.
2020-01-06 09:43:16 +00:00
mrg
58d54b35e7 add a u-boot for pinebook pro. it's mostly functional though reboot
is not working for me currently, and the power LED stays off until
netbsd boots still.

this is based upon u-boot 2020.01-rc5 with patches from:

https://patchwork.ozlabs.org/project/uboot/list/?series=142716

which add specific pinebook pro support.  (these sources are known
to have a working reboot, but not from a build i've made.)
2020-01-06 08:41:44 +00:00