Query: uboot tree for angstrom

Beagle Experts

I am using an Angstrom distribution:
    http://downloads.angstrom-distribution.org/demo/beaglebone/
    Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.05-beaglebone-2012.11.22.img.xz

My need is to recompile the uboot and kernel for this distribution -
without touching any other components.

From Jason's reply, i could see kernel can be obtained as per these steps:
http://beagleboard.org/linux
    ~$ git clone git://github.com/beagleboard/kernel.git && cd kernel
    ~/kernel$ git checkout 3.2
    ~/kernel$ ./patch.sh

Query: is there an equivalent step to apply patches for uboot tree?

This way both uboot and kernel can be compiled and integrated with Angstrom,
without having to deal with bitbake beast :slight_smile:

Would appreciate if anyone could give comments if the approach is right or not?

Thanks
randy

My need is to recompile the uboot and kernel for this distribution -
without touching any other components.

From Jason's reply, i could see kernel can be obtained as per these
steps: http://beagleboard.org/linux
    ~$ git clone git://github.com/beagleboard/kernel.git && cd kernel
    ~/kernel$ git checkout 3.2
    ~/kernel$ ./patch.sh

Query: is there an equivalent step to apply patches for uboot tree?

Exact steps (there are no patches):
git clone U-Boot / U-Boot · GitLab
cd u-boot
make ARCH=arm CROSS_COMPILE=${your cross compiler prefix}- clean
make ARCH=arm CROSS_COMPILE=${your cross compiler prefix}- am335x_evm_config OR omap3_beagle_config
make ARCH=arm CROSS_COMPILE=${your cross compiler prefix}-

(Use am335x_evm_config for bone, omap3_beagle_config for all others.)

Then load the MLO and u-boot.img files on to the SD card FAT partition.

This way both uboot and kernel can be compiled and integrated with
Angstrom, without having to deal with bitbake beast :slight_smile:

Would appreciate if anyone could give comments if the approach is
right or not?

I have no idea if you can "integrate" this with Angstrom's build
process, but there's no need to :slight_smile:

-Andrew

My need is to recompile the uboot and kernel for this distribution -
without touching any other components.

From Jason's reply, i could see kernel can be obtained as per these
steps: http://beagleboard.org/linux
    ~$ git clone git://github.com/beagleboard/kernel.git && cd kernel
    ~/kernel$ git checkout 3.2
    ~/kernel$ ./patch.sh

Query: is there an equivalent step to apply patches for uboot tree?

Exact steps (there are no patches):
git clone U-Boot / U-Boot · GitLab

Thats the upstream denx uboot tree.
What i am looking at is the patches that bitbake puts on top of some
commit on this upstream tree.

What 'feature' are you looking for that's not already in mainline
u-boot for the BeagleBoard/BeagleBone..

Regards,

My need is to recompile the uboot and kernel for this distribution -
without touching any other components.

From Jason's reply, i could see kernel can be obtained as per these
steps: http://beagleboard.org/linux
    ~$ git clone git://github.com/beagleboard/kernel.git && cd kernel
    ~/kernel$ git checkout 3.2
    ~/kernel$ ./patch.sh

Query: is there an equivalent step to apply patches for uboot tree?

Exact steps (there are no patches):
git clone U-Boot / U-Boot · GitLab

Thats the upstream denx uboot tree.
What i am looking at is the patches that bitbake puts on top of some
commit on this upstream tree.

What 'feature' are you looking for that's not already in mainline
u-boot for the BeagleBoard/BeagleBone..

If i have to use 3.7 kernel from:
    http://beagleboard.org/linux

I assume that the upstream uboot also needs some patching just like
the kernel did.
Is my assumption wrong?

Is there any wiki similar to above, that tells the uboot steps and the
boot.scr contents?

Nope, just un-informed.. Just grab u-boot v2013.01 as is..

Unless your using the BeagleBoard with the ULCD7 expansion board,
there's no real patches for u-boot needed for the Beagle's..

Regards,

My need is to recompile the uboot and kernel for this distribution -
without touching any other components.

From Jason's reply, i could see kernel can be obtained as per these
steps: http://beagleboard.org/linux
    ~$ git clone git://github.com/beagleboard/kernel.git && cd kernel
    ~/kernel$ git checkout 3.2
    ~/kernel$ ./patch.sh

Query: is there an equivalent step to apply patches for uboot tree?

Exact steps (there are no patches):
git clone U-Boot / U-Boot · GitLab

Thats the upstream denx uboot tree.
What i am looking at is the patches that bitbake puts on top of some
commit on this upstream tree.

What 'feature' are you looking for that's not already in mainline
u-boot for the BeagleBoard/BeagleBone..

If i have to use 3.7 kernel from:
    http://beagleboard.org/linux

I assume that the upstream uboot also needs some patching just like
the kernel did.
Is my assumption wrong?

Nope, just un-informed.. Just grab u-boot v2013.01 as is..

Thanks Robert for the info.

Unless your using the BeagleBoard with the ULCD7 expansion board,
there's no real patches for u-boot needed for the Beagle's..

Is there any wiki where some steps are given about environment
uEnv.txt vs boot.scr
method ?

Would really appreciate anyone could fill in this last gap for me to proceed.

Thanks again - community is what keeps us hackers alive :slight_smile: