mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: John Parker <John.Parker@lucyautomation.co.uk>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: RE: FW: Barebox on Karo TX25
Date: Wed, 27 Nov 2013 15:49:49 +0000	[thread overview]
Message-ID: <EAF1F21DA385DA4797F21C5DCAEF6BAC467D346765@AUTOSERVER1.auto.local> (raw)
In-Reply-To: <20131127130236.GX24559@pengutronix.de>

Hi

I have a barebox prompt running from RAM!!

What next?

Regards

John

-----Original Message-----
From: Sascha Hauer [mailto:s.hauer@pengutronix.de] 
Sent: 27 November 2013 13:03
To: John Parker
Cc: barebox@lists.infradead.org
Subject: Re: FW: Barebox on Karo TX25

Hi John,

On Wed, Nov 27, 2013 at 11:28:42AM +0000, John Parker wrote:
> Hi all
> 
> I've spent a day trying to get barebox onto a Karo TX25. I've trawled the lists and documentation but seem to be missing something fundamental.
> 
> I need to replace Redboot with barebox and I know that barebox will need 512k (256k + 2 more blocks for env) rather than the 256k partition that Redboot has.
> 
> Redboot is version "Ka-Ro 2009-06-10" as supplied with the TX25.
> 
> The problem is that when I try to delete and recreate the Redboot partition, Redboot says no becays it is reserved, even though I'm running in ROMRAM mode.
> 
> I know the tx25 is a supported configuration because there is a defconfig for it.
> 
> Is it documented anywhere exactly how to replace redboot with barebox?
> 
> What magic am I missing?

redboot is still a mystery to me and I try to avoid it. Let's try with USB boot instead which has the advantage that you can erase your NAND without risking to brick your board.

Please apply the two patches I just sent as answer to your mail. You can
then:

- make tx25stk5_defconfig
- make menuconfig, enable CONFIG_ARCH_IMX_USBLOADER
- make
- generate a imx-image:
  scripts/imx/imx-image -c \
	arch/arm/boards/karo-tx25/flash-header-tx25.imxcfg -f \
	barebox-flash-image -o barebox.imx
- bring your board into USB boot mode (the baseboard should have a
  jumper to do this)
- connect to a host with a mini USB cable. 'lsusb' should show:
  Bus 001 Device 014: ID 15a2:003a Freescale Semiconductor, Inc.
- do: ./scripts/imx/imx-usb-loader barebox.imx

barebox should show up on the serial port.

Next step would be to write barebox to nand, but we can talk about this once you've got barebox running.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2013-11-27 15:50 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-27 11:28 John Parker
2013-11-27 12:56 ` [PATCH 1/2] ARM: imx: karo tx25: Add config file for imx-image Sascha Hauer
2013-11-27 12:56   ` [PATCH 2/2] scripts: imx-image: Add i.MX25 support Sascha Hauer
2013-11-27 14:49   ` [PATCH 1/2] ARM: imx: karo tx25: Add config file for imx-image John Parker
2013-11-27 13:02 ` FW: Barebox on Karo TX25 Sascha Hauer
2013-11-27 13:18   ` John Parker
2013-11-27 15:49   ` John Parker [this message]
2013-11-27 21:01     ` Sascha Hauer
2013-11-28 16:13       ` John Parker
2013-11-28 16:22         ` Baruch Siach
2013-11-29  8:16           ` John Parker
2013-11-29  9:46             ` Sascha Hauer
2013-11-29 10:27               ` John Parker
2013-11-29 10:41               ` John Parker
2013-12-02  9:13               ` John Parker
2013-12-03  9:26                 ` Sascha Hauer
2013-12-03 19:01                   ` Jean-Christophe PLAGNIOL-VILLARD
2013-12-05 15:24                     ` Sascha Hauer
2013-12-05 16:48                       ` Jean-Christophe PLAGNIOL-VILLARD
2013-12-19 14:14                       ` John Parker
2013-11-27 19:45   ` John Parker
2013-11-27 20:15     ` Eric Bénard
2013-11-27 20:54       ` Sascha Hauer
2013-11-28  4:16         ` Alexander Aring
2013-11-28  7:20           ` Sascha Hauer
2013-11-28  7:37             ` Alexander Aring

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=EAF1F21DA385DA4797F21C5DCAEF6BAC467D346765@AUTOSERVER1.auto.local \
    --to=john.parker@lucyautomation.co.uk \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /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