[Buildroot] [PATCH] board: mini2440: Add custom patches and configs for 2.6.38 kernel series.
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue May 17 07:40:52 UTC 2011
Hello Marek,
On Tue, 17 May 2011 08:55:51 +0200
Marek Belisko <marek.belisko at open-nandra.com> wrote:
> Mini2440 board have except some patches full support in 2.6.38 kernel.
> Just add custom patches and adapt default config to have possibility to
> build kernel and barebox.
>
> Barebox also need some patches but currently it't impossible to do so
> just select latest v2011.05.0 where mini2440 have full support. There is
> difference between 64M boards and >128MB boards.
>
> Patches for kernel was overtaken from pengutronix OSELAS BSP for mini2440.
>
> Signed-off-by: Marek Belisko <marek.belisko at open-nandra.com>
> ---
> ...40_mini2440_Add_support_for_new_LCD_panels.diff | 65 +
> ...i2440_Add_touchscreen_support_for_mini2440.diff | 69 +
> ...440_mini2440_Select_touchscreen_by_default.diff | 20 +
> ...e_leds-gpio_driver_for_board_leds_handling.diff | 173 +++
> ...005-Drop_exporting_s3c24xx_ts_set_platdata.diff | 29 +
> .../mini2440/0006-fix_gpio_register.diff | 40 +
> .../mini2440/0007-speed_up_NAND_mounting.diff | 35 +
> .../friendlyarm/mini2440/0008-make_all_const.diff | 26 +
> ...009-PATCH_1_1_nand_Fix_S3C_NAND_clock_stop.diff | 165 +++
> .../mini2440/0010-remove_device_file.diff | 21 +
> .../mini2440/0011-make_debug_decision_const.diff | 65 +
> .../friendlyarm/mini2440/0012-just_a_cleanup.diff | 67 +
> .../0013-enable_screen_without_console.diff | 25 +
> board/friendlyarm/mini2440/0014-add_hwmon.diff | 108 ++
I don't know if Peter will like the fact of adding such a number of
patches for a specific hardware, but anyway.
Those files should be named *.patch and not *.diff, as done in the rest
of Buildroot.
> board/friendlyarm/mini2440/linux-2.6.32.2.config | 1409 --------------------
> configs/mini2440_defconfig | 634 +++++++++-
This one should be a minimal configuration file, generated by "make
savedefconfig".
> +BR2_LINUX_KERNEL_PATCH="board/friendlyarm/mini2440/*"
This should be board/friendlyarm/mini2440/ (which will work once you
have renamed the patches to *.patch).
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list