From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Nelson Date: Sat, 22 Feb 2014 14:16:28 -0700 Subject: [U-Boot] Porting a freescale sabrelite-like board to master ? In-Reply-To: <53090207.5060003@free.fr> References: <5308E4D1.5000509@free.fr> <20140222192018.AC7B23802AE@gemini.denx.de> <53090207.5060003@free.fr> Message-ID: <530913AC.3000807@boundarydevices.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Thierry, On 02/22/2014 01:01 PM, Thierry Bultel wrote: > Le 22/02/2014 20:20, Wolfgang Denk a ?crit : >> Dear Thierry, >> >> In message <5308E4D1.5000509@free.fr> you wrote: >>> The board I am working on, is based on the Freescale sabrelite board, >>> the manufacturer provides >>> support for it , as an about 1000 lines patch that applies to >>> rel_imx_3.0.35_4.1.0 >>> (3.0.35_4.1.0 is the kernel version I am using) >> The kernel version is actually totally uninteresting here. What >> matters is what U-Boot version you have. Let me guess - it is some >> v2009.x - i. e. 5 year old stuff? > > Dear Wolfgang, > > Sorry for the confusion. I should have been more specific. > What I meant is that my current u-boot version is > tag "rel_imx_3.0.35_4.1.0" from > http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git > > If I was mentioning the kernel version, it is just to say that switching > to a more recent kernel > version is not an option, because we do not have a device tree BSP for it. > Support for SABRE Lite is in the main-line kernel as well, but that's a completely separate topic. >>> So what would be the easiest and time less costing option to achieve >>> what I want to do ? >> It is best to take current code (top of tree in git repository) and >> port it to your hardware from scratch. You can use your old code as >> reference, for example how to set up pin muxing and such. Otherwise >> it is pretty much worthless. > > If the sabrelite board would still be supported in master, it would be > straightforward. > So I am thinking about re-bringing support for sabrelite my branch, first. > It **is** still in master. It just uses board/boundary/nitrogen6x.c as the implementation. It doesn't look anything like the 2009.08 code base, because, as Wolfgang said, that's very old. Regards, Eric