From mboxrd@z Thu Jan 1 00:00:00 1970 From: drEagle Date: Fri, 10 Apr 2015 02:08:56 +0200 Subject: [U-Boot] Request for tutorial In-Reply-To: <20150409174416.GW9524@bill-the-cat> References: <5526A6D5.6040202@doukki.net> <20150409174416.GW9524@bill-the-cat> Message-ID: <55271498.6060405@doukki.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Le 09/04/2015 19:44, Tom Rini a ?crit : > On Thu, Apr 09, 2015 at 06:20:37PM +0200, drEagle wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> Hi all, >> >> Is there any tutorial to help integrating a new platform into mainline u-boot ? >> I may propose a new board upsream but the only information I have are an older refork uboot. >> >> Any advice will be welcome. > > No, but it depends on both how old the old fork is and what does / > doesn't exist upstream already. If for example the SoC core already > exists in mainline, mainly use the old code base to move the "board" > specific part up. If the SoC isn't there in mainline, you can probably > drop-in the old code base easily enough and get it building / linking, > and then clean it up. But it really depends on just how old the fork > is. The Hardware is a ZYXEL NSA310S. The NS310S is a DB-88F6702A-BPE board, also known as DB6702A-GMtech. Like in DLINK DNS-320 (B2) or LaCie CloudBox. The SOC is a Marvell 88F6282 (ARMADA 300). The Armada 300 is in the KIRKWOOD family. The 88F6282 is not upstream. The GPL code from Zyxel is based on Marvell 3.6.0. The Marvell u-boot are based on the U-Boot 1.1.4. My study references are shared on a wiki[1] [1] https://doukki.net/doku.php?id=hard:arm:armada:armada-zyxel-nsa310 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVJxSYAAoJEIoWzNw2mnfMlywH/1lKXS1emJCsRGdtpKVqII3m 8xukoM147UjWQzuUC87dY/XEhxxfQkx5Kb2QmAQRbm6celfGroNAOQq9XzNfUCeE sB+4LeKPqJaMGiv5RLu904OiV3LRGpmh8uSFsgHdICFPuvhRgsv2VRQPtHiIlCgl w+T+YwPBmoX+F/HPrrsmidsisDO3TZUSQ5MXJkmAY15Z3WwFjTVC+Il2A4VCak3h d29iZQ4+dkmkeUF1GxgZozLSxqbHdm8gVwRpTvzpYhsvOkYF6+aeHRDw4WxPlOwJ uVXnHZP1N3yijuYgRrq2iXRY/tTgkweWXjVRKumKUwuN/J5ucoZYBlNvr2vGU6c= =yyvb -----END PGP SIGNATURE-----