From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Bourdelin Date: Tue, 25 Feb 2014 11:05:53 -0500 Subject: [Buildroot] [PATCH v2] configs: add SoCkit defconfig In-Reply-To: <201402241526.41765.manningc2@actrix.gen.nz> References: <1393005432-14285-1-git-send-email-sebastien.bourdelin@savoirfairelinux.com> <201402241526.41765.manningc2@actrix.gen.nz> Message-ID: <530CBF61.2040909@savoirfairelinux.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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. 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. Regards, Sebastien.