[linux-sunxi] New release of sunxi-tools

2018-05-27 Thread Ian Campbell
A new release was proposed back in September 2017[0] but I guess that effort ran out of steam. Is there still a plan/desire to cut a release? (Cc list is those who contributed to that thread). I'm asking because I was about to upload 1.4.2 (long overdue) to Debian when I noticed that sunxi-fel

Re: [linux-sunxi] Re: [RFC PATCH 0/5] arm64: Allwinner H5 support

2016-11-24 Thread Ian Campbell
On Thu, 2016-11-24 at 11:05 +, Andre Przywara wrote: > > > I don't have any major comments but I guess it all depends on the DT > > maintainers view on the symbolic link to share the DTSI. > > I am curious too ;-) > But I saw symlinks for the RaspberryPi 3 (check >

[linux-sunxi] Re: A64, arisc, SCPI and regulator handling

2016-01-22 Thread Ian Campbell
On Thu, 2016-01-21 at 21:38 +0100, Karsten Merker wrote: > Even if we had a firmware implementation under a DFSG-compatible > license, inclusion in main would still pose a problem as we > cannot build it with the tools in main I think if the source is available and it is DFSG free then it should

[linux-sunxi] Re: [PATCH sunxi-tools] Makefile: use force option when creating symlinks

2015-10-23 Thread Ian Campbell
On Fri, 2015-10-23 at 16:51 +0200, Peter Korsgaard wrote: > So it doesn't error out if the symlink already exists (E.G. is pointing > to > the old name). Thanks, I guess I always cleaned my tree between tests! > > Also add the -n option for consistency with the install target. > >

Re: [linux-sunxi] Re: [PATCH sunxi-tools] Makefile: use force option when creating symlinks

2015-10-23 Thread Ian Campbell
On Sat, 2015-10-24 at 00:49 +0300, Siarhei Siamashka wrote: > On Fri, 23 Oct 2015 15:59:29 +0100 > Ian Campbell <i...@hellion.org.uk> wrote: > > > On Fri, 2015-10-23 at 16:51 +0200, Peter Korsgaard wrote: > > > So it doesn't error out if the symlink alre

[linux-sunxi] [PATCH sunxi-tools 1/3] Makefile: Prefix most tools with sunxi-

2015-10-14 Thread Ian Campbell
r raw binaries since they would not normally be installed in $PATH. Do not prefix "phoenix_info", since "phoenix" already seems like an appropriate prefix for this particular tool. Update in-tree callers, README and .gitignore accordingly. Signed-off-by: Ian Campbell &l

[linux-sunxi] [PATCH sunxi-tools 3/3] Makefile: Add an install rule

2015-10-14 Thread Ian Campbell
$(TOOLS) into $(FEXC_LINKS), because install(1) does not seem to have a mode which preserves symlinks so it needs to be done separately. Supports DESTDIR to allow for convenient installation into a staging dir for distro packaging convenience. Signed-off-by: Ian Campbell <i...@hellion.org

[linux-sunxi] [PATCH sunxi-tools 2/3] Makefile: Split out target tools rules

2015-10-14 Thread Ian Campbell
, by letting packagers only include the target tools when building for a suitable ARM architecture. Signed-off-by: Ian Campbell <i...@hellion.org.uk> --- Makefile | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index c6b790f..6

Re: [linux-sunxi] sunxi-tools: tagging a new release?

2015-10-14 Thread Ian Campbell
On Sun, 2015-10-11 at 21:11 +0200, Peter Korsgaard wrote: > >>>>> "Ian" == Ian Campbell <i...@hellion.org.uk> writes: > > Hi, > > > The Debian package (of v1.2-ish) has: > > install -m0755 usb-boot $(PKG)/usr/bin/sunxi-usb-boot &

[linux-sunxi] [PATCH sunxi-tools 0/3] Add sunxi- prefixes to tools, and add an install target

2015-10-14 Thread Ian Campbell
As discussed in https://groups.google.com/forum/#!topic/linux-sunxi/skn-959DYHU and specifically https://groups.google.com/d/msg/linux-sunxi/skn-959DYHU/w6YGlnfbAwAJ he re are some patches to add a sunxi- prefix to (most) tools and to add an install target. Ian. -- You received this message

Re: [linux-sunxi] sunxi-tools: tagging a new release?

2015-10-13 Thread Ian Campbell
On Sun, 2015-10-11 at 21:11 +0200, Peter Korsgaard wrote: > >>>>> "Ian" == Ian Campbell <i...@hellion.org.uk> writes: > > Hi, > > > The Debian package (of v1.2-ish) has: > > install -m0755 usb-boot $(PKG)/usr/bin/sunxi-usb-boot &

Re: [linux-sunxi] sunxi-tools: tagging a new release?

2015-10-13 Thread Ian Campbell
On Sun, 2015-10-11 at 12:06 +0100, Ian Campbell wrote: > [...] > > There is still an unresolved inconvenience related to Linux > > distributions arbitrarily renaming the tools when doing sunxi-tools > > packaging. It would be great if we could have a unification of th

Re: [linux-sunxi] sunxi-tools: tagging a new release?

2015-10-13 Thread Ian Campbell
On Tue, 2015-10-13 at 10:21 +0200, Peter Korsgaard wrote: > > > > > > "Ian" == Ian Campbell <i...@hellion.org.uk> writes: > > Hi, > > > I'd be inclined to: > > * Prefix everything except bin2fex+fex2bin with sunxi- > > * Try d

Re: [linux-sunxi] sunxi-tools: tagging a new release?

