Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Dagg Stompler <daggs@gmx.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/8] odroidc2: add boot.cmd for mainline uboot.
Date: Sun,  3 Dec 2017 14:56:13 +0200	[thread overview]
Message-ID: <20171203125619.30919-2-daggs@gmx.com> (raw)
In-Reply-To: <20171203125619.30919-1-daggs@gmx.com>

add support of boot.cmd for mainline uboot

Signed-off-by: Dagg Stompler <daggs@gmx.com>
---
 board/hardkernel/odroidc2/boot.cmd | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 board/hardkernel/odroidc2/boot.cmd

diff --git a/board/hardkernel/odroidc2/boot.cmd b/board/hardkernel/odroidc2/boot.cmd
new file mode 100644
index 0000000000..85a1a0a020
--- /dev/null
+++ b/board/hardkernel/odroidc2/boot.cmd
@@ -0,0 +1,10 @@
+setenv loadaddr "0x1080000"
+setenv dtb_loadaddr "0x01000000"
+setenv kernel_filename "uImage"
+setenv fdt_filename "meson-gxbb-odroidc2.dtb"
+setenv bootargs "console=ttyAML0,115200n8 earlyprintk root=/dev/mmcblk1p2 rootwait panic=10 ${extra} rw"
+
+fatload mmc 0:1 ${loadaddr} ${kernel_filename}
+fatload mmc 0:1 ${dtb_loadaddr} ${fdt_filename}
+
+bootm ${loadaddr} - ${dtb_loadaddr}
-- 
2.15.1

  reply	other threads:[~2017-12-03 12:56 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-03 12:56 [Buildroot] [PATCH 1/8] meson-tools: New Package Dagg Stompler
2017-12-03 12:56 ` Dagg Stompler [this message]
2017-12-03 12:56 ` [Buildroot] [PATCH 3/8] odroidc2: add post build script Dagg Stompler
2017-12-03 13:27   ` Thomas Petazzoni
2017-12-03 15:59     ` daggs
2017-12-03 12:56 ` [Buildroot] [PATCH 4/8] odroidc2: add mainline kernel config Dagg Stompler
2017-12-03 13:28   ` Thomas Petazzoni
2017-12-03 15:55     ` daggs
2017-12-03 17:19       ` Arnout Vandecappelle
2017-12-03 18:57         ` daggs
2017-12-03 12:56 ` [Buildroot] [PATCH 5/8] odroidc2: add mainline genimage Dagg Stompler
2017-12-03 12:56 ` [Buildroot] [PATCH 6/8] odoridc2: add mainline post image script Dagg Stompler
2017-12-03 13:31   ` Thomas Petazzoni
2017-12-03 15:54     ` daggs
2017-12-03 16:44       ` Thomas Petazzoni
2017-12-03 18:56         ` daggs
2017-12-03 12:56 ` [Buildroot] [PATCH 7/8] odoridc2: add defconfig for mainline image Dagg Stompler
2017-12-03 13:26   ` Thomas Petazzoni
2017-12-03 16:01     ` daggs
2017-12-03 12:56 ` [Buildroot] [PATCH 8/8] odroidc2: update readme file Dagg Stompler
2017-12-03 13:23 ` [Buildroot] [PATCH 1/8] meson-tools: New Package Thomas Petazzoni
2017-12-03 16:03   ` daggs
2017-12-03 19:06 ` Baruch Siach
2017-12-03 19:38   ` daggs

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=20171203125619.30919-2-daggs@gmx.com \
    --to=daggs@gmx.com \
    --cc=buildroot@busybox.net \
    /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