rpi: rename board folder for consistency
PATCH 2/2 rpi: rename board folder for consistency
All the Raspberry Pi files (packages and config) are prefix with "rpi", so rename the board directory to "rpi" for consistency.
Signed-off-by Mathieu Benoit <[email protected]>
--- board/raspberrypi/readme.txt | 108 ------------------------------------------- board/rpi/readme.txt | 108 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 108 insertions(+), 108 deletions(-) delete mode 100644 board/raspberrypi/readme.txt create mode 100644 board/rpi/readme.txt
board/raspberrypi/readme.txt deleted +0 -108
@@ -1,108 +0,0 @@ -RaspberryPi - -Intro -===== - -To be able to use your RaspberryPi board with the images generated by -Buildroot, you have a prior choice to make, will you use: - - * Volatile rootfs in RAM (the rootfs is an initramfs) or - * Persistent rootfs on the SDCard - -Also, a good source of information is http://elinux.org/R-Pi_Hub - -How to build it -=============== - -You need to use the rpi_defconfig, to do so: - - $ make rpi_defconfig - -If Volatile rootfs ------------------- - -Then, you need to select the kind of images you want: - - $ make menuconfig - - * Select "Filesystem images" - * Select "initial RAM filesystem linked into linux kernel" - -Build ------ - - $ make - -And take a coffee - -### What is generated - -After building, you should obtain this tree: - - output/images/ - +-- rootfs.tar - +-- rpi-firmware - | +-- bootcode.bin - | +-- config.txt - | +-- fixup_cd.dat - | +-- fixup.dat - | +-- start_cd.elf - | `-- start.elf - `-- zImage - -Note for Volatile: rootfs.tar will only be there if you kept -"tar the root filesystem" option selected in "Filesystem images". - -Prepare you SDCard -================== - -For more information, visit -http://elinux.org/RPi_Advanced_Setup#Advanced_SD_card_setup - -In summary, your SDCard must have first partition in fat32 and marked bootable. - -If Persistent rootfs, 50Mo is enough memory for the boot fat32 partition. -Create another partition, like ext4, for the root. - -Mount partition: - - $ sudo mount /dev/sdX1 /mnt/mountpointboot - - $ sudo mount /dev/sdX2 /mnt/mountpointroot - -Note: You can create any number of partitions you desire, the only requirement -is that the first partition must be using fat32 and be bootable. - -Where should the binaries be copied on the SDCard -------------------------------------------------- - -At the root of the boot partition, -the RaspberryPi must find the following files: - - * bootcode.bin - * config.txt (optional) - * fixup_cd.dat - * fixup.dat - * start_cd.elf - * start.elf - * zImage - -For example: (Assuming mountpointboot is a directory and exists) - - $ cp ./rpi-firmware/* /mnt/mountpointboot/ - - $ cp ./zImage /mnt/mountpointboot/zImage.img - -Note: The default name is kernel.img. -Actually, the name is zImage and it's define in the file config.txt like: -kernel=zImage - -### If Persistent rootfs partition - -The second partition will contain your rootfs. -Simply extract (as root!) the contents of the rootfs.tar archive -into this partition. - -For example: (Assuming mountpointroot is a directory and exists) - - $ sudo tar xf rootfs.tar -C /mnt/mountpointroot
board/rpi/readme.txt new file +108 -0
108 lines not on this page · raw message
Signature · 1 line
1.8.1.4