From: Rostislav Lisovy <lisovy@gmail.com>
To: barebox@lists.infradead.org
Cc: Rostislav Lisovy <lisovy@gmail.com>, pisa@cmp.felk.cvut.cz
Subject: [PATCH 3/4] i.mx53: voipac: Add barebox environment configuration file
Date: Tue, 1 Oct 2013 23:35:21 +0200 [thread overview]
Message-ID: <1380663322-25733-4-git-send-email-lisovy@gmail.com> (raw)
In-Reply-To: <1380663322-25733-1-git-send-email-lisovy@gmail.com>
Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
---
create mode 100644 arch/arm/boards/freescale-mx53-voipac/env/config
diff --git a/arch/arm/boards/freescale-mx53-voipac/env/config b/arch/arm/boards/freescale-mx53-voipac/env/config
new file mode 100644
index 0000000..59432d7
--- /dev/null
+++ b/arch/arm/boards/freescale-mx53-voipac/env/config
@@ -0,0 +1,46 @@
+#!/bin/sh
+
+global.hostname=imx53-voipac
+eth0.serverip=
+user=
+
+# use 'dhcp' to do dhcp in barebox and in kernel
+# use 'none' if you want to skip kernel ip autoconfiguration
+ip=dhcp
+
+# or set your networking parameters here
+#eth0.ipaddr=a.b.c.d
+#eth0.netmask=a.b.c.d
+#eth0.gateway=a.b.c.d
+#eth0.serverip=a.b.c.d
+
+# can be either 'nfs', 'tftp', 'nor' or 'nand'
+kernel_loc=tftp
+# can be either 'net', 'nor', 'nand' or 'initrd'
+rootfs_loc=net
+
+# can be either 'jffs2' or 'ubifs'
+rootfs_type=ubifs
+rootfsimage=root-${global.hostname}.$rootfs_type
+
+kernelimage=zImage-${global.hostname}
+#kernelimage=uImage-${global.hostname}
+#kernelimage=Image-${global.hostname}
+#kernelimage=Image-${global.hostname}.lzo
+
+if [ -n $user ]; then
+ kernelimage="$user"-"$kernelimage"
+ nfsroot="$eth0.serverip:/home/$user/nfsroot/${global.hostname}"
+ rootfsimage="$user"-"$rootfsimage"
+else
+ nfsroot="$eth0.serverip:/path/to/nfs/root"
+fi
+
+autoboot_timeout=3
+
+bootargs="console=ttymxc0,115200"
+
+disk_parts="256k(barebox)ro,128k(bareboxenv),4M(kernel),-(root)"
+
+# set a fancy prompt (if support is compiled in)
+PS1="\e[1;32mbarebox@\e[1;31m\h:\w\e[0m "
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2013-10-01 21:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-01 21:35 [PATCH 0/4] Add support for Voipac X53-DMM-668 module Rostislav Lisovy
2013-10-01 21:35 ` [PATCH 1/4] i.mx53: voipac: Change machine type identifier Rostislav Lisovy
2013-10-02 4:31 ` Jean-Christophe PLAGNIOL-VILLARD
2013-10-02 7:22 ` Sascha Hauer
2013-10-02 13:57 ` Rostislav Lisovy
2013-10-01 21:35 ` [PATCH 2/4] i.mx53: voipac: Add board specific + flash header constructing code Rostislav Lisovy
2013-10-02 4:30 ` Jean-Christophe PLAGNIOL-VILLARD
2013-10-02 6:15 ` Antony Pavlov
2013-10-02 14:01 ` Rostislav Lisovy
2013-10-01 21:35 ` Rostislav Lisovy [this message]
2013-10-01 21:35 ` [PATCH 4/4] i.mx53: voipac: Modify Make- and config-files to enable building of mx53-voipac Rostislav Lisovy
2013-10-02 4:31 ` [PATCH 0/4] Add support for Voipac X53-DMM-668 module Jean-Christophe PLAGNIOL-VILLARD
2013-10-02 4:54 ` Jean-Christophe PLAGNIOL-VILLARD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1380663322-25733-4-git-send-email-lisovy@gmail.com \
--to=lisovy@gmail.com \
--cc=barebox@lists.infradead.org \
--cc=pisa@cmp.felk.cvut.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox