From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?RW1pbGlvIEzDs3Bleg==?= Date: Sun, 21 Dec 2014 17:40:23 -0300 Subject: [U-Boot] [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot In-Reply-To: <20141221222846.3bcb88eb@i7> References: <5495BF7F.4070804@redhat.com> <549726EE.8050108@elopez.com.ar> <20141221222846.3bcb88eb@i7> Message-ID: <54973037.9010404@elopez.com.ar> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, El 21/12/14 a las 17:28, Siarhei Siamashka escibi?: > On Sun, 21 Dec 2014 17:00:46 -0300 > Emilio L?pez wrote: > >> Hi Hans, >> >> El 20/12/14 a las 15:27, Hans de Goede escibi?: >>> Hi All, >>> >>> There are 3 topics which I would like to cover in this mail: >>> >>> 1) Switching over to upstream u-boot for the linux-sunxi project >> (...) >>> Here are some example instructions on how to build upstream u-boot for >>> the Cubietruck: >>> >>> git clone git://git.denx.de/u-boot.git >>> cd u-boot >>> make -j4 CROSS_COMPILE=arm-linux-gnu- Cubietruck_defconfig >>> # If you want to use an upstream kernel the next steps can be skipped (*) >>> make -j4 CROSS_COMPILE=arm-linux-gnu- menuconfig >>> # select "ARM architecture" -> "Enable workarounds for booting old >>> kernels" >>> # exit & save >>> make -j4 CROSS_COMPILE=arm-linux-gnu- spl/menuconfig >>> # select "ARM architecture" -> "Enable workarounds for booting old >>> kernels" >>> # exit & save >>> # skip to here if you're using an upstream kernel >>> make -j4 CROSS_COMPILE=arm-linux-gnu- >>> >>> And now you will have a u-boot-sunxi-with-spl.bin to dd to your sdcard as >>> usual. >> (...) >> >> So I thought it'd be a good idea to move over to mainline uboot, but it >> doesn't seem to be working at all on Cubietruck. When applying power to >> the board, all I get is >> >> U-Boot SPL 2015.01-rc3-00163-gd8bec60 (Dec 21 2014 - 16:43:41) >> DRAM:Timeout initialising DRAM >> >> resetting ... >> >> U-Boot SPL 2015.01-rc3-00163-gd8bec60 (Dec 21 2014 - 16:43:41) >> DRAM:Timeout initialising DRAM >> >> resetting ... >> >> ...ad infinitum. >> >> The hardware itself is fine, the NAND bootloader runs OK and I used the >> board with an old uboot-sunxi some days back. Any ideas on what may be >> going on? > > Thanks for reporting this. > > First of all, please ensure that there is no obvious misconfiguration. > For example, whether you have really configured u-boot for Cubietruck. Sorry for the noise, I messed up and was using the Cubieboard config instead of the Cubietruck one >.< Seems to work fine other than this warning: Error: dwmac.1c50000 address ab:cd:ef:ab:cd:ef illegal value Cheers! Emilio