2015-10-13 Thread Ian Campbell
On Tue, 2015-10-13 at 11:42 +0300, Siarhei Siamashka wrote: > IMHO it's best to do this renaming right now. I agree, lets get this squared away now and then do the v1.3 release afterwards (but, hopefully, soon). Ian. -- You received this message because you are subscribed to the Google Groups

Re: [linux-sunxi] sunxi-tools: tagging a new release?

2015-10-11 Thread Ian Campbell
(adding some CCs of people who I think might be in a position to do this) On Tue, 2015-10-06 at 21:13 +0200, Karsten Merker wrote: > Hello everybody, > > AFAICS the sunxi-tools "fel" utility rework is complete now, so > how about tagging a new sunxi-tools upstream release (v1.3)? I > think that

Re: [linux-sunxi] sunxi-tools: tagging a new release?

2015-10-11 Thread Ian Campbell
On Sun, 2015-10-11 at 12:10 +0200, Benjamin Henrion wrote: > On Sun, Oct 11, 2015 at 11:54 AM, Ian Campbell <i...@hellion.org.uk> wrote: > > (adding some CCs of people who I think might be in a position to do > > this) > > > > On Tue, 2015-10-06 at 21:13 +0200,

Re: [linux-sunxi] sunxi-tools: tagging a new release?

2015-10-11 Thread Ian Campbell
On Sun, 2015-10-11 at 13:36 +0300, Siarhei Siamashka wrote: > On Sun, 11 Oct 2015 10:54:32 +0100 > Ian Campbell <i...@hellion.org.uk> wrote: > > > (adding some CCs of people who I think might be in a position to do > > this) > > > > On Tue, 2015-10-

[linux-sunxi] Re: [PATCH 3/6] sunxi: Add the R8 DTSI

2015-09-22 Thread Ian Campbell
On Tue, 2015-09-22 at 11:17 +0200, Maxime Ripard wrote: > Hi Ian, > > On Fri, Sep 18, 2015 at 04:08:21PM +0100, Ian Campbell wrote: > > On Fri, 2015-09-18 at 14:06 +0200, Maxime Ripard wrote: > > > The R8 is very close to the A13, but it still has a few differences, &

[linux-sunxi] Re: Compiling u-boot (sunxi/next)

2015-09-18 Thread Ian Campbell
On Fri, 2015-09-18 at 10:22 +0200, Olliver Schinagl wrote: > Hey all, Did you CC the wrong Hans by mistake? > just working on a _defconfig for our board and noticed that u-boot fails > to compile if my defconfig doesn't have: > # CONFIG_CMD_IMLS is not set > > What supprised me is that it has

[linux-sunxi] Re: [PATCH 3/6] sunxi: Add the R8 DTSI

2015-09-18 Thread Ian Campbell
On Fri, 2015-09-18 at 14:06 +0200, Maxime Ripard wrote: > The R8 is very close to the A13, but it still has a few differences, > notably a composite output, which the A13 lacks. > > Add a DTSI based on the A13's to hold those differences. Is this a direct import of one from the Linux tree? > >

Re: [linux-sunxi] [PATCH sunxi-tools 5/6] fel: Make the SPL load address configurable instead of hardcoded 0x0

2015-08-31 Thread Ian Campbell
On Mon, 2015-08-31 at 03:50 +0300, Siarhei Siamashka wrote: > > > -swaptbl_start: > > > +appended_data: > > > > If I'm reading correctly you've changed things so that there is an > > implicit data structure present here, namely the spl addr followed > by > > the swaptbl (as before). > > That's

Re: [linux-sunxi] [PATCH sunxi-tools 5/6] fel: Make the SPL load address configurable instead of hardcoded 0x0

2015-08-30 Thread Ian Campbell
On Sat, 2015-08-29 at 09:33 +0300, Siarhei Siamashka wrote: Add a new field 'spl_addr' to the SoC description structure and adjust the code to honor it. This is needed for supporting Allwinner A80. Tested on Allwinner A20 by changing the 'spl_addr' to 0x28000 in the 'fel' tool and using a

Re: [linux-sunxi] Re: [PATCH] fel-to-spl-thunk.S: Only depend on binutils.

2015-08-13 Thread Ian Campbell
On Thu, 2015-08-13 at 10:21 +0200, Olliver Schinagl wrote: Hey, On 13-08-15 09:55, Ian Campbell wrote: On Thu, 2015-08-13 at 10:24 +0300, Siarhei Siamashka wrote: On Tue, 4 Aug 2015 20:01:39 +0100 Ian Campbell i...@hellion.org.uk wrote: A cross-binutils is generally a bit

Re: [linux-sunxi] Re: xen on sun7i successful

2015-08-12 Thread Ian Campbell
On Tue, 2015-08-11 at 03:39 -0700, ghl.b...@gmail.com wrote: On Tuesday, August 11, 2015 at 1:10:45 PM UTC+5:30, Ian Campbell wrote: On Mon, 2015-08-10 at 12:27 +0200, Michal Suchanek wrote: I assume that all allwinner core enable in hyp mode and following code checks for hyp

Re: [linux-sunxi] Re: xen on sun7i successful

2015-08-11 Thread Ian Campbell
On Mon, 2015-08-10 at 12:27 +0200, Michal Suchanek wrote: I assume that all allwinner core enable in hyp mode and following code checks for hyp mode in u-boot( in start.S) HYP mode requires PSCI and HYP support in U-boot. Last I checked we don't support the H3 yet. I vaguely recall

Re: [linux-sunxi] [PATCH 1/3] Fix signedness (possible underflow) of len parameter for aw_fel_write_uboot_image()

