mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
5
board/olimex/a33_olinuxino/boot.cmd
Normal file
5
board/olimex/a33_olinuxino/boot.cmd
Normal file
@@ -0,0 +1,5 @@
|
||||
setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait panic=10 ${extra}
|
||||
ext4load mmc 0 0x49000000 /boot/${fdtfile}
|
||||
ext4load mmc 0 0x46000000 /boot/zImage
|
||||
env set fdt_high ffffffff
|
||||
bootz 0x46000000 - 0x49000000
|
||||
17
board/olimex/a33_olinuxino/genimage.cfg
Normal file
17
board/olimex/a33_olinuxino/genimage.cfg
Normal file
@@ -0,0 +1,17 @@
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-sunxi-with-spl.bin"
|
||||
offset = 8192
|
||||
size = 1040384 # 1MB - 8192
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
2
board/olimex/a33_olinuxino/post-build.sh
Executable file
2
board/olimex/a33_olinuxino/post-build.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
cp $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr
|
||||
50
board/olimex/a33_olinuxino/readme.txt
Normal file
50
board/olimex/a33_olinuxino/readme.txt
Normal file
@@ -0,0 +1,50 @@
|
||||
A33-OLinuXino
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This board is based on Allwinner A33 SoC.
|
||||
|
||||
Home Page: https://www.olimex.com/Products/OLinuXino/A33/A33-OLinuXino/open-source-hardware
|
||||
Wiki: https://wiki.amarulasolutions.com/bsp/sunxi/a33/Olimex-A33-Olinuxino.html
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot:
|
||||
|
||||
$ make olimex_a33_olinuxino_defconfig
|
||||
|
||||
Build everything by running:
|
||||
|
||||
$ make
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
After building, you should get a tree like this:
|
||||
|
||||
output/images/
|
||||
├── boot.scr
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext4 -> rootfs.ext2
|
||||
├── rootfs.tar
|
||||
├── sdcard.img
|
||||
├── sun8i-a33-olinuxino.dtb
|
||||
├── u-boot.bin
|
||||
├── u-boot-sunxi-with-spl.bin
|
||||
└── zImage
|
||||
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
The sdcard.img file is a complete bootable image ready to be written
|
||||
on the boot medium. To install it, simply copy the image to a uSD
|
||||
card:
|
||||
|
||||
# dd if=output/images/sdcard.img of=/dev/sdX
|
||||
|
||||
Where 'sdX' is the device node of the uSD.
|
||||
|
||||
Eject the SD card, insert it in the A33-OLinuXino board, and power it up.
|
||||
Reference in New Issue
Block a user