Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2015-01-21 Thread Hans de Goede
Hi, On 20-01-15 18:02, Iain Paton wrote: On 19/01/15 14:55, Hans de Goede wrote: only changes Boot in secure mode by default which can be changed by setting the bootm_boot_mode env variable to either sec or nonsec before calling bootm. Question, how can I do that when only using

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2015-01-20 Thread Iain Paton
On 19/01/15 14:55, Hans de Goede wrote: only changes Boot in secure mode by default which can be changed by setting the bootm_boot_mode env variable to either sec or nonsec before calling bootm. Question, how can I do that when only using extlinux.conf ? It would be really nice to be able to

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2015-01-20 Thread Peter Mattern
Am 19.01.2015 um 15:55 schrieb Hans de Goede: Setting Enable workarounds for booting old kernels also changes a divider in pll5, as older linux-sunxi kernels have the divider hardcoded rather then looking at what the bootloader actually programmed. Other then that it indeed only changes Boot

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2015-01-19 Thread Hans de Goede
Hi, On 19-01-15 15:43, Peter Mattern wrote: Hi. While testing your instructions I happened to see that u-boot-sunxi-with-spl.bin's size is exactly the same with or without Enable workarounds for booting old kernels set as described in your mail. This got me wonder about the effects of the

Re: u-boot olimex a13-lcd10ts (now aka LCD-OLinuXino-10TS?) (Was: Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot)

2015-01-18 Thread Hans de Goede
Hi, On 18-01-15 13:42, Jens Thiele wrote: Hans de Goede hdego...@redhat.com writes: I've created and attached a defconfig for 20-OLinuXino-MICRO + A13-LCD10TS, can you give this a try with my personal git tree, sunxi-wip branch: https://github.com/jwrdegoede/u-boot-sunxi/tree/sunxi-wip

u-boot olimex a13-lcd10ts (now aka LCD-OLinuXino-10TS?) (Was: Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot)

2015-01-18 Thread Jens Thiele
Hans de Goede hdego...@redhat.com writes: I've created and attached a defconfig for 20-OLinuXino-MICRO + A13-LCD10TS, can you give this a try with my personal git tree, sunxi-wip branch: https://github.com/jwrdegoede/u-boot-sunxi/tree/sunxi-wip [...] CONFIG_SPL=y

Re: A20-OLinuXino-MICRO + A13-LCD10TS and mainline kernel (Was: Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot)

2015-01-12 Thread Hans de Goede
Hi, On 11-01-15 23:03, Jens Lucius wrote: I am also trying to get the touchscreen working (olimex 4.3 Inch display works fine, thanks!) I tried using the driver in the mainline kernel which I suppose was posted first here: https://groups.google.com/forum/#!topic/linux-sunxi/DzcsAsvmrcM Any

Re: A20-OLinuXino-MICRO + A13-LCD10TS and mainline kernel (Was: Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot)

