Message ID | 20230629053130.3976-3-jeanmichel.hautbois@yoseli.org |
---|---|
State | Changes Requested |
Headers | show |
Series | Add support for the MCF54418 Coldfire | expand |
Jean-Michel, All, On 2023-06-29 07:31 +0200, Jean-Michel Hautbois spake thusly: > The Coldfire MCF54418 needs a board to give the proper linux defconfig > to buildroot. Add it based on a simplified Linux stmark2_defconfig file. > > Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org> > --- > board/qemu/m68k-mcf54418/linux.config | 23 +++++++++++++++++++++++ This file is unused as of this patch; it only gets used in patch 3, when you eventually do add the qemu defcconfig, which is where you should also add the corresponding kernel config. No need to rsend, these two can be squashed together when applying. Regards, Yann E. MORIN. > 1 file changed, 23 insertions(+) > create mode 100644 board/qemu/m68k-mcf54418/linux.config > > diff --git a/board/qemu/m68k-mcf54418/linux.config b/board/qemu/m68k-mcf54418/linux.config > new file mode 100644 > index 0000000000..e950052061 > --- /dev/null > +++ b/board/qemu/m68k-mcf54418/linux.config > @@ -0,0 +1,23 @@ > +CONFIG_COLDFIRE=y > +CONFIG_M5441x=y > +CONFIG_CLOCK_FREQ=240000000 > +CONFIG_STMARK2=y > +CONFIG_UBOOT=y > +CONFIG_RAMBASE=0x40000000 > +CONFIG_RAMSIZE=0x8000000 > +CONFIG_VECTORBASE=0x40000000 > +CONFIG_KERNELBASE=0x40001000 > +# CONFIG_BLK_DEV_BSG is not set > +CONFIG_BINFMT_FLAT=y > +CONFIG_SERIAL_MCF=y > +CONFIG_SERIAL_MCF_BAUDRATE=115200 > +CONFIG_SERIAL_MCF_CONSOLE=y > +CONFIG_BOOTPARAM=y > +CONFIG_BOOTPARAM_STRING="console=ttyS0,115200" > +CONFIG_NET=y > +CONFIG_PACKET=y > +CONFIG_UNIX=y > +CONFIG_INET=y > +CONFIG_NETDEVICES=y > +CONFIG_NET_VENDOR_FREESCALE=y > +CONFIG_FEC=y > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot
diff --git a/board/qemu/m68k-mcf54418/linux.config b/board/qemu/m68k-mcf54418/linux.config new file mode 100644 index 0000000000..e950052061 --- /dev/null +++ b/board/qemu/m68k-mcf54418/linux.config @@ -0,0 +1,23 @@ +CONFIG_COLDFIRE=y +CONFIG_M5441x=y +CONFIG_CLOCK_FREQ=240000000 +CONFIG_STMARK2=y +CONFIG_UBOOT=y +CONFIG_RAMBASE=0x40000000 +CONFIG_RAMSIZE=0x8000000 +CONFIG_VECTORBASE=0x40000000 +CONFIG_KERNELBASE=0x40001000 +# CONFIG_BLK_DEV_BSG is not set +CONFIG_BINFMT_FLAT=y +CONFIG_SERIAL_MCF=y +CONFIG_SERIAL_MCF_BAUDRATE=115200 +CONFIG_SERIAL_MCF_CONSOLE=y +CONFIG_BOOTPARAM=y +CONFIG_BOOTPARAM_STRING="console=ttyS0,115200" +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_NETDEVICES=y +CONFIG_NET_VENDOR_FREESCALE=y +CONFIG_FEC=y
The Coldfire MCF54418 needs a board to give the proper linux defconfig to buildroot. Add it based on a simplified Linux stmark2_defconfig file. Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org> --- board/qemu/m68k-mcf54418/linux.config | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 board/qemu/m68k-mcf54418/linux.config