2015-08-04 Thread Ian Campbell
On Tue, 2015-08-04 at 01:26 +0200, Bernhard Nortmann wrote: void aw_fel_write_uboot_image(libusb_device_handle *usb, - uint8_t *buf, size_t len) + uint8_t *buf, int len) Siahei's comments may make this moot, but if you want len to be signed you most likely want

[linux-sunxi] [PATCH] fel-to-spl-thunk.S: Only depend on binutils.

2015-08-04 Thread Ian Campbell
to the cross-as. There is no change to the resulting header file. Signed-off-by: Ian Campbell i...@hellion.org.uk --- fel-to-spl-thunk.S | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/fel-to-spl-thunk.S b/fel-to-spl-thunk.S index 93350b3..08c7423 100644 --- a/fel

Re: Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard

2015-08-01 Thread Ian Campbell
On Sat, 2015-08-01 at 10:51 +0100, Ian Campbell wrote: http://git.kernel.org/linus/07949bf9c63c9a80027fe8452d5fe8b9ba9b3c23 I'll see about backporting that to the 4.1 kernel in Debian until we move to 4.2. It turns out that this patch while necessary is not sufficient and I also needed

[linux-sunxi] [PATCH v2] regulator: axp20x: Add module alias

2015-08-01 Thread Ian Campbell
This allows the module to be autoloaded. Together with 07949bf9c63c (cpufreq: dt: allow driver to boot automatically) this is sufficient to allow a modular kernel (such as Debian's) to enable cpufreq on a Cubietruck. Signed-off-by: Ian Campbell i...@hellion.org.uk Cc: Liam Girdwood lgirdw

Re: Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard

2015-08-01 Thread Ian Campbell
On Thu, 2015-07-30 at 15:47 +0800, Chen-Yu Tsai wrote: On Sat, Jul 25, 2015 at 11:30 PM, Ian Campbell i...@debian.org wrote: On Sat, 2015-07-25 at 22:54 +0800, Chen-Yu Tsai wrote: On Sat, Jul 25, 2015 at 10:46 PM, Leonardo Canducci leonardo.candu...@gmail.com wrote: I got lost

Re: [linux-sunxi] [PATCH] sunxi-tools: [RFC] extend fel utility to handle SPL + U-Boot binary

2015-07-15 Thread Ian Campbell
On Tue, 2015-07-14 at 14:22 +0200, Bernhard Nortmann wrote: Regarding the 'auto-execution' of code: I think this is somewhat independent of the suggested extension to load the main U-Boot binary. It would probably be useful if the fel utility was able to keep track of addresses it has

Re: [linux-sunxi] [PATCH] sunxi-tools: [RFC] extend fel utility to handle SPL + U-Boot binary

2015-07-07 Thread Ian Campbell
On Tue, 2015-07-07 at 11:19 +0200, Hans de Goede wrote: Hi, On 06-07-15 16:28, Ian Campbell wrote: On Mon, 2015-07-06 at 14:11 +0200, Hans de Goede wrote: Hi, On 06-07-15 09:02, Bernhard Nortmann wrote: Hello Hans! Am 05.07.2015 11:54, schrieb Hans de Goede: This seems like

Re: [linux-sunxi] [PATCH] sunxi-tools: [RFC] extend fel utility to handle SPL + U-Boot binary

2015-07-06 Thread Ian Campbell
On Mon, 2015-07-06 at 14:11 +0200, Hans de Goede wrote: Hi, On 06-07-15 09:02, Bernhard Nortmann wrote: Hello Hans! Am 05.07.2015 11:54, schrieb Hans de Goede: This seems like a good idea to me, am I reading both the --help and the code correctly that this only writes u-boot but

[linux-sunxi] Re: [RFC 09/11] sunxi/nand: Enable UBI and NAND commands

2015-06-08 Thread Ian Campbell
On Mon, 2015-06-08 at 09:38 +0200, Roy Spliet wrote: Please try and avoid sending HTML Mail as well as top posting. Oh yes, thanks for pointing this one out. I increased the malloc pool during debugging as google hinted towards UBI being rather memory-hungry, but forgot to double-check

[linux-sunxi] Re: [PATCH 2/2] nand: sunxi: Add support for booting from internal NAND memory

2015-05-22 Thread Ian Campbell
On Fri, 2015-05-22 at 09:30 +0200, Hans de Goede wrote: Hi, On 21-05-15 21:02, Ian Campbell wrote: On Thu, 2015-05-21 at 20:39 +0200, Hans de Goede wrote: [...] Please create a struct reflecting the register layout and then initialize a ptr to this struct from the base-address

[linux-sunxi] Re: [PATCH 2/2] nand: sunxi: Add support for booting from internal NAND memory

2015-05-21 Thread Ian Campbell
On Thu, 2015-05-21 at 20:39 +0200, Hans de Goede wrote: [...] Please create a struct reflecting the register layout and then initialize a ptr to this struct from the base-address and get register addresses this way, this is how we deal with this in pretty much all other sunxi code, see e.g.:

Re: [linux-sunxi] Re: Devices naming consistency in U-Boot, Linux, sunxi-boards and the linux-sunxi wiki

2015-04-24 Thread Ian Campbell
On Thu, 2015-04-23 at 16:08 +0200, Hans de Goede wrote: Hi, On 23-04-15 14:36, Paul Kocialkowski wrote: Le 2015-04-23 12:00, Hans de Goede a écrit : Hi, On 23-04-15 11:03, Reinhard Max wrote: On Sat, 18 Apr 2015 at 18:31, Paul Kocialkowski wrote: I think we should do that too for

[linux-sunxi] Re: Devices naming consistency in U-Boot, Linux, sunxi-boards and the linux-sunxi wiki

2015-04-17 Thread Ian Campbell
On Fri, 2015-04-17 at 10:00 +0200, Maxime Ripard wrote: On Wed, Apr 15, 2015 at 08:34:42PM +0100, Ian Campbell wrote: On Wed, 2015-04-15 at 21:17 +0200, Paul Kocialkowski wrote: Well, the discussion has started on the other part of the thread. I think we've agreed so far that it should

[linux-sunxi] Re: Devices naming consistency in U-Boot, Linux, sunxi-boards and the linux-sunxi wiki

2015-04-15 Thread Ian Campbell
On Wed, 2015-04-15 at 21:17 +0200, Paul Kocialkowski wrote: Well, the discussion has started on the other part of the thread. I think we've agreed so far that it should be: [Vendor]_[Device], except in a few cases where [Vendor]_ should be omitted: [...] * When the device can clearly be

Re: [linux-sunxi] Xen 4.5.0 on Cubietruck

2015-04-03 Thread Ian Campbell
On Fri, 2015-04-03 at 09:39 -0700, Fabio_Khan wrote: Hello Everyone! I have just bought a Cubietruck and I really want to set up an hypervisor on it. My aim is to build the system entirely on a SD card Cool! FYI I'm one of the developers of Xen on ARM, but.. I'm about to go on vacation for

Re: [linux-sunxi] Cubietruck, gmac freezing TCP connections when at gigabit speed

2015-03-30 Thread Ian Campbell
On Sun, 2015-03-29 at 12:44 -0700, Dániel Varga wrote: I have the same problem, with both mainline kernel and the latest sunxi. I have a gigabit switch, I also set 100mbit link speed to workaround TCP session stalls. It does not stall anymore, but the actually speed is about 5Mbit. I did some

Re: [linux-sunxi] Debian Jessie installer RC2 with some sunxi support

2015-03-27 Thread Ian Campbell
On Fri, 2015-03-27 at 12:20 +0100, Benjamin Henrion wrote: Hi, Just saw this: https://www.debian.org/devel/debian-installer/News/2015/20150327 Some sunxi based boards (bananapi, lime, linksprite) seems to be supported by the next debian jessie installer. Testers welcomed, since RC1

Re: [linux-sunxi] Networking issues (ssh timeouts) on cubietruck

2015-03-23 Thread Ian Campbell
On Fri, 2015-03-20 at 17:23 +, Ian Campbell wrote: Based on that I'm now running a full test with tx delay == 1. First results are positive, running with tx delay on the two problematic boards I've managed a few successful flights runs over the weekend. Today I'll deploy to all

[linux-sunxi] Networking issues (ssh timeouts) on cubietruck

2015-03-20 Thread Ian Campbell
Hi all, At work I am in the process of deploying an array of 4 cubietrucks for use in the Xen Project automated test framework. 2 of the 4 boards seem to work just fine in (repeated) pre-commissioning tests but two are failing fairly reliably. One with: Timeout, server not responding.

Re: [linux-sunxi] Networking issues (ssh timeouts) on cubietruck

2015-03-20 Thread Ian Campbell
On Fri, 2015-03-20 at 13:14 +0100, Hans de Goede wrote: On 20-03-15 12:47, Ian Campbell wrote: I'm not really sure where to start looking. Perhaps CONFIG_GMAC_TX_DELAY on the u-boot side might be relevant? Yes that is the first thing I was thinking of, the cubietruck is the only gbit phy

Re: [linux-sunxi] Networking issues (ssh timeouts) on cubietruck

2015-03-20 Thread Ian Campbell
On Fri, 2015-03-20 at 13:42 +, Ian Campbell wrote: On Fri, 2015-03-20 at 13:14 +0100, Hans de Goede wrote: On 20-03-15 12:47, Ian Campbell wrote: I'm not really sure where to start looking. Perhaps CONFIG_GMAC_TX_DELAY on the u-boot side might be relevant? Yes that is the first

Re: [linux-sunxi] U-Boot configuration mishaps

2015-03-20 Thread Ian Campbell
On Fri, 2015-03-20 at 18:32 +0100, Paul Kocialkowski wrote: Le vendredi 20 mars 2015 à 19:21 +0200, Siarhei Siamashka a écrit : On Fri, 20 Mar 2015 17:51:03 +0100 Paul Kocialkowski cont...@paulk.fr wrote: After investigating a bit, I found out that I was unable to boot sunxi-3.4 on

Re: [linux-sunxi] Networking issues (ssh timeouts) on cubietruck

2015-03-20 Thread Ian Campbell
On Fri, 2015-03-20 at 14:39 +, Ian Campbell wrote: I'm going to triple check my remote recovery procedures and then do some experiments on one of the problematic boards. Actually, I remember I could use mw.l on the u-boot prompt to fiddle with the register values, so no need

Re: [linux-sunxi] Networking issues (ssh timeouts) on cubietruck

2015-03-20 Thread Ian Campbell
On Fri, 2015-03-20 at 16:27 +0100, Hans de Goede wrote: Hi, On 20-03-15 15:39, Ian Campbell wrote: On Fri, 2015-03-20 at 13:42 +, Ian Campbell wrote: On Fri, 2015-03-20 at 13:14 +0100, Hans de Goede wrote: On 20-03-15 12:47, Ian Campbell wrote: I'm not really sure where to start

Re: [linux-sunxi] U-Boot configuration mishaps

2015-03-20 Thread Ian Campbell
On Fri, 2015-03-20 at 19:13 +0100, Paul Kocialkowski wrote: Now how am I to enable OLD_SUNXI_KERNEL_COMPAT through Kconfig without modifying anything on the tree and in a scriptable way (no menuconfig)? You can edit .config by whatever scripting means you like really. construct a default

Re: [linux-sunxi] Re: [PATCH] ARM: sun6i: dt: Add new Mele I7 device

2015-03-10 Thread Ian Campbell
On Tue, 2015-03-10 at 12:16 +0100, Hans de Goede wrote: I'm not sure if stdout-path supports aliases I thought it did but ePAPR section 3.5 says A string that specifies the full path to the node which suggests not, and AFAICT the code doesn't try to handle alias. Ian. -- You received this

[linux-sunxi] Re: [PATCH] sunxi: Add support for the Forfun Q88DB tablet

2015-03-08 Thread Ian Campbell
On Tue, 2015-03-03 at 22:45 +0100, Jens Lucius wrote: The Forfun Q88DB is an A13 tablet in the common Q8 format. Features are 512MB RAM, 4GB NAND, 7 Display, RTL8188 Wifi, 2 cameras. For more details see: http://linux-sunxi.org/Forfun_Q88DB Signed-off-by: Jens Lucius i...@jenslucius.com

Re: [linux-sunxi] Backporting simplefb support to 3.16 kernel

2015-03-06 Thread Ian Campbell
On Fri, 2015-03-06 at 12:52 +0100, Jens Thiele wrote: B.R. Oake bro...@openmailbox.org writes: Hi Ian, Hans, On 28/02/15 16:18, Ian Campbell wrote: On Sat, 2015-02-21 at 11:49 +0100, Hans de Goede wrote: On 21-02-15 11:26, Ian Campbell wrote: Speaking of which, if someone were

[linux-sunxi] Re: Backporting simplefb support to 3.16 kernel

2015-03-06 Thread Ian Campbell
On Fri, 2015-03-06 at 02:11 +, B.R. Oake wrote: we should also include: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ba168a3c7ff6df2e346959445190484b8331eb3d Hans, do you agree? Ian, do you need me to raise a Debian bug about this last missing patch? If

[linux-sunxi] Re: [PATCH] sunxi: Machine id hack to prevent loading buggy sunxi-3.4 kernels

2015-03-03 Thread Ian Campbell
On Mon, 2015-03-02 at 00:07 +0200, Siarhei Siamashka wrote: Just one suggestion. It would be really nice if the Debian installer could present itself on all the available consoles, so that the user can use any of them for providing input to the installer. There is some reason why d-i doesn't

Re: [linux-sunxi] New sunxi-tools v1.3 release planning

2015-03-03 Thread Ian Campbell
On Sat, 2015-02-28 at 11:24 +0100, Koen Kooi wrote: What would be actually your suggestion? For sunxi-tools: simple makefile with a working 'make install DESTDIR=/path/foo'. ...which installs not-too-generically named binaries, with that: ack from me too. WRT not-too-generically named:

[linux-sunxi] Re: New sunxi-tools v1.3 release planning

2015-02-24 Thread Ian Campbell
On Tue, 2015-02-24 at 11:31 +0200, Siarhei Siamashka wrote: On Mon, 23 Feb 2015 13:12:32 + Ian Campbell ijc+ub...@hellion.org.uk wrote: On Sun, 2015-02-22 at 18:55 +0200, Siarhei Siamashka wrote: We might want to push sunxi-tools into more Linux distributions than just Debian

Re: [linux-sunxi] [UBOOT] Both Linux-Sunxi and Mainline Uboot have issues

2015-02-19 Thread Ian Campbell
On Thu, 2015-02-19 at 09:11 +0100, Hans de Goede wrote: Note assuming you're using linux-sunxi kernels and not upstream kernels you also need Enable workarounds for booting old kernels for things to boot at all on A20 based devices, IIRC there is also an env var which can be set to force

Re: [linux-sunxi] Re: Allwinner documentation (hardware datasheet, user manual) for A10, A10s, A13, A20, A31, A31s

2015-01-18 Thread Ian Campbell
On Sun, 2015-01-18 at 11:46 +0100, Luc Verhaegen wrote: ADDITIONS: A33: datasheet and user guide, both at version 1.1. (released 5 days ago) A80: datasheet and user guide, both at version 1.1. (released 2 months ago). Finally, at the https://github.com/allwinner-zh/bootloader

Re: [linux-sunxi] Sunxi FOSDEM2015 Dinner!

2015-01-09 Thread Ian Campbell
On Wed, 2015-01-07 at 16:30 +0100, Olliver Schinagl wrote: Hey guys, with FOSDEM 2015 approaching rapidly again, I was wondering if there is anything organized again this year? If not, Who's up for it? :) I will be attending FOSDEM and will have a stand for saturday/sunday for my work

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

[linux-sunxi] Re: [PATCH 2/2] dt-bindings: simplefb-sunxi: Add sunxi simplefb extensions

2014-11-18 Thread Ian Campbell
On Tue, 2014-11-18 at 09:15 +0100, Hans de Goede wrote: Hi, On 11/17/2014 04:55 PM, Maxime Ripard wrote: On Mon, Nov 17, 2014 at 01:39:18PM +, Grant Likely wrote: On Mon, Nov 17, 2014 at 12:47 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Mon, Nov 17, 2014 at

[linux-sunxi] Re: [PATCH 2/3] sunxi: dram: Use clock_get_pll5p to calculate mbus, rather then hardcoding

2014-10-22 Thread Ian Campbell
On Wed, 2014-10-22 at 15:44 +0200, Hans de Goede wrote: This is a preparation patch for making the pll5 p divisor configurable through Kconfig. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk -- You received this message because you

Re: [linux-sunxi] Re: [PATCH 6/9] ARM: sunxi: Add support for R_PIO gpio banks

2014-10-21 Thread Ian Campbell
On Fri, 2014-10-17 at 22:48 +0800, Chen-Yu Tsai wrote: Hi Ian, On Mon, Oct 13, 2014 at 8:57 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Oct 12, 2014 at 04:23:05PM +0800, Chen-Yu Tsai wrote: On Sun, Oct 12, 2014 at 12:05 AM, Ian Campbell i...@hellion.org.uk wrote

[linux-sunxi] Re: [U-Boot] [PATCH v3 6/6] sunxi: Kconfig: Unify sunxi Kconfig code

2014-10-21 Thread Ian Campbell
On Sun, 2014-10-12 at 22:17 +0100, Ian Campbell wrote: -if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN6I || TARGET_SUN7I + default sun4i if TARGET_SUN4I + default sun5i if TARGET_SUN5I + default sun6i if TARGET_SUN5I There is a typo here which is apparent with MAKEALL -s sunxi, since

[linux-sunxi] Re: [PATCH v3 0/6] sunxi: Enable second sdcard slot found on some boards

2014-10-13 Thread Ian Campbell
On Mon, 2014-10-13 at 06:48 +0200, Hans de Goede wrote: Hi, On 10/12/2014 11:19 PM, Ian Campbell wrote: On Sun, 2014-10-12 at 20:07 +0200, Hans de Goede wrote: Hi Ian, Here is v3 of my second sdcard slot patch-set. Changes since v2: - Rebased on top of latest u-boot-sunxi-next

[linux-sunxi] Re: [PATCH 5/9] ARM: sunxi: Add basic A23 support

2014-10-12 Thread Ian Campbell
On Sun, 2014-10-12 at 10:43 +0800, Chen-Yu Tsai wrote: On Sat, Oct 11, 2014 at 11:58 PM, Ian Campbell i...@hellion.org.uk wrote: On Tue, 2014-10-07 at 15:11 +0800, Chen-Yu Tsai wrote: The basic blocks of the A23 are similar to the A31 (sun6i). Re-use sun6i code for initial clock, gpio

[linux-sunxi] Re: [PATCH 6/9] ARM: sunxi: Add support for R_PIO gpio banks

2014-10-12 Thread Ian Campbell
On Sun, 2014-10-12 at 16:23 +0800, Chen-Yu Tsai wrote: On Sun, Oct 12, 2014 at 12:05 AM, Ian Campbell i...@hellion.org.uk wrote: On Tue, 2014-10-07 at 15:11 +0800, Chen-Yu Tsai wrote: From: Hans de Goede hdego...@redhat.com The A31, A23 and later SoCs have an extra pin controller, called

[linux-sunxi] Re: [PATCH v3 3/6] sunxi: When we've both mmc0 and mmc2, detect from which one we're booting

2014-10-12 Thread Ian Campbell
, we make it dev 0 because that is where the SPL will load the tertiary payload (the actual u-boot binary in our case) from, see: common/spl/spl_mmc.c, which has dev 0 hardcoded everywhere. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk -- You

[linux-sunxi] Re: [PATCH v3 6/6] sunxi: Kconfig: Unify sunxi Kconfig code

2014-10-12 Thread Ian Campbell
On Sun, 2014-10-12 at 20:07 +0200, Hans de Goede wrote: Unify the sunxi Kconfig code, instead of having seperate code blocks for separate each of sun4i, sun5i and sun7i. Signed-off-by: Hans de Goede hdego...@redhat.com Looks pretty familiar ;-) Acked-by: Ian Campbell i...@hellion.org.uk

