From: Sinan Akman <sinan@writeme.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCHv2] arm: socfpga: Add support for the Terasic DE-0 Atlas board
Date: Wed, 02 Sep 2015 16:14:24 -0400 [thread overview]
Message-ID: <55E758A0.6080705@writeme.com> (raw)
In-Reply-To: <201509022104.04395.marex@denx.de>
Marek Vasut wrote:
> On Wednesday, September 02, 2015 at 08:59:57 PM, Marek Vasut wrote:
>> On Wednesday, September 02, 2015 at 08:57:52 PM, Sinan Akman wrote:
>>> On 02/09/15 10:18 AM, Dinh Nguyen wrote:
>>>> On 9/2/15 3:18 AM, Marek Vasut wrote:
>>>>> On Wednesday, September 02, 2015 at 12:41:52 AM,
>>>>> dinguyen at opensource.altera.com
>>>>>
>>>>> wrote:
>>>>>> From: Dinh Nguyen <dinguyen@opensource.altera.com>
>>>>>>
>>>>>> Add support for the Terasic DE0-Nano/Atlas-SoC Kit, which is a
>>>>>> CycloneV based board. The board can boot from SD/MMC. Ethernet is
>>>>>> also supported.
>>>>>>
>>>>>> Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
>>>>>> ---
>>>>>> v2: add ethernet support
>>>>>>
>>>>>> moved board files to board/terasic/de0-nano-soc/
>>>>>> associate everything with 'de0-nano-soc' or 'de0_nano_soc'
>>>>>> based on u-boot-socfpga/wip/boards branch
>>>>> Applied to wip/boards, thanks. I shuffled the order in arch/arm/mach-
>>>>> socfpga/Kconfig so that things are sorted properly. Can you please
>>>>> double-check that everything builds for you ?
>>>> Yes, everything builds for me. Thanks!
>>>>
>>> Hi Dinh
>>>
>>> FYI, I just pulled from wip/boards and built with
>>>
>>> socfpga_de0_nano_soc_defconfig and booted from SD :
>>>
>>> U-Boot SPL 2015.10-rc2-00311-g859de28-dirty (Sep 02 2015 - 14:47:55)
>>>
>>> drivers/ddr/altera/sequencer.c: Preparing to start memory calibration
>>>
>>> drivers/ddr/altera/sequencer.c: CALIBRATION PASSED
>>>
>>> drivers/ddr/altera/sequencer.c: Calibration complete
>>>
>>> bad magic
>>>
>>> spl: mmc: no boot mode left to try
>>>
>>> ### ERROR ### Please RESET the board ###
>>>
>>> Not sure what I have missed.
>> Try the following:
>>
>> git revert 811c9a20823a55decc5e15af0684d3d29cdf610f
>>
>> and let me know if this fixes things for you.
>
> If this doesn't help, undo the revert and repartition the SD card such
> that the preloader partition is located at 2048 sectors from start (that's
> where U-Boot expects it for now, there's space for improvement) and write
> the u-boot-with-spl-dtb.sfp to that partition.
>
> $ sudo fdisk -l /dev/sdg
> Disk /dev/sdg: 14.9 GiB, 16003891200 bytes, 31257600 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: dos
> Disk identifier: 0x5452574f
>
> Device Boot Start End Sectors Size Id Type
> /dev/sdg1 * 2048 4095 2048 1M a2 unknown
> /dev/sdg2 6144 104447 98304 48M 83 Linux
> /dev/sdg3 106496 108543 2048 1M 83 Linux
I repartitioned SD with similar geometry and it boots
fine now.
Thanks
Sinan Akman
prev parent reply other threads:[~2015-09-02 20:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-01 22:41 [U-Boot] [PATCHv2] arm: socfpga: Add support for the Terasic DE-0 Atlas board dinguyen at opensource.altera.com
2015-09-02 3:05 ` Chin Liang See
2015-09-02 8:18 ` Marek Vasut
2015-09-02 14:18 ` Dinh Nguyen
2015-09-02 15:22 ` Marek Vasut
2015-09-02 18:57 ` Sinan Akman
2015-09-02 18:59 ` Marek Vasut
2015-09-02 19:04 ` Marek Vasut
2015-09-02 20:14 ` Sinan Akman [this message]
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=55E758A0.6080705@writeme.com \
--to=sinan@writeme.com \
--cc=u-boot@lists.denx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.