Re: [linux-sunxi] Re: fel-sdboot.sunxi problems on Cubietruck and A20-OLinuXino-MICRO

2016-01-06 Thread Siarhei Siamashka
On Fri, 1 Jan 2016 12:38:53 +0900 Naoki FUKAUMI wrote: > in addition to add "-marm" to gcc, add "-R .note.gnu.build-id" to objcopy. I would appreciate if somebody could submit a complete patch with the necessary fixes and a proper commit message. Of course, it also needs to be

Re: [linux-sunxi] Re: fel-sdboot.sunxi problems on Cubietruck and A20-OLinuXino-MICRO

2016-01-06 Thread Piotr Król
On Wed, Jan 06, 2016 at 12:32:16PM +0200, Siarhei Siamashka wrote: > On Fri, 1 Jan 2016 12:38:53 +0900 > Naoki FUKAUMI wrote: > > > in addition to add "-marm" to gcc, add "-R .note.gnu.build-id" to objcopy. Naoki, unfortunately this doesn't help me with booting FEL using SD.

Re: [linux-sunxi] Re: fel-sdboot.sunxi problems on Cubietruck and A20-OLinuXino-MICRO

2016-01-06 Thread Naoki FUKAUMI
On Wed, Jan 6, 2016 at 10:46 PM, Piotr Król wrote: > On Wed, Jan 06, 2016 at 12:32:16PM +0200, Siarhei Siamashka wrote: >> On Fri, 1 Jan 2016 12:38:53 +0900 >> Naoki FUKAUMI wrote: >> >> > in addition to add "-marm" to gcc, add "-R .note.gnu.build-id" to

[linux-sunxi] Re: fel-sdboot.sunxi problems on Cubietruck and A20-OLinuXino-MICRO

2016-01-04 Thread Bernhard Nortmann
Am Dienstag, 29. Dezember 2015 22:33:08 UTC+1 schrieb Piotr Król: This image also cannot enter FEL mode. Have you got access to >4.7 GCC on Gentoo ? Can you try it ? I've recently updated my crossdev-toolchain - it doesn't change much. Using sunxi-tools # armv7a-hardfloat-linux-gnueabi-gcc

Re: [linux-sunxi] Re: fel-sdboot.sunxi problems on Cubietruck and A20-OLinuXino-MICRO

2015-12-31 Thread Naoki FUKAUMI
hi, in addition to add "-marm" to gcc, add "-R .note.gnu.build-id" to objcopy. On Wed, Dec 30, 2015 at 6:33 AM, Piotr Król wrote: > On Tue, Dec 29, 2015 at 11:16:57AM +0200, Siarhei Siamashka wrote: >> Hi Piotr, >> >> Thanks for providing the logs. >> >> On Tue, 29 Dec

[linux-sunxi] Re: fel-sdboot.sunxi problems on Cubietruck and A20-OLinuXino-MICRO

2015-12-29 Thread Bernhard Nortmann
For reference: The fel-sdboot.bin I compiled myself was also done with a Gentoo cross-compiler sunxi-tools # armv7a-hardfloat-linux-gnueabi-gcc -v Using built-in specs. COLLECT_GCC=/usr/i686-pc-linux-gnu/armv7a-hardfloat-linux-gnueabi/gcc-bin/4.8.3/armv7a-hardfloat-linux-gnueabi-gcc

[linux-sunxi] Re: fel-sdboot.sunxi problems on Cubietruck and A20-OLinuXino-MICRO

2015-12-29 Thread Bernhard Nortmann
I've just noticed that omitting all options from the compilation alters the binary. With the options explicitly listed in fel-sdboot.c, I get this: sunxi-tools # armv7a-hardfloat-linux-gnueabi-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -nostdinc

Re: [linux-sunxi] Re: fel-sdboot.sunxi problems on Cubietruck and A20-OLinuXino-MICRO

2015-12-29 Thread Piotr Król
On Tue, Dec 29, 2015 at 11:16:57AM +0200, Siarhei Siamashka wrote: > Hi Piotr, > > Thanks for providing the logs. > > On Tue, 29 Dec 2015 01:25:25 +0100 > Piotr Król wrote: > > > Using built-in specs. > > COLLECT_GCC=arm-linux-gnueabihf-gcc > >

Re: [linux-sunxi] Re: fel-sdboot.sunxi problems on Cubietruck and A20-OLinuXino-MICRO

2015-12-29 Thread Siarhei Siamashka
Hi Piotr, Thanks for providing the logs. On Tue, 29 Dec 2015 01:25:25 +0100 Piotr Król wrote: > Using built-in specs. > COLLECT_GCC=arm-linux-gnueabihf-gcc >

[linux-sunxi] Re: fel-sdboot.sunxi problems on Cubietruck and A20-OLinuXino-MICRO

2015-12-28 Thread Piotr Król
On Thu, Dec 17, 2015 at 01:19:02PM +0100, Piotr Król wrote: > Hi all, > I'm trying to enter FEL mode by using SD card image provided in > sunxi-tools. I follow procedure: > > http://linux-sunxi.org/FEL#Through_a_special_SD_card_image > > it doesn't seem to work as expected. Booting process

Re: [linux-sunxi] Re: fel-sdboot.sunxi problems on Cubietruck and A20-OLinuXino-MICRO

2015-12-28 Thread Siarhei Siamashka
On Mon, 28 Dec 2015 13:18:46 +0100 Piotr Król wrote: > On Thu, Dec 17, 2015 at 01:19:02PM +0100, Piotr Król wrote: > > Hi all, > > I'm trying to enter FEL mode by using SD card image provided in > > sunxi-tools. I follow procedure: > > > >

Re: [linux-sunxi] Re: fel-sdboot.sunxi problems on Cubietruck and A20-OLinuXino-MICRO

2015-12-28 Thread Piotr Król
On Mon, Dec 28, 2015 at 07:18:29PM +0200, Siarhei Siamashka wrote: > On Mon, 28 Dec 2015 13:18:46 +0100 > Piotr Król wrote: > > > On Thu, Dec 17, 2015 at 01:19:02PM +0100, Piotr Król wrote: > > > Hi all, > > > I'm trying to enter FEL mode by using SD card image provided in

[linux-sunxi] Re: fel-sdboot.sunxi problems on Cubietruck and A20-OLinuXino-MICRO

2015-12-18 Thread Bernhard Nortmann
Hi Piotr! I've tried this on an A20 Banana Pi (model 1), and entering FEL mode works for me - both with the prebuilt bin/fel-sdboot.sunxi and with a binary freshly compiled from fel-sdboot.c according to instructions. With the SD card prepared and inserted, powering on or resetting the A20