[linux-sunxi] Re: [PATCH v3 0/6] sunxi: Enable second sdcard slot found on some boards

2014-10-12 Thread Ian Campbell
On Sun, 2014-10-12 at 20:07 +0200, Hans de Goede wrote: Hi Ian, Here is v3 of my second sdcard slot patch-set. Changes since v2: - Rebased on top of latest u-boot-sunxi-next - Fixed Kconfig help text for : sunxi: Turn MMC_SUNXI_SLOT_EXTRA into a proper Kconfig option to also mention

[linux-sunxi] Re: [PATCH 1/3] ARM: sunxi: Move watchdog register definitions to separate file

2014-10-11 Thread Ian Campbell
-by: Chen-Yu Tsai w...@csie.org Acked-by: Ian Campbell i...@hellion.org.uk (nb: this isn't pure code motion, please mention that in the commit log in the future). -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group

[linux-sunxi] Re: [PATCH 2/3] ARM: sunxi: Add sun6i/sun8i timer block register definition

2014-10-11 Thread Ian Campbell
or have been moved out. Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Ian Campbell i...@hellion.org.uk --- arch/arm/include/asm/arch-sunxi/timer.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/include/asm/arch-sunxi/timer.h b/arch/arm/include/asm/arch-sunxi

[linux-sunxi] Re: [PATCH v2 1/5] sunxi: Add mmc card-detect functionality

2014-10-11 Thread Ian Campbell
the empty string directly, but I think it will do the right thing (i.e. return -1) via a more or less convoluted path. Did you check this? Assuming you have then: Acked-by: Ian Campbell i...@hellion.org.uk Ian. -- You received this message because you are subscribed to the Google Groups linux

[linux-sunxi] Re: [PATCH v2 4/5] sunxi: Use PG3 - PG8 as io-pins for mmc1

2014-10-11 Thread Ian Campbell
will need to change things to be a bit more flexible. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk (right address this time ;-)) --- arch/arm/include/asm/arch-sunxi/gpio.h | 2 ++ board/sunxi/board.c| 6 +++--- 2 files

