[Buildroot] [PATCH v2] configs: add SoCkit defconfig

Charles Manning cdhmanning at gmail.com
Wed Feb 26 03:51:09 UTC 2014


On Wednesday 26 February 2014 05:05:53 Sebastien Bourdelin wrote:
> Hello Charles,
>
> On 02/23/2014 09:26 PM, Charles Manning wrote:
> > Hello Sebasitian
> >
> >> +Copy the rootfs :
> >> +
> >> +  $ sudo dd if=rootfs.ext2 of=/dev/mmcblk0p2 bs=64k
> >
> > It is advisable to do:
> >
> > sudo sync
> >
> > at this stage. Some hosts do async writing to block devices and popping
> > the SD card after a write (particularly a large one) can end up losing
> > data.
>
> Thanks for this advice, i will add this in the readme.
>
> >> +BR2_LINUX_KERNEL_INTREE_DTS_NAME="socfpga_cyclone5"
> >> +BR2_TARGET_UBOOT_BOARDNAME="socfpga_cyclone5"
> >
> > IMHO, this way of doing sockit board support is ugly because it stomps
> > over socfpga_cyclone5 breaks builds for that board . I know that this is
> > the way most people are doing it, but still...
> >
> >
> > It is probably better if this is handled with proper boards.
> >
> > There is some work that Walter Lozano and I are doing which helps move
> > this along. There is some discussion on the rocketboard RFI ML.
> >
> > I am going to try to get a github repository of u-boot up that builds
> > this as socfpga_cyclone5 and then get the rocketboard people to merge it.
> >
> > Regards
> >
> > Charles
>
> Well i agree, but until there is a "sockit" config i think this is the
> way to go.
> By the way, i have seen rocketboard tagged a new Linux and uboot release
> last week, this Linux release has a socfpga_cyclone5_sockit.dts and
> seems to work, so i will change the buildroot config to use this release.

Great I must look into that.

> For the new uboot release, i can't make the preloader work... the files
> generated by the Altera's tools in its 13.1 version doesn't work from
> scratch, i'm stuck in the sdram calibration and i'm not enough confident
> to make it work, so until someone know what's wrong i will stay on the
> previous uboot release based on the 13.0sp1 Altera's tools.

That is exactly the same problem as I, and others, are having: SDRAM 
calibration fails and it is the end of the party.

I have a git repo that builds Sockit, but is based off some old stuff. I am 
trying to get that published with a proper sockit config etc.

Regards

Charles



More information about the buildroot mailing list