summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorMartin Thomas <mthomas@hamtam.de>2015-07-26 00:40:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-07-26 14:10:05 +0200
commit340af0c1c0301e53a0a9956b238794694eaa8468 (patch)
tree73446df602c418cc9ad8b50c4f8436f3057030fc /package
parent84d15bd6abbd5401793f32a4ff4343318b989cc6 (diff)
u-boot for BananaPro pls. check target/arm/kernel/banana-pro if CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_8250_SUNXI=y make sense together
Signed-off-by: Martin Thomas <mthomas@hamtam.de>
Diffstat (limited to 'package')
-rw-r--r--package/u-boot-git/Makefile4
-rw-r--r--package/u-boot-git/files/boot.script.bpi5
2 files changed, 8 insertions, 1 deletions
diff --git a/package/u-boot-git/Makefile b/package/u-boot-git/Makefile
index c2fb1d8f1..32ea30991 100644
--- a/package/u-boot-git/Makefile
+++ b/package/u-boot-git/Makefile
@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= u-boot-git
PKG_VERSION:= 3bfe3ce2a6e3b04da1d04dbc0520dcc26e17f98a
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_DESCR:= portable bootloader
PKG_SECTION:= base/boot
HOST_BUILDDEP:= openssl-host device-tree-compiler-host
@@ -67,6 +67,7 @@ do-build:
u-boot-git-install:
$(CP) $(WRKBUILD)/$(UBOOT) $(FW_DIR)
$(INSTALL_DIR) $(IDIR_U_BOOT_GIT)/etc
+ #$(INSTALL_DIR) $(IDIR_U_BOOT_GIT)/boot
$(CP) ./files/fw_env.config $(IDIR_U_BOOT_GIT)/etc
$(INSTALL_DIR) $(IDIR_U_BOOT_GIT)/usr/bin
#$(INSTALL_BIN) $(WRKBUILD)/tools/env/fw_printenv \
@@ -74,6 +75,7 @@ u-boot-git-install:
#(cd $(IDIR_U_BOOT_GIT)/usr/bin && ln -sf fw_printenv fw_setenv)
#$(INSTALL_BIN) ./files/uboot_print_env $(IDIR_U_BOOT_GIT)/usr/bin
#$(INSTALL_BIN) ./files/uboot_set_env $(IDIR_U_BOOT_GIT)/usr/bin
+ $(INSTALL_BIN) ./files/boot.script.bpi $(FW_DIR)
include $(ADK_TOPDIR)/mk/host-bottom.mk
include $(ADK_TOPDIR)/mk/pkg-bottom.mk
diff --git a/package/u-boot-git/files/boot.script.bpi b/package/u-boot-git/files/boot.script.bpi
new file mode 100644
index 000000000..e18e1b334
--- /dev/null
+++ b/package/u-boot-git/files/boot.script.bpi
@@ -0,0 +1,5 @@
+setenv bootargs 'console=ttyS0 root=/dev/mmcblk0p1'
+ext4load mmc 0 0x43000000 boot/kernel
+ext4load mmc 0 0x48000000 boot/sun7i-a20-bananapro.dtb
+printenv
+bootz 0x43000000 - 0x48000000 \ No newline at end of file