mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
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>
This commit is contained in:
parent
212da4dd48
commit
f789454df1
1
.github/labeler.yml
vendored
1
.github/labeler.yml
vendored
@ -30,6 +30,7 @@
|
|||||||
- "package/boot/arm-trusted-firmware-bcm63xx/**"
|
- "package/boot/arm-trusted-firmware-bcm63xx/**"
|
||||||
"target/bmips":
|
"target/bmips":
|
||||||
- "target/linux/bmips/**"
|
- "target/linux/bmips/**"
|
||||||
|
- "package/boot/uboot-bmips/**"
|
||||||
"target/d1":
|
"target/d1":
|
||||||
- "target/linux/d1/**"
|
- "target/linux/d1/**"
|
||||||
- "package/boot/uboot-d1/**"
|
- "package/boot/uboot-d1/**"
|
||||||
|
32
package/boot/uboot-bmips/Makefile
Normal file
32
package/boot/uboot-bmips/Makefile
Normal file
@ -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))
|
Loading…
Reference in New Issue
Block a user