public inbox for sig-arm@lists.ipfire.org
 help / color / mirror / Atom feed
From: Igor Grinberg <grinberg@compulab.co.il>
To: sig-arm@lists.ipfire.org
Subject: Re: IPFire on Utilite
Date: Thu, 14 Nov 2013 17:10:27 +0200	[thread overview]
Message-ID: <5284E7E3.5040801@compulab.co.il> (raw)
In-Reply-To: <01d601cee068$77830960$66891c20$@compulab.co.il>

[-- Attachment #1: Type: text/plain, Size: 3475 bytes --]

Hi Michael,

On 11/13/13 14:04, Igor Vaisbein wrote:
> Hello Michael,
> 
> I am glad to hear that you are making progress with support for i.MX6
> devices. We already have done some work for multi-platform kernel
> support so I do believe that most things are already in place.
> 
> I am copying Igor Grinberg, our Linux team leader. He will support
> you with the necessary U-boot materials and documentation.
> 
> Looking forward to further developments.
> 
> Best Regards, Igor.
> 
> -----Original Message----- From: Michael Tremer
> [mailto:michael.tremer(a)ipfire.org] Sent: Wednesday, November 13, 2013
> 12:59 AM To: Igor Vaisbein Cc: sig-arm(a)lists.ipfire.org Subject:
> IPFire on Utilite
> 
> Hello Igor,
> 
> although this email is directed to you, I am CC'ing our Special
> Interest Group ARM mailing list for archiving purposes.
> 
> As you know, we are currently working on rebasing IPFire on Linux
> 3.10 and we are introducing a multiplatform kernel which is supposed
> to run on a lot of ARM boards including Utilite.

This is good to hear!
There is a patchm adding basic support for Utilite,
pending merge in the next merge window:

http://git.linaro.org/gitweb?p=people/shawnguo/linux-2.6.git;a=commit;h=95f7e8a387c84c3b4e07e1579daefbb61bc1096b

> 
> We made progress and solved some very hard to solve
> grsecurity-related issues in association with Brad, so that we
> currently have a kernel which boots on a Wandboard Quad - also based
> on the same Freescale SoC you are using. Some patches for supporting
> Utilite are already included, so that I have very high hopes, that
> this kernel will already boot on that hardware as well.

That would be great!

> 
> The Utilite I have got, unfortunately comes with an old version of
> u-boot, which does not support the bootz command that is required to
> easily boot a multiplatform kernel. Could you please provide the
> sources so that we can build a version of u-boot with our
> requirements? It would also be great if this is a more recent one
> (don't know if there is development going on behind closed doors).

Our U-Boot for Utilite (cm-fx6) has the bootz command supported
starting from version v2009.08-cm-fx6-0.90. The binary is attached.
Here is the update procedure for SPI flash:

1) Get the new binary into the RAM:
  TFTP commands: tftp 10800000 cm-fx6-u-boot
  MMC  commands: mmc dev 2 && mmc rescan && fatload mmc 2 10800000 cm-fx6-u-boot

2) Do not power off Utilite during the next step! Erase and program U-Boot into
   the SPI flash:
  sf probe 0:0 && sf erase 0 40000 && sf write 10800000 0 40000

3) Once the above operation has finished, reset the Utilite and the new U-Boot 
   will boot.

I've uploaded the U-Boot sources to the Utilite gitorious project:
https://gitorious.org/utilite

Have a nice hacking!

> 
> I also think I remember that Utilite will run the bootloader it can
> find on the micro SD card, if I don't confuse this with an other
> device. So that if I want to replace/test my own version of u-boot I
> don't need to flash the internal one. I cannot find the documentation
> about this matter any more and I would like to know where the u-boot
> image needs to be placed in order to be executed.

Well, the following dd command can be used for placing the U-Boot binary
onto an SD card:

  dd if=$UBOOTSRCFILE of=$SDCARDDEVFILE bs=1K seek=1 skip=1


-- 
Regards,
Igor.

[-- Attachment #2: cm-fx6-u-boot-0.90tools-mx6q-2gb --]
[-- Type: application/octet-stream, Size: 252904 bytes --]

  reply	other threads:[~2013-11-14 15:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-12 22:59 Michael Tremer
2013-11-13 12:04 ` Igor Vaisbein
2013-11-14 15:10   ` Igor Grinberg [this message]
2013-11-15 11:05     ` Michael Tremer
     [not found] <5288AEA8.8070909@compulab.co.il>
2013-11-18 11:52 ` Michael Tremer
2013-11-19 13:09   ` Igor Grinberg
2013-11-20 11:22     ` Michael Tremer

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=5284E7E3.5040801@compulab.co.il \
    --to=grinberg@compulab.co.il \
    --cc=sig-arm@lists.ipfire.org \
    /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