On Thursday, January 08, 2015 09:22:54 you wrote:
> On Wed, 07 Jan 2015 11:48:54 +0100
> Lars Doelle <[email protected]> wrote:
> 
> > Hi Siarhei,
> > 
> > currently I struggle somewhat getting mainline u-boot going on my
> > tablet [[Tristan-Auron-Planet-1]]. This is very strange, since mainline
> > u-boot behaves flawless with my Lime2 board that I use otherwise
> > to track down such issues.
> > 
> > In some thread on the linux-sunxi maillist you offered:
> > 
> > > If you are interested, then I can provide instructions about how to
> > > build u-boot with the serial console output through MicroSD breakout,
> > > the kernel, and buildroot based initramfs for testing WLAN.
> > 
> > Perhaps, this could be a way to go for me, as i have a MicroSD breakout
> > at hand. If you could send the instructions in particular related to u-boot
> > (both sunxi and mainline, it different) I would try to reproduce your 
> > method.
> > 
> > If this works, I'll gladly document it in the wiki, as i consider this 
> > method
> > to be more commonly usable but soldering on the boards.
> 
> Hi.
> 
> Could you actually move this to the mailing list?

I hereby do.

 
> Basically, you just need to add the following lines to the
> relevant u-boot *_defconfig file:
> 
> +S:CONFIG_SPL_FEL=y
> +S:CONFIG_UART0_PORT_F=y

Ah! There's the secret switch...

 
> Or select these options in u-boot menuconfig. Please not that
> menuconfig needs to be run twice: once for u-boot and once for
> the SPL. This is very inconvenient and error prone, so editing
> *_defconfig is easier. After you have built u-boot, it can be
> booted over the micro-sub cable (because the sd card slot is
> occupied by the breakout board).

The remainder, I think, is already well documented in [[FEL/USBBoot]].

 
> Then you need to use the 'fel' tool from the
> https://github.com/linux-sunxi/sunxi-tools repository.
> 
> First make sure that the device enters the FEL mode. It can be
> tested by running "fel ver" on your PC. If it recognizes the
> device, then a string with some basic information will be shown.
> 
> If you are in the FEL mode, then the sequence of commands to load
> u-boot is the following:
> 
>     fel write 0x2000 spl/u-boot-spl.bin
>     fel exe   0x2000
> 
>     sleep 1 # Wait for DRAM initialization to complete
> 
>     fel write 0x4a000000 u-boot.bin
>     fel exe   0x4a000000
> 
> After running this, you should see the messages from u-boot on
> the serial console, successfully initializing DRAM and entering
> the command prompt mode.
> 
> The u-boot part is done. Maybe that's enough for you. The next part
> is loading the kernel and initramfs. I can provide more instructions
> later.


> There are rough edges here and there which need to be simplified
> and it needs a bit of work. That's why I asked in the mailing list
> whether anyone is interested, just to be sure that I'm not wasting
> time :-)


Thanks,  Lars

-- 
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