fc22c3ce40
This patch provides defconfig and basic support for Andes 45 series RISC-V architecture on AE350 platform. http://www.andestech.com/en/products-solutions/andeshape-platforms/ae350-axi-based-platform-pre-integrated-with-n25f-nx25f-a25-ax25/ Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> Signed-off-by: Alan Kao <alankao@andestech.com> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> |
||
---|---|---|
.. | ||
patches | ||
rootfs_overlay/boot/extlinux | ||
ae350.dts | ||
genimage_sdcard.cfg | ||
post-build.sh | ||
readme.txt | ||
uboot.config.fragment |
Intro ===== Andestech AE350 Platform The AE350 prototype demonstrates the AE350 platform on the FPGA. How to build it =============== Configure Buildroot ------------------- $ make andes_ae350_45_defconfig If you want to customize your configuration: $ make menuconfig Build everything ---------------- Note: you will need to access to the network, since Buildroot will download the packages' sources. $ make Result of the build ------------------- After building, you should obtain the following files: output/images/ |-- ae350.dtb |-- boot.vfat |-- fw_dynamic.bin |-- fw_dynamic.elf |-- fw_jump.bin |-- fw_jump.elf |-- Image |-- rootfs.ext2 |-- rootfs.ext4 -> rootfs.ext2 |-- sdcard.img |-- u-boot-spl.bin `-- u-boot.itb Copy the sdcard.img to a SD card with "dd": $ sudo dd if=sdcard.img of=/dev/sdX bs=4096 $ sudo sync Your SD card partition should be: Disk /dev/sdb: 14.48 GiB, 15552479232 bytes, 30375936 sectors Disk model: Multi-Card Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/sdb1 1 4096 4096 2M c W95 FAT32 (LBA) /dev/sdb2 * 4097 126976 122880 60M 83 Linux Insert SD card and reset the board, it should boot Linux from mmc.