From mboxrd@z Thu Jan 1 00:00:00 1970 From: PA Nilsson Date: Wed, 6 Apr 2016 17:10:14 +0200 Subject: [U-Boot] Fwd: Marvell Armada XP u-boot from uart In-Reply-To: <57052142.9060305@denx.de> References: <5560357C.5010902@denx.de> <1459938056743-251080.post@n7.nabble.com> <57052142.9060305@denx.de> Message-ID: <570526D6.4000906@openproducts.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 2016-04-06 16:46, Stefan Roese wrote: > On 06.04.2016 12:20, pani wrote: >> I have a Armada A388 board that I have the same problem with. >> (Using u-boot git master branch from today) >> >> After downloading the kwb-file, the output is as below. >> This is the same with the BOOT_FROM untouched or set to uart. >> >> Did you have any luck finding out what the problem was? >> >> Sending boot message. Please reboot the target...- >> Sending boot image... >> 0 % >> [......................................................................] >> 1 % >> [......................................................................] >> 3 % >> [......................................................................] >> 5 % >> [......................................................................] >> 6 % >> [......................................................................] >> 8 % >> [......................................................................] >> 10 % >> [......................................................................] >> 12 % >> [......................................................................] >> 13 % >> [......................................................................] >> 15 % >> [......................................................................] >> 17 % >> [......................................................................] >> 18 % >> [......................................................................] >> 20 % >> [......................................................................] >> 22 % >> [......................................................................] >> 24 % >> [......................................................................] >> 25 % >> [......................................................................] >> 27 % >> [......................................................................] >> 29 % >> [......................................................................] >> 30 % [................... >> U-Boot SPL 2016.03-00668-g4ed6ed3-dirty (Apr 06 2016 - 11:00:55) >> High speed PHY - Version: 2.0 >> Detected Device ID 6828 >> board SerDes lanes topology details: >> | Lane # | Speed | Type | >> -------------------------------- >> | 0 | 3 | SATA0 | >> | 1 | 0 | SGMII1 | >> | 2 | 5 | PCIe1 | >> | 3 | 5 | USB3 HOST1 | >> | 4 | 5 | PCIe2 | >> | 5 | 0 | SGMII2 | >> -------------------------------- >> PCIe, Idx 1: detected no link >> PCIe, Idx 2: detected no link >> High speed PHY - Ended Successfully >> DDR3 Training Sequence - Ver TIP-1.29.0 >> DDR3 Training Sequence - Switching XBAR Window to FastPath Window >> DDR3 Training Sequence - Ended Successfully >> Trying to boot from unknown boot device >> SPL: Unsupported Boot Device! >> SPL: failed to boot from all boot devices >> ### ERROR ### Please RESET the board ### >> +xmodem: Protocol error > > Which board is this? Is it a custom Armada 38x board? Or an > already in mainline U-Boot supported board? > > The message above is pretty clear: > > > SPL: Unsupported Boot Device! > > What is the boot device that you are using? And how are you > initiating the UART boot? Via a software reset (JTAG)? Or > via a power-on reset? > > Note: > In general the UART boot does work pretty good. I've not had > problems with it in the last months (AFAIR). > > Thanks, > Stefan This is a Solidrun Clearfog Pro board, but the module has eMMC on it so the sd-card is not available. In the example print above the dip-switches are set to "uart boot" and it is done from a power on reset. Regards, PA