freebsd / crochet

Build FreeBSD images for RaspberryPi, BeagleBone, PandaBoard, and others.
BSD 2-Clause "Simplified" License
611 stars 187 forks source link

Selecting Configuration File for UBoot #101

Closed rnikoopour closed 9 years ago

rnikoopour commented 9 years ago

Hello,

I'm trying to build an image for the Raspberry Pi and I've run into some trouble when Crochet builds uboot.

I have changed settings in < u-boot-rpi/include/configs/rpi_b.h > to disable to serial console and make the autoboot time 10 seconds instead of 3. I deleted < crochet-freebsd/work > directory to build from scratch.

I wrote the image created using dd. When I booted my RaspberryPi none of the changes I made to the rpi_b.h were there.

How do I get Crochet to build uboot using the settings I defined in < crochet-freebsd/u-boot-rpi/include/configs/rpi_b.h >?

Thanks, Reza

kientzle commented 9 years ago

On Jan 30, 2015, at 3:41 PM, rnikoopour notifications@github.com wrote:

Hello,

I'm trying to build an image for the Raspberry Pi and I've run into some trouble when Crochet builds uboot.

I have changed settings in < u-boot-rpi/include/configs/rpi_b.h > to disable to serial console and make the autoboot time 10 seconds instead of 3. I deleted < crochet-freebsd/work > directory to build from scratch.

I wrote the image created using dd. When I booted my RaspberryPi none of the changes I made to the rpi_b.h were there.

How do I get Crochet to build uboot using the settings I defined in < crochet-freebsd/u-boot-rpi/include/configs/rpi_b.h >?

Crochet is probably just re-using the previously built version.

To get Crochet to rebuild U-Boot, you should look in the crochet-freebsd/u-boot-rpi directory and remove only these two files: .uboot.configured .uboot.built

If these files are present, Crochet will skip the configuration and building of U-Boot. Removing them will allow Crochet to configure U-Boot again and then rebuild it all.

Not: you probably should not remove the _.uboot.patched file; if you remove that, Crochet will try to re-apply its patches which will probably fail. If that happens, you’ll need to start from a clean checkout of the U-Boot sources.

Good luck!

Tim

rnikoopour commented 9 years ago

Hey Tim!

Thank you for your help! I figured it shortly before your post =P

Have a good one!