Skip to content

Commit

Permalink
- Added rpi4 firmware conifg to platform.mk
Browse files Browse the repository at this point in the history
- Updated neneco submodule
  • Loading branch information
xX7 committed Feb 8, 2023
1 parent 129ba5a commit e616b36
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions configs/firmware_config_rpi4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
enable_uart=1
arm_64bit=1
enable_gic=1
armstub=bl31.bin
kernel=u-boot.bin
6 changes: 5 additions & 1 deletion platform.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
firmware_repo:=https://github.com/raspberrypi/firmware.git
firmware_version:=1.20210201
firmware_images:=$(curPath)/firmware-rpi
firmware_config:=$(imgPath)/config.txt

atf_src:=$(srcPath)/arm-trusted-firmware
atf_dest_image:=$(imgPath)/bl31.bin
Expand All @@ -25,9 +26,12 @@ u-boot $(uboot_dest_image): $(uboot_src)
$(firmware_images):
git clone --depth 1 --branch $(firmware_version) $(firmware_repo) $(firmware_images)

$(firmware_config):
cp $(confPath)/firmware_config_rpi4.txt $(firmware_config)

#instuctions:=$(bao_demos)/platforms/$(PLATFORM)/README.md

platform: $(uboot_dest_image) $(atf_dest_image) $(firmware_images)
platform: $(uboot_dest_image) $(atf_dest_image) $(firmware_images) $(firmware_config)
# $(call print-instructions, $(instuctions), 1, false)
# $(call print-instructions, $(instuctions), 2, false)
# $(call print-instructions, $(instuctions), 3, true)
2 changes: 1 addition & 1 deletion src/freertos-neneco-hartstone

0 comments on commit e616b36

Please sign in to comment.