• Home
  • Annotate
  • current directory
Name Date Size #Lines LOC

..18-Apr-2025-

genimage.cfg A D18-Apr-2025563 4135

readme.txt A D18-Apr-20251.8 KiB8155

readme.txt

1Aspeed AST2600 EVB
2
3Introduction
4============
5
6The AST2600 EVB is an evaluation board for the AST2600 SoC, most
7commonly used as a Server Management Processor. It includes a
8Dual-core ARM Cortex A7 processor with DDR4 SDRAM (up to 2GB), SPI
9flash memory devices for BMC and host firmwares and numerous
10controllers to drive the server board.
11
12  https://www.aspeedtech.com/server_ast2600/
13
14How to build it
15===============
16
17Configure buildroot:
18
19  $ make aspeed_ast2600evb_defconfig
20
21Compile everything and build the rootfs image:
22
23  $ make
24
25Result of the build
26===================
27
28After building, the output/images directory contains:
29
30  output/images/
31    ├── aspeed-ast2600-evb.dtb
32    ├── flash.img
33    ├── image.itb
34    ├── rootfs.cpio
35    ├── rootfs.cpio.xz
36    ├── rootfs.tar
37    ├── u-boot.bin
38    └── zImage
39
40Flashing the image
41==================
42
43To update the contents of the first flash device, copy flash.img :
44
45  $ flashcp flash.img /dev/mtd0
46
47or simply the boot loader:
48
49  $ flashcp u-boot.bin /dev/mtd1
50
51Preparing the board
52===================
53
54 * Connect a serial line to the board
55 * Power-up the board
56
57Booting the board
58=================
59
60The AST2600 EVB boots from the SPI flash device directly and loads a
61first bootloader (usually U-Boot). U-Boot will attempt to load a Linux
62kernel from the same flash device by default but other storage could
63be used.
64
65 * from U-Boot
66
67   The FIT image image.itb can be used to boot the board from U-Boot
68   using tftp
69
70 * with QEMU
71
72   $ qemu-system-arm -M ast2600-evb \
73	-drive file=output/images/flash.img,format=raw,if=mtd \
74	-nographic
75
76   $ qemu-system-arm -M ast2600-evb \
77	-kernel output/images/zImage \
78	-initrd output/images/rootfs.cpio \
79	-dtb output/images/aspeed-ast2600-evb.dtb \
80	-nographic
81