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

Yann E. MORIN yann.morin.1998 at free.fr
Fri Jan 11 13:36:14 UTC 2013


Maxime, All,

On Friday 11 January 2013 14:17:30 Maxime Hadjinlian wrote:
[--SNIP--]
> diff --git a/board/raspberrypi/README.txt b/board/raspberrypi/README.txt
> new file mode 100644
> index 0000000..5ddc5c5
> --- /dev/null
> +++ b/board/raspberrypi/README.txt
> @@ -0,0 +1,35 @@
> +## RaspberryPi
> +
> +When you use the rpi_defconfig to build a rootfs for your RaspberryPi, a few
> +items are created in output/images :
> +
> +	output/images/
> +	├── rootfs.tar
> +	├── rpi-firmware
> +	│   ├── bootcode.bin
> +	│   ├── config.txt
> +	│   ├── fixup_cd.dat
> +	│   ├── fixup.dat
> +	│   ├── start_cd.elf
> +	│   └── start.elf
> +	└── zImage

Please, use only ascii chars (0x00..0x7F):
	output/images/
	+-- rootfs.tar
	+-- rpi-firmware
	|   +-- bootcode.bin
        [...]
        |   `-- start.elf
        `-- zImage

> +In order to have a working SDCard, you should have at least two partitions :
> +
> +    - First partition :
> +	This will be the boot partition (It must be formated in fat32 and have
> +        bootable flags).
> +	It should contains the *content* of output/images/rpi-firmware/.
> +        It will also contain the kernel binary.
> +        For the kernel to be found, you have two choices :
> +	    1 - Rename zImage to kernel.img since it's the default kernel file
> +                name here.
> +            2 - Add 'kernel=zImage' to config.txt (without the quotes).

kernel='kernel.img' maybe?
If not, explain what this kernel= settings means.

Otherwise, looks good to me. ;-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< O_o >==-- '------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL    |  """  conspiracy.  |
'------------------------------'-------'------------------'--------------------'


More information about the buildroot mailing list