[PATCH] PCM038: Added support for boot from NOR-flash
Alexander Shiyan
shc_work at mail.ru
Tue Jun 5 13:58:39 EDT 2012
Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
arch/arm/boards/pcm038/env/boot/nor | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/boards/pcm038/env/boot/nor
diff --git a/arch/arm/boards/pcm038/env/boot/nor b/arch/arm/boards/pcm038/env/boot/nor
new file mode 100644
index 0000000..5dfca6f
--- /dev/null
+++ b/arch/arm/boards/pcm038/env/boot/nor
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ "$1" = menu ]; then
+ boot-menu-add-entry "$0" "nor"
+ exit
+fi
+
+global.bootm.image="/dev/nor0.kernel"
+global.linux.bootargs.root="root=/dev/mtdblock3"
--
1.7.3.4
More information about the barebox
mailing list