[linux-sunxi] Re: [PATCH v2 5/5] sunxi: Enable second sdcard slot found on some boards

2014-10-11 Thread Ian Campbell
can also boot, and there we want to have both in the SPL, so that a single u-boot binary can both from both. So for the M3 we do prefix the defconfig setting with the special +S: syntax so that it applies to the SPL too. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i

[linux-sunxi] Re: [PATCH 4/9] mmc: sunxi: Add support for sun8i (A23)

2014-10-11 Thread Ian Campbell
On Tue, 2014-10-07 at 15:11 +0800, Chen-Yu Tsai wrote: The Allwinner A23 SoC has reset controls like the A31 (sun6i). The FIFO address is also the same as sun6i. Re-use code added for sun6i. Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Ian Campbell i...@hellion.org.uk --- arch

[linux-sunxi] Re: [PATCH 5/9] ARM: sunxi: Add basic A23 support

2014-10-11 Thread Ian Campbell
On Tue, 2014-10-07 at 15:11 +0800, Chen-Yu Tsai wrote: The basic blocks of the A23 are similar to the A31 (sun6i). Re-use sun6i code for initial clock, gpio, and uart setup. Do I take it that sun8i is also in the same position wrt DRAM bring up code not existing yet and there therefore being no

[linux-sunxi] Re: [PATCH 6/9] ARM: sunxi: Add support for R_PIO gpio banks

