Changes to be committed:
modified: config/boards/aml-s9xx-box.tvb
modified: packages/bsp/aml-s9xx-box/boot/extlinux/extlinux.conf.template
The aml-s9xx-box builds use the native TV Box u-boot. I've had as a
todo item to figure out how to not build and include an unused u-boot.
In a recent PR for a different board the opposite was being done
(adding a u-boot where a board didn't previously ship one), thus
I then had the info to remove it here.
This also changes the generated extlinux.conf to include a fdt line
by adding the boot_fdt_file to the board config file. This reduces
the effort needed to manually modify the extlinux.conf.
- in practice:
- boards that didn't specify their own blobs: bump DDR 1.08->1.16 ; BL31 1.28 -> 1.45 (example: rock-5b!)
- boards that specified 1.16/1.45 individually now follow the defaults (no change)
- boards that specified a different version: no change; just a TODO suggesting review/removal/go-with-the-defaults
- Mekotronics boards: bump from 1.11/1.38 to defaults (1.16 / 1.45)
Changes to be committed:
modified: aml-s9xx-box.tvb
PR #6659 broke upgrades for the aml-s9xx-box package. That PR introduced
two new files in /boot which is a fat filesystem on this box. The
standard package upgrade fails on a fat filesystem when files already
exist. PR #6659 failed to add the files to the remove list. This
PR does that.
- add `pre_config_uboot_target` hook for switching BOOTCONFIG across the two targets
- adapt `UBOOT_TARGET_MAP` to not call the defconfig Makefile targets directly, instead, just do a variable assignment (ignored by Make)
- otherwise, when using the defconfig directly in the `UBOOT_TARGET_MAP`, the `post_config_uboot_target` .config changes are overwritten when Make is called
- only patch left is boot usb-nvme-scsi/sata first (still done in meson64.h)
- remove FIP handling from family file `meson-sm1.conf` into board file hook where it belongs
- u-boot: enable more compression methods, EFI debugging, i2c, leds, tcp networking
- use flashcp for mtd writing
- Unchanged:
- confirmed as of v2024.04: using the C4 (not HC4) defconfig is still needed to be able to write to mtd when booted from SD
- also confirmed: one still needs to erase Petitboot using Petitboot, then boot from SD, to be able to flash mainline u-boot to mtd
- exclusive for edge / Kwiboo:
- enable UMS / RockUSB and other gadget stuff
- enable TCP networking features, wget etc
- enable EFI debugging stuff
- store environment in SPI
- uses preboot to flash led briefly
- this code pattern is becoming copypasta fast and needs refactor before it spreads too much
- also for all branches (legacy/vendor/edge):
- nanopct6: updated blobs to DDR v1.16 and BL31 v1.45
- we've had kernel patches/DT (from chewitt) for this in meson64 for a long time, but I never sent the board
- uses blobs for the `tartiflette-s912` which is also an DDR3 S912 (VIM2's blobs are DDR4 and won't boot)
- this adds `u-boot 2024.04` support, using chewitt's DT & `000.patching_config.yaml` & a specific BOOTPATCHDIR
- this is a full board as-if it was an SBC, and expects to boot from mainline u-boot;
- for that to work you've to wipe the eMMC and get rid of the vendor-supplied u-boot
- if this is not what you want/need, you can use the aml tvbox "board" instead, together with Android u-boot