[U-Boot] [PATCHv2] arm: socfpga: Add support for the Terasic DE-0 Atlas board
Marek Vasut
marex at denx.de
Wed Sep 2 21:04:04 CEST 2015
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 at 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 at 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
Best regards,
Marek Vasut
More information about the U-Boot
mailing list