2014-10-11 Thread Ian Campbell
On Tue, 2014-10-07 at 15:11 +0800, Chen-Yu Tsai wrote: From: Hans de Goede hdego...@redhat.com The A31, A23 and later SoCs have an extra pin controller, called CPUs_PIO or R_PIO, which handles pin banks L and beyond. Does it also have enough space for 9 banks? Since you overlay a struct

[linux-sunxi] Re: [PATCH 7/9] ARM: sunxi: Allow specifying module in prcm apb0 init function

2014-10-11 Thread Ian Campbell
On Tue, 2014-10-07 at 15:11 +0800, Chen-Yu Tsai wrote: The prcm apb0 controls multiple modules. Allow specifying which modules to enable clocks and de-assert resets so the function can be reused. How come this isn't actually called on sun6i? (naughty of me not to notice this when it was

[linux-sunxi] Re: [U-Boot] [PATCH 7/9] ARM: sunxi: Allow specifying module in prcm apb0 init function

2014-10-11 Thread Ian Campbell
On Sat, 2014-10-11 at 17:11 +0100, Ian Campbell wrote: On Tue, 2014-10-07 at 15:11 +0800, Chen-Yu Tsai wrote: The prcm apb0 controls multiple modules. Allow specifying which modules to enable clocks and de-assert resets so the function can be reused. How come this isn't actually called

