Hi,

On 31-12-14 18:16, Gerardo Di Iorio wrote:
hi,

2014-11-15 17:22 GMT+01:00 Iain Paton <[email protected]>:

On 15/11/14 13:18, Vishnu Patekar wrote:

Followed the steps mentioned at
http://linux-sunxi.org/Mainline_Kernel_Howto
I've enabled the DEBUG_LL, DEBUG_SUNXI_UART0 , still While booting it on
Olimex
A20-OLinuXino-Lime2 <http://linux-sunxi.org/Olimex_A20-OLinuXino-Lime2>
does
not go beyond "starting kernel..."

If you want to use mainline u-boot with sunxi kernels (rather then the
mainline kernel) you need to enable the old kernel compatibility in
u-boot's .config and spl/.config as outlined in the thread titled:

"linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream 
u-boot"

And specifically this bit from the mail starting that thread:

###

2. How to build upstream u-boot for use with linux-sunxi sunxi-3.4 kernels
==========================================================================

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.

If you look in the upstream configs directory you will already find
defconfig files for a lot of popular boards there, replace
Cubietruck_defconfig with the one for your board to build u-boot for your
board.

###

Regards,

Hans

--
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to