[U-Boot] smdk2416 board support

Hi,
We have a board based on smdk2416 and we received from the kit manufacturer, from which we based our own board a custom u-boot, which contains support for the following SMDK boards:
2412 2416 2440 2442 2443 2450 6400 6410 6430 c100
We are only interested in 2416 atm, but since we use Buildroot, it would make our lives a lot easier if this was upstream instead of this .tar.bz2 file. How would we proceed to add at least 2416 support to upstream? Can I just update it to HEAD? Should I rewrite it entierly? The board/samsung/smdk2416/smdk2416.c file contains the following copyright notice:
/* * (C) Copyright 2007-2008 * Jong - pill, Lee boyko.lee@samsung.com * * (C) Copyright 2002 * David Mueller, ELSOFT AG, d.mueller@elsoft.ch * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA */
Please advise.
Kind Regards, Thiago A. Correa

Dear =?ISO-8859-1?Q?Thiago_A=2E_Corr=EAa?=,
In message BANLkTi=yQ5YsvQSDUe-_fBgfssH6BoUs1g@mail.gmail.com you wrote:
We have a board based on smdk2416 and we received from the kit
manufacturer, from which we based our own board a custom u-boot, which contains support for the following SMDK boards:
This is obviously one of the many out-of-tree ports that exist.
We are only interested in 2416 atm, but since we use Buildroot, it
would make our lives a lot easier if this was upstream instead of this .tar.bz2 file.
Indeed.
How would we proceed to add at least 2416 support to upstream? Can
I just update it to HEAD? Should I rewrite it entierly?
You can extract the patches that refer to your hardware only and submit these as patches against the current top of tree; for details please see http://www.denx.de/wiki/U-Boot/Patches
You better be prepared that some clean up and other rework will be needed.
Best regards,
Wolfgang Denk

Hi,
Sorry for the shameless advertising, but I thought that perhaps someone would be interested to know that I've started working on this, and I was able to convince ppl here to offer a small bounty on getting this work done, and done properly. So I've posted a project on freelancer.com (http://www.freelancer.com/projects/C-Programming/Port-boot-custom-code-mainl...).
Kind Regards, Thiago A. Correa
participants (2)
-
Thiago A. Corrêa
-
Wolfgang Denk