Update buildroot 2020.02.01 (#622)
* Update buildroot 2020.02.01 Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix LN * Fix wpa Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix lint Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * fix-network Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix script Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
setenv bootm_boot_mode sec
|
||||
setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait panic=10 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 consoleblank=0 ${extra}
|
||||
ext4load mmc 0 0x43000000 /boot/script.bin
|
||||
ext4load mmc 0 0x48000000 /boot/zImage
|
||||
bootz 0x48000000
|
||||
@@ -1,8 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
cp $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr
|
||||
|
||||
if [ -e $BINARIES_DIR/script.bin ]; then
|
||||
# mali requires a legacy kernel
|
||||
cp $BINARIES_DIR/script.bin $TARGET_DIR/boot/script.bin
|
||||
fi
|
||||
|
||||
@@ -16,15 +16,9 @@ The following defconfigs are available:
|
||||
for the A20-OLinuXino-MICRO board using mainline kernel
|
||||
- olimex_a20_olinuxino_lime_defconfig
|
||||
for the A20-OLinuXino-LIME board using mainline kernel
|
||||
- olimex_a20_olinuxino_lime_legacy_defconfig
|
||||
for the A20-OLinuXino-LIME board using legacy linux-sunxi kernel
|
||||
- olimex_a20_olinuxino_lime2_defconfig
|
||||
for the A20-OLinuXino-LIME2 board using mainline kernel
|
||||
|
||||
The legacy linux-sunxi kernels are based on the vendor code drops.
|
||||
They are only useful when accelerated 3D graphics and multimedia support
|
||||
is strictly necessary.
|
||||
|
||||
The Mainline Kernel is already a much better choice for a headless server.
|
||||
And also the mainline kernel works fine even for a basic Linux desktop
|
||||
system running on top of a simple framebuffer, which may be good enough for
|
||||
@@ -51,7 +45,6 @@ After building, you should get a tree like this:
|
||||
output/images/
|
||||
+-- rootfs.ext2
|
||||
+-- rootfs.ext4 -> rootfs.ext2
|
||||
+-- script.bin (lime_legacy)
|
||||
+-- sdcard.img
|
||||
+-- sun7i-a20-olinuxino-lime.dtb (lime, mainline)
|
||||
+-- sun7i-a20-olinuxino-lime2.dtb (lime2, mainline)
|
||||
|
||||
5
buildroot/board/olimex/a33_olinuxino/boot.cmd
Normal file
5
buildroot/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
buildroot/board/olimex/a33_olinuxino/genimage.cfg
Normal file
17
buildroot/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
buildroot/board/olimex/a33_olinuxino/post-build.sh
Executable file
2
buildroot/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
buildroot/board/olimex/a33_olinuxino/readme.txt
Normal file
50
buildroot/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