Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3] configs/olimex_imx233_olinuxino: switch to u-boot
Date: Sun, 06 Mar 2016 21:12:51 +0100	[thread overview]
Message-ID: <87pov75prw.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1456598432-4783-1-git-send-email-phil@zankapfel.net> (Phil Eichinger's message of "Sat, 27 Feb 2016 19:40:32 +0100")

>>>>> "Phil" == Phil Eichinger <phil.eichinger@gmail.com> writes:

 > mxs-bootlets broke somewhere in between toolchain version bumps.
 > Directly boot u-boot, as this is supported now, but it requires updated
 > partitioning (see readme.txt)

 > Drop mxs-bootlets patches, they aren't needed anymore.

 > Kernel is built as an uImage because the u-boot defconfig expects an
 > uImage on the second partition.

 > Tested on iMX233-OLinuXino-MINI hardware.

 > Signed-off-by: Phil Eichinger <phil@zankapfel.net>
 > ---
 > Changes v3 -> v2:
 >  - Explain why an uImage is used
 >  - Add tested on which hardware
 >  - Set u-boot version to 2006.01
 >   (suggested by Thomas Petazzoni)

Committed with the changes suggested by Arnout, thanks.


 >  You'll need a spare MicroSD card with Freescale's special partition layout.
 > -This is basically two partitions:
 > +This is basically three partitions:
 
 > -1) Type 53, the bootstrap + bootloader/kernel partition, should be 16MB.
 > -2) Anything you like, for this example an ext2 partition, type 83 (linux).
 > +1) Type 53, the u-boot partition, should be 16MB.
 > +2) VFAT, place Kernel as uImage there
 > +3) Anything you like, for this example an ext2 partition, type 83 (linux).
 
 >  Assuming you see your MicroSD card as /dev/sdc you'd need to do, as root
 >  and from the buildroot project top level directory:

This seems like a good fit for genimage. Can you verify that you are
able to boot from a complete sdcard image generated with genimage and
then send a patch to create it in a post-image script?

See E.G. board/orangepi/orangepipc for an example, thanks!

-- 
Bye, Peter Korsgaard

  parent reply	other threads:[~2016-03-06 20:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-21 17:24 [Buildroot] [PATCH 1/1] configs/olimex_imx233_olinuxino: switch to u-boot Phil Eichinger
2016-02-21 18:32 ` Baruch Siach
2016-02-22  6:27 ` [Buildroot] [PATCH v2] " Phil Eichinger
2016-02-22 22:49   ` Thomas Petazzoni
2016-02-22 23:24     ` Phil Eichinger
2016-02-23  9:12       ` Thomas Petazzoni
2016-02-27 18:40 ` [Buildroot] [PATCH v3] " Phil Eichinger
2016-02-27 20:58   ` Arnout Vandecappelle
2016-03-06 20:12   ` Peter Korsgaard [this message]
2016-03-07  7:42     ` Phil Eichinger
2016-03-07  8:52       ` Peter Korsgaard

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=87pov75prw.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.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