[linux-sunxi] Re: [PATCH 8/9] ARM: sunxi: Add support for using R_UART as console

2014-10-11 Thread Ian Campbell
better but I suppose sticking with the h/w names is fine. CONFIG_CONS_INDEX is also getting a bit out of hand, eventually we should make it a Kconfig choice option. Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Ian Campbell i...@hellion.org.uk --- arch/arm/cpu/armv7/sunxi/board.c

[linux-sunxi] Re: [PATCH 3/6] sunxi: Turn MMC_SUNXI_SLOT_EXTRA into a proper Kconfig option

2014-10-06 Thread Ian Campbell
On Sun, 2014-10-05 at 17:00 +0200, Hans de Goede wrote: Hi, On 10/04/2014 10:32 AM, Ian Campbell wrote: On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote: Note we also drop the SPL check for initializing the 2nd mmc slot, the SPL check is not necessary with Kconfig, because only

[linux-sunxi] Re: [PATCH 4/6] sunxi: When we've both mmc0 and mmc2, detect from which one we're booting

2014-10-06 Thread Ian Campbell
On Sun, 2014-10-05 at 17:10 +0200, Hans de Goede wrote: On 10/04/2014 10:35 AM, Ian Campbell wrote: On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote: sunxi SOCs can boot from both mmc0 and mmc2, detect from which one we're booting, and make that one mmc dev 0 so that a single u-boot

[linux-sunxi] Re: [PATCH 5/6] sunxi: Use PG3 - PG8 as io-pins for mmc1

2014-10-06 Thread Ian Campbell
On Mon, 2014-10-06 at 10:37 +0200, Hans de Goede wrote: Hi, On 10/04/2014 10:37 AM, Ian Campbell wrote: On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote: None of the known sunxi devices actually use mmc1 routed through PH, where as some devices do actually use mmc1 routed through

[linux-sunxi] Re: [PATCH 1/6] sunxi: Add sunxi_gpio_get_val function

2014-10-04 Thread Ian Campbell
On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote: Signed-off-by: Hans de Goede hdego...@redhat.com drivers/gpio/sunxi_gpio.c already has sunxi_gpio_input exported via the standard gpio_get_value name. Ian. -- You received this message because you are subscribed to the Google Groups

[linux-sunxi] Re: [PATCH 2/6] sunxi: Add mmc card-detect functionality

2014-10-04 Thread Ian Campbell
On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote: Signed-off-by: Hans de Goede hdego...@redhat.com --- board/sunxi/Kconfig | 27 +++ drivers/mmc/sunxi_mmc.c | 20 2 files changed, 47 insertions(+) diff --git a/board/sunxi/Kconfig

[linux-sunxi] Re: [PATCH 3/6] sunxi: Turn MMC_SUNXI_SLOT_EXTRA into a proper Kconfig option

