[Buildroot] trying to use https://github.com/beagleboard/linux.git with buildroot

Chris LaRocque clarocq at gmail.com
Sat Dec 26 16:00:07 UTC 2015


Craig Swank wrote:

> Here is another thing I've found:
> 
> https://github.com/beagleboard/linux/issues/49
> 
> In that issue the person had some addresses set incorrectly in uEnv.txt,
> but mine doesn't have any addresses set:
> 
> bootpart=0:1
> bootdir=
> uenvcmd=run loadimage;run loadramdisk;run findfdt;run loadfdt;run ram
> boot
> 
> Is there something that needs to be set in uEnv.txt?
> 
> 
> On Wed, Dec 23, 2015, at 02:52 PM, Thomas Petazzoni wrote:
>> Dear Craig Swank,
>> 
>> On Wed, 23 Dec 2015 14:45:36 -0800, Craig Swank wrote:
>> > Is it strange to you that when I do the build the output/build
>> > directory has both of these dirs?
>> > 
>> > ➜  buildroot git:(master) ✗ ls output/build/linux-*
>> > output/build/linux-4.1.4-ti-r9
>> > output/build/linux-headers-3.12.10
>> 
>> No, it is perfectly fine. linux-headers is used when building the
>> toolchain. linux is used to build the kernel itself.
>> 
>> Thomas
>> --
>> Thomas Petazzoni, CTO, Free Electrons
>> Embedded Linux, Kernel and Android engineering
>> http://free-electrons.com
> 
> 
Hello Craig

Hopefully the attachments will be accepted.

The kernel defconfig from beagleboard.org:

1> doesn't set DEPRECATED_PARAM_STRUCT [=y] in the kernel .config. uEnv.txt 
(uboot) passes in the console config as "console=ttyO0,115200n8"

2> doesn't set EXT2_FS [=y] and the default buildroot .config FS image is 
ext2. at least for the beaglebone black and I'm trying to keep things sane.

You'll want to do a make source and them make linux-menuconfig and change 
the parameters above.

I haven't created a patch file because I'm lazy.

Also attached is my patch (hack) for dtc, derived from Robert Nelsons 
bb.org-overlays.

The dtc patch file goes into BR2_GLOBAL_PATCH_DIR , 
BR2_GLOBAL_PATCH_DIR"/dtc"

Look in the buildroot .config for how I set BR2_GLOBAL_PATCH_DIR. you'll 
need to point that to your own global patch directory.

Regards

Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: host-dtc-1.4.1.patch
Type: text/x-patch
Size: 32757 bytes
Desc: not available
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20151226/5748b92b/attachment-0001.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cleaned_buildroot_v41_12182015_01.config
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20151226/5748b92b/attachment-0001.ksh>


More information about the buildroot mailing list