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

..18-Apr-2025-

extlinux.conf A D18-Apr-2025158 65

genimage.cfg A D18-Apr-2025390 3428

post-build.sh A D18-Apr-2025125 62

post-image.sh A D18-Apr-2025534 2415

readme.txt A D18-Apr-20251.4 KiB7261

readme.txt

1Khadas VIM3
2
3Description
4===========
5
6This configuration builds a complete image for the Khadas VIM3 to be flashed
7on an SD-card.
8
9How to build it
10===============
11
12Select the default configuration for the target:
13$ make khadas_vim3_defconfig
14
15Optional: modify the configuration:
16$ make menuconfig
17
18Build:
19$ make
20
21Result of the build
22===================
23output/images/
24+-- amlogic-boot-fip
25+   +-- build-fip.sh
26+   +-- g12a.inc
27+   `-- khadas-vim3
28+       +-- acs.bin
29+       +-- acs_tool.py
30+       +-- aml_ddr.fw
31+       +-- aml_encrypt_g12b
32+       +-- bl2.bin
33+       +-- bl301.bin
34+       +-- bl30.bin
35+       +-- bl31.bin
36+       +-- bl31.img
37+       +-- blx_fix.sh
38+       +-- ddr3_1d.fw
39+       +-- ddr4_1d.fw
40+       +-- ddr4_2d.fw
41+       +-- diag_lpddr4.fw
42+       +-- lpddr3_1d.fw
43+       +-- lpddr4_1d.fw
44+       +-- lpddr4_2d.fw
45+       +-- Makefile
46+       `-- piei.fw
47+-- boot.vfat
48+-- extlinux
49+   `-- extlinux.conf
50+-- fip
51+   +-- u-boot.bin
52+   +-- u-boot.bin.sd.bin
53+   +-- u-boot.bin.usb.bl2
54+   `-- u-boot.bin.usb.tpl
55+-- Image
56+-- meson-g12b-a311d-khadas-vim3.dtb
57+-- rootfs.ext2
58+-- rootfs.ext4 -> rootfs.ext2
59+-- rootfs.tar
60+-- sdcard.img
61`-- u-boot.bin
62
63The post-image script uses the files in the amlogic-boot-fip folder to sign
64the bootloader image before integrating it into the sdcard image.
65
66To copy the image file to the sdcard use dd:
67$ dd if=output/images/sdcard.img of=/dev/sdX
68
69Tested hardware
70===============
71Khadas vim3 (rev. 14)
72