2015-01-12 Thread Hans de Goede
Hi, On 11-01-15 21:26, Jens Thiele wrote: Hans de Goede hdego...@redhat.com writes: On 10-01-15 21:38, Jens Thiele wrote: what's missing: - touchscreen doesn't work (not sure why) Likely because the upstream kernel does not yet have a driver for it. thought it is sun4i-ts and that it is

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2015-01-12 Thread Jens Thiele
Michal Suchanek hramr...@gmail.com writes: Is this being fixed? Depending on particular toolchain default ABI just because somebody decided to frob compiler options is kind of stupid. for the archives: looks like this is fixed in current¹ master (didn't find when/how this was fixed)? jens

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2015-01-12 Thread Hans de Goede
Hi, On 12-01-15 15:57, Jens Thiele wrote: Michal Suchanek hramr...@gmail.com writes: Is this being fixed? Depending on particular toolchain default ABI just because somebody decided to frob compiler options is kind of stupid. for the archives: looks like this is fixed in current¹ master

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2015-01-11 Thread Hans de Goede
Hi, On 10-01-15 21:38, Jens Thiele wrote: Hans de Goede hdego...@redhat.com writes: [...] Note that when used with a 3.19 kernel + this patch: https://github.com/jwrdegoede/linux-sunxi/commit/d1b7faa5c69ef1ad52b739aa88cd803e08955360 This will also give you video out support while using an

A20-OLinuXino-MICRO + A13-LCD10TS and mainline kernel (Was: Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot)

2015-01-11 Thread Jens Thiele
Hans de Goede hdego...@redhat.com writes: On 10-01-15 21:38, Jens Thiele wrote: what's missing: - touchscreen doesn't work (not sure why) Likely because the upstream kernel does not yet have a driver for it. thought it is sun4i-ts and that it is already in mainline, but will have to take a

Re: A20-OLinuXino-MICRO + A13-LCD10TS and mainline kernel (Was: Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot)

2015-01-11 Thread Jens Lucius
I am also trying to get the touchscreen working (olimex 4.3 Inch display works fine, thanks!) I tried using the driver in the mainline kernel which I suppose was posted first here: https://groups.google.com/forum/#!topic/linux-sunxi/DzcsAsvmrcM Any reason why this should not work (Olimex

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2015-01-10 Thread Jens Thiele
Hans de Goede hdego...@redhat.com writes: [...] Note that when used with a 3.19 kernel + this patch: https://github.com/jwrdegoede/linux-sunxi/commit/d1b7faa5c69ef1ad52b739aa88cd803e08955360 This will also give you video out support while using an upstream kernel. just tested - and it works

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-31 Thread Michal Suchanek
Hello, On 28 December 2014 at 17:15, Chen-Yu Tsai w...@csie.org wrote: On Mon, Dec 29, 2014 at 12:11 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 28-12-14 16:51, Jens Thiele wrote: LD u-boot ld.bfd: error: /usr/lib/gcc/arm-linux-gnueabihf/4.9/libgcc.a(bpabi.o) uses VFP

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-30 Thread Hans de Goede
Hi, On 29-12-14 23:47, Jens Thiele wrote: Chen-Yu Tsai w...@csie.org writes: On Mon, Dec 29, 2014 at 12:11 AM, Hans de Goede hdego...@redhat.com wrote: Weird, you did build upstream u-boot from source for your previous tests. right? and then it did work, right ? yes It seems some

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-29 Thread Jens Thiele
Chen-Yu Tsai w...@csie.org writes: On Mon, Dec 29, 2014 at 12:11 AM, Hans de Goede hdego...@redhat.com wrote: Weird, you did build upstream u-boot from source for your previous tests. right? and then it did work, right ? yes It seems some recent changes in upstream broke building with

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-28 Thread Hans de Goede
Hi, On 23-12-14 10:59, Jens Thiele wrote: Hans de Goede hdego...@redhat.com writes: 2) How to build upstream u-boot for use with linux-sunxi sunxi-3.4 kernels [...] just wanted to report: success and thank you! will switch to upstream u-boot works for me using: A20-OLinuXino-MICRO +

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-28 Thread Julian Calaby
Hi Hans, On Sun, Dec 28, 2014 at 7:59 PM, Hans de Goede hdego...@redhat.com wrote: Hi, On 23-12-14 10:59, Jens Thiele wrote: Hans de Goede hdego...@redhat.com writes: 2) How to build upstream u-boot for use with linux-sunxi sunxi-3.4 kernels [...] just wanted to report: success and

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-28 Thread Hans de Goede
Hi, On 28-12-14 11:12, Julian Calaby wrote: Hi Hans, On Sun, Dec 28, 2014 at 7:59 PM, Hans de Goede hdego...@redhat.com wrote: Hi, On 23-12-14 10:59, Jens Thiele wrote: Hans de Goede hdego...@redhat.com writes: 2) How to build upstream u-boot for use with linux-sunxi sunxi-3.4 kernels

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-28 Thread Jens Thiele
Hans de Goede hdego...@redhat.com writes: [...] Correct, the default environment of upstream u-boot does not read uEnv.txt, but usually old setups come with a boot.scr which does read uEnv.txt and it should honor your boot.scr, this works for e.g. the Fedora allwinner remix images. i see,

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-28 Thread Hans de Goede
Hi, On 28-12-14 16:51, Jens Thiele wrote: Hans de Goede hdego...@redhat.com writes: [...] Correct, the default environment of upstream u-boot does not read uEnv.txt, but usually old setups come with a boot.scr which does read uEnv.txt and it should honor your boot.scr, this works for e.g.

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-28 Thread Chen-Yu Tsai
On Mon, Dec 29, 2014 at 12:11 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 28-12-14 16:51, Jens Thiele wrote: Hans de Goede hdego...@redhat.com writes: [...] Correct, the default environment of upstream u-boot does not read uEnv.txt, but usually old setups come with a boot.scr

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-23 Thread Jens Thiele
Hans de Goede hdego...@redhat.com writes: 2) How to build upstream u-boot for use with linux-sunxi sunxi-3.4 kernels [...] just wanted to report: success and thank you! will switch to upstream u-boot works for me using: A20-OLinuXino-MICRO + A13-LCD10TS (A20-OLinuXino_MICRO_defconfig) and

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-22 Thread Michal Suchanek
On 20 December 2014 at 19:27, Hans de Goede hdego...@redhat.com wrote: 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 2) How to build upstream u-boot for use with linux-sunxi sunxi-3.4 kernels 3) Adding

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-22 Thread Hans de Goede
Hi, On 22-12-14 09:32, Michal Suchanek wrote: On 20 December 2014 at 19:27, Hans de Goede hdego...@redhat.com wrote: 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 2) How to build upstream u-boot for use

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-22 Thread Hans de Goede
Hi, On 21-12-14 21:40, Emilio López wrote: snip 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.1c5 address ab:cd:ef:ab:cd:ef illegal value Weird, try doing: setenv ethaddr

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-22 Thread Ian Campbell
On Mon, 2014-12-22 at 14:53 +0100, Hans de Goede wrote: Or alternatively, nuke your environment so that you get the default one using: sudo dd if=/dev/zero of=/dev/sdc bs=1024 seek=544 count=256 You can do this with the env command from the u-boot cmdline too. I forget the parameters, but

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-22 Thread Siarhei Siamashka
On Mon, 22 Dec 2014 14:50:09 +0100 Hans de Goede hdego...@redhat.com wrote: Hi, On 22-12-14 09:32, Michal Suchanek wrote: On 20 December 2014 at 19:27, Hans de Goede hdego...@redhat.com wrote: Hi All, There are 3 topics which I would like to cover in this mail: 1) Switching over

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-21 Thread Emilio López
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

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-21 Thread Siarhei Siamashka
On Sun, 21 Dec 2014 17:00:46 -0300 Emilio López emi...@elopez.com.ar 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

Re: [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-21 Thread Emilio López
Hi, El 21/12/14 a las 17:28, Siarhei Siamashka escibió: On Sun, 21 Dec 2014 17:00:46 -0300 Emilio López emi...@elopez.com.ar 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

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

2014-12-20 Thread Hans de Goede
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 2) How to build upstream u-boot for use with linux-sunxi sunxi-3.4 kernels 3) Adding more boards to upstream u-boot 1. Switching over to upstream u-boot for