diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2024-01-19 21:45:15 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2024-05-01 21:30:32 +0200 |
commit | f789454df1146aa426d6cc28fc61b005ecfb82c3 (patch) | |
tree | ce103a156994c5b23d2bb380499717b13d60d503 /package/boot/uboot-bmips/Makefile | |
parent | 212da4dd480604a7722dc12b886d9e5d978adb24 (diff) |
uboot-bmips: Add U-Boot for the BMIPS target
This is needed to boot the BCM6238-based Inteno XG6846.
Currently this is restricted to the XG6846 board.
Reviewed-by: Paul Donald <newtwen+github@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'package/boot/uboot-bmips/Makefile')
-rw-r--r-- | package/boot/uboot-bmips/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/package/boot/uboot-bmips/Makefile b/package/boot/uboot-bmips/Makefile new file mode 100644 index 0000000000..5581a6fbfc --- /dev/null +++ b/package/boot/uboot-bmips/Makefile @@ -0,0 +1,32 @@ +include $(TOPDIR)/rules.mk + +PKG_VERSION:=2024.04 +PKG_HASH:=18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a +PKG_RELEASE:=$(AUTORELEASE) + +include $(INCLUDE_DIR)/u-boot.mk +include $(INCLUDE_DIR)/package.mk + +define U-Boot/Default + BUILD_TARGET:=bmips + BUILD_SUBTARGET:=bcm6328 + UBOOT_CONFIG:=inteno_xg6846_ram + UBOOT_BOARD:=$(1) +endef + +define U-Boot/xg6846 + NAME:=Inteno XG6846 + BUILD_DEVICES:=inteno_xg6846 +endef + +UBOOT_TARGETS := xg6846 + +define Build/InstallDev + $(INSTALL_DIR) $(STAGING_DIR_IMAGE) + $(CP) $(PKG_BUILD_DIR)/$(UBOOT_IMAGE) $(STAGING_DIR_IMAGE)/$(BUILD_DEVICES)-u-boot.bin +endef + +define Package/u-boot/install/default +endef + +$(eval $(call BuildPackage/U-Boot)) |