kwboot: Boot Marvell Kirkwood SoCs over a serial link.
Hey.
I wrote a utility to boot Marvell SoCs over serial.
If that sounds generally useful, would you be so kind to merge
git://github.com/dns42/u-boot.git at dns/kwboot-1
If it's missing sth for that to happen, lemme know.
Cheers,
Daniel
Quoted 13 lines
-----Original Message-----
From: u-boot-bounces at lists.denx.de [mailto:u-boot- bounces at lists.denx.de] On Behalf Of Daniel Stodden
Sent: 22 April 2012 11:56
To: u-boot at lists.denx.de
Subject: [U-Boot] kwboot: Boot Marvell Kirkwood SoCs over a serial link.Hey.
Quoted 8 lines
I wrote a utility to boot Marvell SoCs over serial.
If that sounds generally useful, would you be so kind to merge
git://github.com/dns42/u-boot.gitat dns/kwboot-1If it's missing sth for that to happen, lemme know.
Hi Daniel
Yes, this will find very useful utility/tool.
May you please post the patch for the same?
Regards..
Prafulla . . .
Quoted 18 lines · Prafulla Wadaskar
Quoted 18 lines
-----Original Message-----
From: u-boot-bounces at lists.denx.de [mailto:u-boot- bounces at lists.denx.de] On Behalf Of Daniel Stodden
Sent: 22 April 2012 11:56
To: u-boot at lists.denx.de
Subject: [U-Boot] kwboot: Boot Marvell Kirkwood SoCs over a serial link.Hey.
I wrote a utility to boot Marvell SoCs over serial.
If that sounds generally useful, would you be so kind to merge
git://github.com/dns42/u-boot.gitat dns/kwboot-1
Quoted 7 lines
Quoted 2 lines
If it's missing sth for that to happen, lemme know.
Hi Daniel
Yes, this will find very useful utility/tool.
May you please post the patch for the same?
I git-mailed the delta.
Tweaked docs and whitespace a little since the original mail. Removing some residual stuff I thought I'd eventually support, but so far don't (like driving to debug mode etc.).
That bumped up my upstream branch revision to dns/kwboot-3.
Things were mostly tested with a qnap TS-219P+ board. Guess at this point it should at least be good enough to leave plugcomputer folks etc with a solid brick/unbrick perspective.
Ideas + overall input certainly welcome.
Cheers,
Daniel
Dear Daniel Stodden,
Quoted 4 lines · In message <1335075976.10449.13.camel@ramone> you wrote:
I wrote a utility to boot Marvell SoCs over serial.
If that sounds generally useful, would you be so kind to merge
Please see http://www.denx.de/wiki/U-Boot/Patches and post proper patch(es).
Thanks.
Best regards,
Wolfgang Denk
Signature · 7 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Winners never talk about glorious victories. That's because they're
the ones who see what the battlefield looks like afterwards. It's
only the losers who have glorious victories.
- Terry Pratchett, _Small Gods_Quoted 10 lines · Wolfgang Denk <wd <at> denx.de> writes:
Please see http://www.denx.de/wiki/U-Boot/Patches and post proper patch(es).
Thanks.
Best regards,
Wolfgang Denk
I assume that tool is needed to boot a Plug via Serial instead of using more complex Jtag restore of Uboot, when Uboot is broken. So, what's the advantage of adding this tool to Uboot?
Quoted 20 lines
-----Original Message-----
From: u-boot-bounces at lists.denx.de [mailto:u-boot- bounces at lists.denx.de] On Behalf Of Sambul
Sent: 04 November 2012 18:28
To: u-boot at lists.denx.de
Subject: Re: [U-Boot] kwboot: Boot Marvell Kirkwood SoCs over a serial link.Quoted 8 lines · Wolfgang Denk <wd <at> denx.de> writes:
Please see http://www.denx.de/wiki/U-Boot/Patches and post proper patch(es).
Thanks.
Best regards,
Quoted 8 lines
Quoted 2 lines
Wolfgang Denk
I assume that tool is needed to boot a Plug via Serial instead of using more
complex Jtag restore of Uboot, when Uboot is broken. So, what's the advantage of
adding this tool to Uboot?
Answer is within your question, let's say someone don't have jtag tool, and bricked the board, this tool enables to bring up board back to functional state (just need a serial console).
Actually it can be used effectively for new board bring up without using JTAG.
Regards...
Prafulla . . .
I understand the advantage of the tool when installed on a PC. But not the advantage of adding it to Uboot, since the tool is needed when Uboot is broken and doesn't work anymore. How would you use this tool from within Uboot, if you can't access Uboot prompt? :) And if you can access the prompt, then you can reflash Uboot or change its environment without this tool.
Quoted 39 lines · Prafulla Wadaskar
Quoted 20 lines
-----Original Message-----
From: u-boot-bounces at lists.denx.de [mailto:u-boot- bounces at lists.denx.de] On Behalf Of Sambul
Sent: 04 November 2012 18:28
To: u-boot at lists.denx.de
Subject: Re: [U-Boot] kwboot: Boot Marvell Kirkwood SoCs over a serial link.Quoted 8 lines · Wolfgang Denk <wd <at> denx.de> writes:
Please see http://www.denx.de/wiki/U-Boot/Patches and post proper patch(es).
Thanks.
Best regards,
Quoted 8 lines
Quoted 2 lines
Wolfgang Denk
I assume that tool is needed to boot a Plug via Serial instead of using more
complex Jtag restore of Uboot, when Uboot is broken. So, what's the advantage of
adding this tool to Uboot?Answer is within your question, let's say someone don't have jtag tool, and bricked the board, this tool enables to bring up board back to functional state (just need a serial console).
Actually it can be used effectively for new board bring up without using JTAG.
Regards...
Prafulla . . .
Quoted 6 lines · Sam Bulka
I understand the advantage of the tool when installed on a PC. But not the advantage of adding it to Uboot, since the tool is needed when Uboot is broken and doesn't work anymore. How would you use this tool from within Uboot, if you can't access Uboot prompt? :) And if you can access the prompt, then you can reflash Uboot or change its environment without this tool.
This tool must be used on PC and not in u-boot prompt. The sources for this tool are in u-boot because it makes sense to put a tool like this there. The tool is not compiled into u-boot binary.
There are other tools in the u-boot git repository that are not used in u-boot but on the PC. Look at mkimage for example.
Luka
Quoted 6 lines · Sam Bulka
I understand the advantage of the tool when installed on a PC. But not the advantage of adding it to Uboot, since the tool is needed when Uboot is broken and doesn't work anymore. How would you use this tool from within Uboot, if you can't access Uboot prompt? :) And if you can access the prompt, then you can reflash Uboot or change its environment without this tool.
Sam,
in case this didn't become clear: the receiving end to which this tool talks resides in firmware deeply embedded within the SoC. It's a function specific to Marvell processors, not u-boot, and activated by talking to the chip before any other software environment is loaded.
These chips support booting from a whole variety of peripheral sources to load system images from, both SPI flash and UART are just alternatives. So it's in u-boot as part of the toolchain, not boot firmware.
Daniel