https://wiki.linaro.org/Boards/MX53QuickStart
Sorry guys, although been pushed and pinged several times by various people we are finally able to come up with a preliminary starting page for i.MX53 QuickStart board. It's currently very simple, and hopefully we'll get it more detailed in the future.
Feedback is welcome!
Thanks - eric
On Tue, Aug 30, 2011 at 03:41:34PM +0800, Eric Miao wrote:
https://wiki.linaro.org/Boards/MX53QuickStart
Sorry guys, although been pushed and pinged several times by various people we are finally able to come up with a preliminary starting page for i.MX53 QuickStart board. It's currently very simple, and hopefully we'll get it more detailed in the future.
Feedback is welcome!
Oh, this is excellent. Thanks for putting the effort into the write-up. All I need now is an actual board to tell you how well it works ;-)
I had one comment, which is that the "Downloading Hardware Pack" section seems to only specify the "lt" variant; does it make sense to also point to the pure upstream variant for comparison (or for people that are hell-bent on an upstreamable kernel?)
Also, there is nothing mentioned in the text about the bootloader (what comes on the board, and what the default boot media ordering is, and how to replace it). Is that not worth mentioning?
Until this patchset:
http://thread.gmane.org/gmane.linux.ports.arm.kernel/129800
mx51 and mx53 could not be compiled into kernel together so our upstream only mx hwpack is mx51 only
We will be able to change that now with these patches.
--john
On Fri, Sep 2, 2011 at 12:31 PM, Christian Robottom Reis kiko@linaro.org wrote:
On Tue, Aug 30, 2011 at 03:41:34PM +0800, Eric Miao wrote:
https://wiki.linaro.org/Boards/MX53QuickStart
Sorry guys, although been pushed and pinged several times by various people we are finally able to come up with a preliminary starting page for i.MX53 QuickStart board. It's currently very simple, and hopefully we'll get it more detailed in the future.
Feedback is welcome!
Oh, this is excellent. Thanks for putting the effort into the write-up. All I need now is an actual board to tell you how well it works ;-)
I had one comment, which is that the "Downloading Hardware Pack" section seems to only specify the "lt" variant; does it make sense to also point to the pure upstream variant for comparison (or for people that are hell-bent on an upstreamable kernel?)
The current linux-linaro still has the
W dniu 02.09.2011 20:31, Christian Robottom Reis pisze:
On Tue, Aug 30, 2011 at 03:41:34PM +0800, Eric Miao wrote:
https://wiki.linaro.org/Boards/MX53QuickStart
Sorry guys, although been pushed and pinged several times by various people we are finally able to come up with a preliminary starting page for i.MX53 QuickStart board. It's currently very simple, and hopefully we'll get it more detailed in the future.
Feedback is welcome!
Oh, this is excellent. Thanks for putting the effort into the write-up. All I need now is an actual board to tell you how well it works ;-)
I had one comment, which is that the "Downloading Hardware Pack" section seems to only specify the "lt" variant; does it make sense to also point to the pure upstream variant for comparison (or for people that are hell-bent on an upstreamable kernel?)
Also, there is nothing mentioned in the text about the bootloader (what comes on the board, and what the default boot media ordering is, and how to replace it). Is that not worth mentioning?
I read all about how to boot that board. I'm working on booting via USB. I think the best way to proceed is to link to the official board documentation (a hefty PDF) with page/paragraph references.
BTW: if anyone is interested in helping me out, have some work-in-progress code at lp:~zkrynicki/+junk/lava-imx53-serial-boot (serial as in "serial download mode offered by the boot-rom", not "serial cable").
I'm interested in looking at payloads that can be injected. The complicated part is that unlike my initial assumption (hey, just put the bootloader at some correct address and go) one may to put three kinds of "payload". It seems one is the bootloader, one ... and I'm just guessing here... determines how to initialize DRAM and other peripherals and the third one is anyone's guess.
I read about this more on freescale developer forum and it seems that the freescale documentation is a cut-down version of the NDA-required document that also describes secure boot.
If anyone can help me sign the NDA to give Linaro (and LAVA) solid USB boot support for iMX53 (hey, we could test bootloaders this way) feel free to email me in private.
Thanks ZK
PS: I'll find the PDF on my disk, figure out where I got it from and update the wiki.
On Fri, Sep 2, 2011 at 11:15 PM, Zygmunt Krynicki < zygmunt.krynicki@linaro.org> wrote:
I read all about how to boot that board. I'm working on booting via USB. I
think the best way to proceed is to link to the official board documentation (a hefty PDF) with page/paragraph references.
The document I was referring to is: IMX53RM.pdf from: http://cache.freescale.com/files/32bit/doc/ref_manual/iMX53RM.pdf
The interesting parts are:
Section 7.2.1: Boot Mode Pin Settings Section 7.6.2: Device Configuration Data (DCD) Section 7.8.3: Serial download protocol
Best regards ZK
On Fri, Sep 2, 2011 at 6:15 PM, Zygmunt Krynicki zygmunt.krynicki@linaro.org wrote: ...
I read all about how to boot that board. I'm working on booting via USB. I
Can you explain what you mean by "booting via USB"?
You can use USB to enter in bootstrap mode, so that you can program a binary into some media, like SD card for example.
You can´t boot via a USB pen drive for example. MX53 allows you to boot from: NOR, NAND, MMC, PATA, SATA, EEPROM.
On the MX53QuickStart board the microSD slot is the default boot media type.
Regards,
Fabio Estevam
W dniu 03.09.2011 09:57:36, nadawca Fabio Estevam festevam@gmail.com,Christian Robottom Reis kiko@linaro.org, Linaro Dev linaro-dev@lists.linaro.org, Eric Miao napisał:
On Fri, Sep 2, 2011 at 6:15 PM, Zygmunt Krynicki zygmunt.krynicki@linaro.org wrote: ...
I read all about how to boot that board. I'm working on booting
via USB. I Can you explain what you mean by "booting via USB"?
iMX53 can use the micro USB port to boot. You have to make the CPU enter serial download mode which polls 5 UARTs and the micro USB port. This is described in IMX53RM.pdf,
You can use USB to enter in bootstrap mode, so that you can program a binary into some media, like SD card for example.
Is that what I refer to as serial downloader?
You can´t boot via a USB pen drive for example. MX53 allows you to boot from: NOR, NAND, MMC, PATA, SATA, EEPROM.
You are correct, my description was vague.
Thanks Zygmunt Krynicki
Hi Zygmunt,
Le 02/09/2011 23:15, Zygmunt Krynicki a écrit :
BTW: if anyone is interested in helping me out, have some work-in-progress code at lp:~zkrynicki/+junk/lava-imx53-serial-boot (serial as in "serial download mode offered by the boot-rom", not "serial cable").
here is a quick and dirty program which works in uart boot mode on i.MX25/35/51 (and should work on the i.MX53) and the corresponding configuration files for these 3 targets : it performs minimal CPU/memory initialization and upload a bootloader in RAM which allows recovery.
For the i.MX53 init file, you can find a starting working base here : http://download.ronetix.info/peedi/cfg_examples/cortex-a8/mx53.cfg
Eric
W dniu 03.09.2011 10:05:59, nadawca Eric Bénard eric@eukrea.com,Lists Linaro-dev linaro-dev@lists.linaro.org, Eric Miao eric.miao@linaro.org, Christian Robottom Reis napisał:
Hi Zygmunt, Le 02/09/2011 23:15, Zygmunt Krynicki a écrit :
BTW: if anyone is interested in helping me out, have some
work-in-progress
code at lp:~zkrynicki/+junk/lava-imx53-serial-boot (serial as
in "serial
download mode offered by the boot-rom", not "serial cable").
here is a quick and dirty program which works in uart boot mode on i.MX25/35/51 (and should work on the i.MX53) and the corresponding configuration files for these 3 targets : it performs minimal CPU/memory initialization and upload a bootloader in RAM which allows recovery. For the i.MX53 init file, you can find a starting working base here : http://download.ronetix.info/peedi/cfg_examples/cortex-a8/mx53.cfg Eric
Thanks for all of that. I'll use it to check for basic activity (that it works on my board) and then use it to finish my script. I wanted to use USB because it allows for 0-end-user activity device provisioning. Unlike pure serial USB allows for device discovery. With a few udev rules an user with LAVA server running on their machine might simply plug an iMX53 device to the system to have it automatically detected and ready for testing. Thanks. This is what I was looking for! ZK
Le 03/09/2011 10:08, Zygmunt Krynicki a écrit :
W dniu 03.09.2011 10:05:59, nadawca Eric Bénarderic@eukrea.com,Lists Linaro-devlinaro-dev@lists.linaro.org, Eric Miaoeric.miao@linaro.org, Christian Robottom Reis napisał:
Hi Zygmunt, Le 02/09/2011 23:15, Zygmunt Krynicki a écrit :
BTW: if anyone is interested in helping me out, have some
work-in-progress
code at lp:~zkrynicki/+junk/lava-imx53-serial-boot (serial as
in "serial
download mode offered by the boot-rom", not "serial cable").
here is a quick and dirty program which works in uart boot mode on i.MX25/35/51 (and should work on the i.MX53) and the corresponding configuration files for these 3 targets : it performs minimal CPU/memory initialization and upload a bootloader in RAM which allows recovery. For the i.MX53 init file, you can find a starting working base here :
http://download.ronetix.info/peedi/cfg_examples/cortex-a8/mx53.cfg Eric
Thanks for all of that. I'll use it to check for basic activity (that it works on my board) and then use it to finish my script. I wanted to use USB
I'll be interested in feedback concerning your tests with i.MX53 as I'll soon have a 53 based board to bring up.
because it allows for 0-end-user activity device provisioning. Unlike pure serial USB allows for device discovery. With a few udev rules an user with LAVA server running on their machine might simply plug an iMX53 device to the system to have it automatically detected and ready for testing. Thanks. This is what I was looking for!
switching to USB is on my task list, but with a very low priority as our production testers only have serial ports for this task.
Eric