2014-10-04 Thread Ian Campbell
On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote: Note we also drop the SPL check for initializing the 2nd mmc slot, the SPL check is not necessary with Kconfig, because only options explicitly marked as also being for the SPL get set during SPL builds. Signed-off-by: Hans de Goede

[linux-sunxi] Re: [PATCH 4/6] sunxi: When we've both mmc0 and mmc2, detect from which one we're booting

2014-10-04 Thread Ian Campbell
On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote: sunxi SOCs can boot from both mmc0 and mmc2, detect from which one we're booting, and make that one mmc dev 0 so that a single u-boot binary can be used for both the onboard eMMC and for external sdcards. Where does the dependency on dev

[linux-sunxi] Re: [PATCH 5/6] sunxi: Use PG3 - PG8 as io-pins for mmc1

2014-10-04 Thread Ian Campbell
will need to change things to be a bit more flexible. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell ian.campb...@citrix.com Although it seems that adding a Kconfig choice option would only be a dozen or so lines of pretty trivial stuff if we wanted to do it now. Ian

[linux-sunxi] Re: [PATCH 6/6] sunxi: Enable second sdcard slot found on some boards

2014-10-04 Thread Ian Campbell
On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote: diff --git a/configs/Mele_M3_defconfig b/configs/Mele_M3_defconfig index 645b236..50979e2 100644 --- a/configs/Mele_M3_defconfig +++ b/configs/Mele_M3_defconfig @@ -1,5 +1,7 @@ CONFIG_SPL=y

[linux-sunxi] Re: [PATCH v3 10/10] ARM: sun6i: Add Colombus board defconfig

2014-10-03 Thread Ian Campbell
-September/190043.html Signed-off-by: Chen-Yu Tsai w...@csie.org Cc: Maxime Ripard maxime.rip...@free-electrons.com Acked-by: Maxime Ripard maxime.rip...@free-electrons.com Acked-by: Ian Campbell i...@hellion.org.uk I'll apply these to u-boot-sunxi#next once I get a spare moment, probably

[linux-sunxi] Re: [PATCH v3 10/10] ARM: sun6i: Add Colombus board defconfig

2014-10-03 Thread Ian Campbell
On Fri, 2014-10-03 at 21:06 +0800, Chen-Yu Tsai wrote: On Fri, Oct 3, 2014 at 8:47 PM, Ian Campbell i...@hellion.org.uk wrote: On Fri, 2014-10-03 at 14:37 +0200, Maxime Ripard wrote: On Fri, Oct 03, 2014 at 08:16:30PM +0800, Chen-Yu Tsai wrote: The Colombus board is an A31 evaluation board

[linux-sunxi] Re: [PATCH] sunxi: Add support for the Mele M3 board

2014-10-02 Thread Ian Campbell
), 100Mbit ethernet, HDMI out, 3 USB A receptacles, VGA, and A/V OUT connections. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from

Re: [linux-sunxi] A80 mixed OS (Linux / RTOS)

2014-10-01 Thread Ian Campbell
On Wed, 2014-10-01 at 09:38 +0200, Jorge wrote: You'll need to run an hypervisor to arbitre the access to shared resources for the two OSs, look at http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/Allwinner http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions

Re: [linux-sunxi] A80 mixed OS (Linux / RTOS)

2014-10-01 Thread Ian Campbell
On Wed, 2014-10-01 at 09:19 +0100, Ian Campbell wrote: On Wed, 2014-10-01 at 09:38 +0200, Jorge wrote: You'll need to run an hypervisor to arbitre the access to shared resources for the two OSs, look at http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/Allwinner http

[linux-sunxi] Re: [U-Boot] [PATCH] sunxi: Fix gmac not working reliable on the Bananapi

2014-09-30 Thread Ian Campbell
his reply downthread) of what's going on, but other than that: Acked-by: Ian Campbell i...@hellion.org.uk and ack to pushing it for v2014.10. --- board/sunxi/gmac.c | 9 + 1 file changed, 9 insertions(+) diff --git a/board/sunxi/gmac.c b/board/sunxi/gmac.c index e7ff952..f58c963

Re: [U-Boot] [linux-sunxi] Re: [PATCH v2 10/10] ARM: sun6i: Add Colombus board defconfig

2014-09-30 Thread Ian Campbell
On Mon, 2014-09-29 at 20:08 +0200, Hans de Goede wrote: Right, so lets just drop the board and I'll do a pull-req with only the bananapi gmac fix, can I have your Reviewed-by for that one please? Done. -- You received this message because you are subscribed to the Google Groups

[linux-sunxi] Re: [U-Boot] [PATCH v2 10/10] ARM: sun6i: Add Colombus board defconfig

2014-09-28 Thread Ian Campbell
On Thu, 2014-09-25 at 20:09 +0100, Ian Campbell wrote: On Wed, 2014-09-24 at 16:01 +0800, Chen-Yu Tsai wrote: The Colombus board is an A31 evaluation board from WITS Technology. Signed-off-by: Chen-Yu Tsai w...@csie.org --- configs/Colombus_defconfig | 4 1 file changed, 4

[linux-sunxi] Re: [PATCH 4/7] ARM: sun6i: Add clock support

2014-09-28 Thread Ian Campbell
On Sun, 2014-09-28 at 17:23 +0200, Hans de Goede wrote: If you take a closer look at the code you will see not all 3 writes are the same: /* Set PLL ldo voltage without this PLL6 does not work properly */ writel(PRCM_PLL_CTRL_LDO_DIGITAL_EN | PRCM_PLL_CTRL_LDO_ANALOG_EN |

  1   2   3   4   5   >