diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2022-09-22 14:03:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2022-09-22 14:03:07 +0200 |
commit | ba48db8275730fbc512c0872ae426970a09b5619 (patch) | |
tree | f64154d20f3faada75a3b9ef2baeeff012dac76a /target/arm/st-stm32f746g | |
parent | 56ede91e9f8f8211a6fc62cd5f56d95a76fec9a7 (diff) |
add support for STM32F746G-DISCO device
Tested with toolbox / simpleinit as userland.
FDPIC/FLAT support both successfully tested.
No LCD or Ethernet support.
Diffstat (limited to 'target/arm/st-stm32f746g')
-rw-r--r-- | target/arm/st-stm32f746g/extlinux.conf | 4 | ||||
-rw-r--r-- | target/arm/st-stm32f746g/genimage.cfg | 27 |
2 files changed, 31 insertions, 0 deletions
diff --git a/target/arm/st-stm32f746g/extlinux.conf b/target/arm/st-stm32f746g/extlinux.conf new file mode 100644 index 000000000..9a6728417 --- /dev/null +++ b/target/arm/st-stm32f746g/extlinux.conf @@ -0,0 +1,4 @@ +label stm32f746g-disco-openadk + kernel /kernel + devicetree /stm32f746-disco.dtb + append console=ttySTM0,115200 root=/dev/mmcblk0p2 rw rootwait consoleblank=0 diff --git a/target/arm/st-stm32f746g/genimage.cfg b/target/arm/st-stm32f746g/genimage.cfg new file mode 100644 index 000000000..79e9e89f0 --- /dev/null +++ b/target/arm/st-stm32f746g/genimage.cfg @@ -0,0 +1,27 @@ +image boot.vfat { + vfat { + files = { + "kernel", + "stm32f746-disco.dtb", + "extlinux" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext" + size = 32M + } +} |