Re: [linux-sunxi] Further Allwinner misbehaviour.

2015-06-28 Thread Henrik Nordström
fre 2015-06-26 klockan 01:12 +1000 skrev Julian Calaby: It's obvious what is required: 1. Datasheets 2. Programming manuals 3. GPL compliant drivers 4. (L)GPL compliant userspace stuff and maybe 5. Some on-going contribution to the community And 6. That community uses and improves

Re: [linux-sunxi] Further Allwinner misbehaviour.

2015-06-28 Thread Henrik Nordström
tor 2015-06-25 klockan 12:13 +0200 skrev Luc Verhaegen: The bad copyright headers is just stupidity. The direct loading of non-LGPLed binaries into LGPLed code is very deliberate. And to my best understanding is not in any way a violation of the LGPL license. Care to explain what I am missing?

Re: [linux-sunxi] Mdt nand in Uboot for A20 SoC

2015-06-03 Thread Henrik Nordström
fre 2015-05-29 klockan 06:33 -0700 skrev Philippe Fouquet: cmd : mw.b 0x4100 0xFF 0x100 (all are to FF) cmd : nand read 0x4100 0x0 0x100 (fail with ecc error) cmd : md.b 0x4100 0x100 (I read .eGON.BTO.) I check the register new uboot/old uboot that same I would guess

Re: [linux-sunxi] tv-in documentation from allwinner?

2015-05-28 Thread Henrik Nordström
tis 2015-05-26 klockan 01:26 -0700 skrev Andrea Venturi: but i suppose the first poster talked about the PAL input interface; BTW it seem there's a source code driver on Android SDK? http://www.cubieforums.com/index.php?topic=1205.0 Ah, excellent! Regards Henrik -- You received this

Re: [linux-sunxi] tv-in documentation from allwinner?

2015-05-28 Thread Henrik Nordström
tis 2015-05-26 klockan 12:06 +1000 skrev Julian Calaby: I must point out that the TVIN subsystem consists of two parts, one which (apparently) decodes analogue (composite?) signals and one which decodes DVB (Transport Stream) digital TV. The MPEG-TS (DVB) and TV-IN (Analog) subsystems are

Re: [linux-sunxi] Re: Proposal to add NAND-boot support for Sunxi SPL

2015-05-27 Thread Henrik Nordström
fre 2015-05-22 klockan 15:51 +0200 skrev Hans de Goede: What info do we need when we're only reading ? If the BROM can get away with a fixed way of reading the nand for booting, we should be able to make the SPL get away with it too ... BROM tries at least 4 different strategies in reading

Re: [linux-sunxi] question, clock driver naming convention

2015-04-14 Thread Henrik Nordström
lör 2015-04-11 klockan 20:27 +0200 skrev David Lanzendörfer: Hi I've added a clock driver for the special plls now: http://git.o2s.ch/?p=linux-next.git;a=commit;h=17173fad5fb7ddc815e1a84002c090bf5106 Now I need some driver for the clocks at 0x01C2, specifically at offset 0x0150 and

Re: [linux-sunxi] Re: Demo h264 encoding app

2015-04-03 Thread Henrik Nordström
fre 2015-04-03 klockan 12:07 +0530 skrev Vishal B: Looking into the kernel sources, i find drivers/media/video/sunxi-csi/ directory which i believe contains the drivers for the TV-IN section. That is the digital CSI camera interface, for attaching a digital cameras. Drivers exists for this.

Re: [linux-sunxi] Re: Demo h264 encoding app

2015-04-03 Thread Henrik Nordström
fre 2015-04-03 klockan 22:41 +0200 skrev Henrik Nordström: The chip also seem to have a TV-in function where it supposedly can decode a PAL/NTSC video signal and encode it in digital form, but very little is known about this function. Some binary drivers exists in various CedarX releases

Re: [linux-sunxi] Re: Allwinner strips symbols from latest cedar binaries.

2015-03-28 Thread Henrik Nordström
tor 2015-03-26 klockan 10:44 +0100 skrev Michal Suchanek: It was only worth having this list while decent Allwinner hardware was produced and Allwinner was somewhat cooperative with respect to development. It seems that period of both decent hardware based on Allwinner chips and Allwinner

Re: [linux-sunxi] Re: r3p2 version of the Mali driver A20

2015-03-19 Thread Henrik Nordström
ons 2015-03-18 klockan 06:17 -0700 skrev @lex: I have looked into ODROID r4p0 blobs and headers and did not find any EULA, perhaps it is kept with the sources? http://forum.odroid.com/viewtopic.php?f=52t=4956 Regards Henrik -- You received this message because you are subscribed to the

Re: [linux-sunxi] Re: [RFC] Serial number on sunxi devices

2015-03-18 Thread Henrik Nordström
ons 2015-03-18 klockan 08:55 +0100 skrev Olliver Schinagl: I'm all for common methods, but you are suggesting to use a single dedicated page purely for the MAC address? Where is it defined which page that is? And what about using the subsequent page for stuff like a crc/checksum and verify

Re: [linux-sunxi] Re: Communication with Allwinner

2015-03-18 Thread Henrik Nordström
ons 2015-03-18 klockan 01:58 -0700 skrev RFat: The file hdmi_core.c is the one where the HW initialisation appeared in the past, but now it is basically empty and calls a function sunxi_video_config(vic) whose source is unavailable (I assume that it is compiled inside libhdcp). That's the

Re: [linux-sunxi] Re: [RFC] Serial number on sunxi devices

2015-03-18 Thread Henrik Nordström
ons 2015-03-18 klockan 10:16 +0100 skrev Irgendeiner: I think that for the MAC used, sunxi must make sure that on all supported hardware the MAC planned by the board manufacturer will be used as default. Problem with most boards is that there is no MAC, and if there is one then it's not in a

Re: [linux-sunxi] Re: Communication with Allwinner

2015-03-18 Thread Henrik Nordström
tis 2015-03-17 klockan 09:38 -0700 skrev RFat: I wonder if there is any progress on getting the basic info. behind the HDMI module in the A80 chip (registers/initialization code)? Any prospects whether such info. will become public anytime soon? Have you looked at the existing code? Regards

Re: [linux-sunxi] Re: [RFC] Serial number on sunxi devices

2015-03-18 Thread Henrik Nordström
mån 2015-03-16 klockan 11:13 +0100 skrev Hans de Goede: I see, yes using olinuxino's embedded in factory devices is a valid reason, so I will be happy to take patches for reading the MAC from the eeprom, we will need to do some tests to make sure that we only do this on valid eeproms though,

Re: OFFTOPIC: Re: [linux-sunxi] Derailed thread

2015-03-13 Thread Henrik Nordström
tor 2015-03-12 klockan 11:20 +0100 skrev Luc Verhaegen: After legal advice has been acquired, i will be happy to do the binary analysis, accounting for every hour, and Allwinner will then end up paying for my time. I can then get the cedrus guys a wide range of hw, and stick some cash in

Re: OFFTOPIC: Re: [linux-sunxi] Derailed thread

2015-03-13 Thread Henrik Nordström
tor 2015-03-12 klockan 12:41 + skrev Simon Kenyon: releasing a binary that removes GPL code does not discharge the obligation to release the source code for the infringing version you cannot unsteal something The world is not black or white. The above is a matter between the authors and

Re: [linux-sunxi] Derailed thread

2015-03-11 Thread Henrik Nordström
ons 2015-03-11 klockan 08:39 +0100 skrev Benjamin Henrion: On Tuesday, March 10, 2015, Quink wantl...@gmail.com wrote: I have communicated with the author of source code of libvdecoder.so. The code has been rewrote completely, has no relationship with FFmpeg, I don't think it would

Re: [linux-sunxi] Re: [U-Boot] Basic A33 support including dram init available in my personal repo

2015-03-07 Thread Henrik Nordström
lör 2015-03-07 klockan 20:06 +0100 skrev Hans de Goede: Ok, so something (to me) quite unexpected has happened and Allwinner has just released what seems to be ALL there boot0 code under the GPL, it can found here: https://github.com/allwinner-zh/bootloader/tree/master/basic_loader/boot0

Re: [linux-sunxi] Open source CedarX driver

2015-03-07 Thread Henrik Nordström
fre 2015-03-06 klockan 18:28 +0800 skrev Quink: cedarx2.0 is a refactoring of cedarx1.0. The job is finished about just three month ago and not used by most vendors yet. Some work is still needed to port cedarx2.0 to linux. The directory of cedarx2.0 in Android SDK is

Re: [linux-sunxi] Allwinner GPL violations: definitive proof.

2015-03-07 Thread Henrik Nordström
fre 2015-03-06 klockan 19:44 + skrev Manuel Braga: The video engine is the least priority item in the wish list, but is dependent of all the others. I understand that, and also don't see a point of wasting time in a 100% open source driver and software for it, if the only way to use it

Re: [linux-sunxi] Allwinner GPL violations: definitive proof.

2015-03-05 Thread Henrik Nordström
ons 2015-03-04 klockan 17:41 + skrev Manuel Braga: What we get? Just indifference that the reverse engineering effort even exists. Sorry you get this impression. I know I have been silent, but that's mostly because video is not something I am interested in, and especially not Allwinners

Re: [linux-sunxi] Re: Allwinner GPL violations: definitive proof.

2015-03-03 Thread Henrik Nordström
fre 2015-02-27 klockan 00:04 -0800 skrev pelj...@gmail.com: Personally I'd love to see AllWinner gets their products !banned for instance in the whole US. Would this not help? The western world is a relatively small market for Allwinner. Their main market is China and related countries.

Re: [linux-sunxi] Basic A33 support including dram init available in my personal repo

2015-03-02 Thread Henrik Nordström
mån 2015-03-02 klockan 00:12 +0530 skrev Vishnu Patekar: Allwinner A33 tablets comes with the libdram binary, fortunately I've found the libdram code at https://github.com/realthunder/a33_bootloader/tree/master/basic_loader/bsp/bsp_for_a67. oh.. that has bsp packages for most Allwinner CPUs.

Re: [linux-sunxi] Re: Communication with Allwinner

2015-02-20 Thread Henrik Nordström
fre 2015-02-20 klockan 03:03 -0800 skrev mike.v...@gmail.com: For A312 and A80 they chose Imagination's PowerVR as the GPU, I don't know if they chose the use Imagination parts for the Display Controller and VPU A80 has mostly the same display controller and video codec engine as the other

Re: [linux-sunxi] Re: mainline NAND

2014-12-18 Thread Henrik Nordström
tor 2014-12-18 klockan 13:47 +0100 skrev Michal Suchanek: Yes, that's what you can obviously do. If the ID listed in the datasheet and the ID read by the kernel does not agree put the ID read in the table. However, how is Joe User with a Chinese tablet supposed to add his NAND chip? If the

Re: [linux-sunxi] mainline NAND

2014-12-16 Thread Henrik Nordström
tis 2014-12-16 klockan 19:01 +0100 skrev Michal Suchanek: Hello, I tried to rebase the v7 patchset on top of 3.18 and add the DT bindings on cubieboard: https://github.com/hramrach/linux-sunxi/commit/a946d593ddcf443b0f035f6d39fe0c558189dacc The nand driver fails equally on both cubieboard

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

2014-11-24 Thread Henrik Nordström
sön 2014-11-23 klockan 22:13 -0800 skrev RFat: Alright, the manual of the A80 is OUT! And looking good. Still several components without documentation, but a long way since A10. Regards Henrik -- You received this message because you are subscribed to the Google Groups linux-sunxi group.

Re: [linux-sunxi] Re: New files (SDK, images) on bbs.merrii.com about the A10, A20, A31 and A80

2014-11-17 Thread Henrik Nordström
mån 2014-11-17 klockan 11:11 +0200 skrev Simos Xenitellis: @Alejandro, Is there interest to host all those on dl.linux-sunxi.org? Is there enough extra space (about 40GB) for the full set of A10, A20, A31, A80 SDKs? I can try to download and move them there. Yes there is, at least until

Re: [linux-sunxi] Re: New files (SDK, images) on bbs.merrii.com about the A10, A20, A31 and A80

2014-11-17 Thread Henrik Nordström
mån 2014-11-17 klockan 08:46 -0500 skrev Stefan Monnier: I expect there is an enormous amount of redundancy in there. Yes there is a lot of redundancy. there is also a a fair share of binaries which is not quite suitable for git, but maybe it is manageable, plus a number of GPL violations.

Re: [linux-sunxi] Re: New files (SDK, images) on bbs.merrii.com about the A10, A20, A31 and A80

2014-11-17 Thread Henrik Nordström
mån 2014-11-17 klockan 20:55 -0500 skrev Stefan Monnier: there is also a a fair share of binaries which is not quite suitable for git, but maybe it is manageable, plus a number of GPL violations. Are those binaries of any use for linux-sunxi? Not very much. It is mainly * livesuit

Re: [linux-sunxi] Announcing u-boot with full A31 support

2014-11-02 Thread Henrik Nordström
sön 2014-11-02 klockan 17:06 +0100 skrev Hans de Goede: I still need to cleanup the axp221 and p2wi patches a bit, and then I'll post the entire series for review. Is this the reason why PLL1 configuration is still disabled in the patch set? Regards Henrik -- You received this message

Re: [linux-sunxi] [PATCH] Allow empty sections as found in the FEX files of Ippo q8h v1.2 and FSL S8

2014-10-28 Thread Henrik Nordström
tis 2014-10-21 klockan 16:20 +0200 skrev Reinhard Max: --- script_bin.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) Verified and pushed. Thanks! Regards Henrik -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To

Re: [linux-sunxi] Re: sunxi full duplex spi driver

2014-10-26 Thread Henrik Nordström
lör 2014-10-25 klockan 09:51 +0100 skrev Gnichi Mohamed: This is the patch that i gathered from the discussion. I tested it with mcp3008 adc full duplex communication and it works as a charm. Do I read the patch correctly that DMA is not supported? Regards Henrik -- You received this

Re: [linux-sunxi] Re: sunxi full duplex spi driver

2014-10-25 Thread Henrik Nordström
Can you please resend this as a unified diff? (diff -u) fre 2014-10-24 klockan 01:04 -0700 skrev Gnichi Mohamed: I made a cooking of patches in case any one needs it. Mo 513,519d512 /* keep unused burst */ void spi_clear_dhb(void *base_addr) { u32 reg_val = readl(base_addr

Re: [linux-sunxi] Re: sunxi full duplex spi driver

2014-10-25 Thread Henrik Nordström
communication and it works as a charm. 2014-10-25 9:19 GMT+01:00 Henrik Nordström hen...@henriknordstrom.net: Can you please resend this as a unified diff? (diff -u) fre 2014-10-24 klockan 01:04 -0700 skrev Gnichi Mohamed: I made a cooking

Re: [linux-sunxi] Re: sunxi full duplex spi driver

2014-10-25 Thread Henrik Nordström
Ah, sorry! didn't notice the attachment. Thanks! Regards Henrik lör 2014-10-25 klockan 18:10 +0200 skrev Henrik Nordström: Can you please resend the patch as a unified diff (diff -u oldfile newfile). Patches in ed format is not can not be applied or reviewed. lör 2014-10-25 klockan 09:51

Re: [linux-sunxi] multiple NAND flash chips?

2014-10-24 Thread Henrik Nordström
tor 2014-10-23 klockan 18:09 +0800 skrev Jhon Yi: I had ever soldered a samsung nand chip with two chip selects and then found that only half size was recognized. That means the second chip select pin is not activated. Did you reconfigure the FEX to indicate there is two? Regards Henrik --

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

2014-10-01 Thread Henrik Nordström
ons 2014-10-01 klockan 09:38 +0200 skrev Jorge: You'll need to run an hypervisor to arbitre the access to shared resources for the two OSs Not really if all you want is to run a simple RTOS on one core, and not sharing any I/O resources. To do that basically all you need is to reserve the

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

2014-09-28 Thread Henrik Nordström
sön 2014-09-28 klockan 02:18 +0200 skrev Luc Verhaegen: Why didn't someone from Allwinner send these documents in him/herself? The current person discussion the matter with Allwiner was Simos, who is part of the linux-sunxi community. Allwinner sent current versions of the documents to Simos

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

2014-09-27 Thread Henrik Nordström
lör 2014-09-27 klockan 09:35 -0400 skrev jonsm...@gmail.com: Is there a specific contact point for documentation issues? For example it looks like the A20 manual is still missing the chapter for the S/PDIF hardware. The current proposal is that we track errata and shortcomings in our wiki

Re: [linux-sunxi] [PATCH 3/4] config:sunxi: set debug uart to 0 for sun5i defconfig

2014-09-23 Thread Henrik Nordström
tis 2014-09-23 klockan 19:03 +0200 skrev Paul Kocialkowski: As far as I know, the U-Boot debug UART output is hardcoded in the config as well (CONS_INDEX), so it could be handed to the kernel correctly. The u-boot console UART is only hardcoded in config because we haven't cared to implement

Re: [linux-sunxi] [PATCH 3/4] config:sunxi: set debug uart to 0 for sun5i defconfig

2014-09-23 Thread Henrik Nordström
tis 2014-09-23 klockan 21:40 +0200 skrev Paul Kocialkowski: Alright. It is however not used on our sunxi-3.4 code, nor on the U-Boot we maintain. Our sunxi-3.4 kernel do use pinmappings from the FEX file, even for UART pinmappings. See drivers/tty/serial/8250/8250_sunxi.c for the UART parts.

Re: [linux-sunxi] [PATCH v2 0/2] sunxi-tools: fel: Add A80 support

2014-09-21 Thread Henrik Nordström
sön 2014-09-21 klockan 23:42 +0800 skrev Chen-Yu Tsai: This is v2 of the A80 SoC FEL mode support series. Thanks! Series reviewed. applied pushed. Regards Henrik -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group

Re: [linux-sunxi] Help adding I2C child node

2014-09-20 Thread Henrik Nordström
lör 2014-09-20 klockan 14:54 +0100 skrev bruce bushby: First question: Does my DTS child node look ok? i2c0: i2c@01c2ac00 { pinctrl-names = default; pinctrl-0 = i2c0_pins_a; status = okay; mpu@69 { compatible = inv_mpu_iio;

Re: [linux-sunxi] Livesuit

2014-09-14 Thread Henrik Nordström
lör 2014-09-13 klockan 17:43 +0200 skrev Luc Verhaegen: I hope our nand driver does not completely reformat the flash, and instead just kill the partition table or so. If not, i will have to disappoint several people. Each version of the Allwinner NAND driver I have looked at the sources

Re: [linux-sunxi] GPL Violations round-up.

2014-09-14 Thread Henrik Nordström
tor 2014-08-28 klockan 18:20 +0200 skrev Michal Suchanek: I cannot say anything about a23, a31, a80 and whatnot but I noticed somebody provided a link for quite complete a20 SDK from which this code comes:

Re: [linux-sunxi] Livesuit

2014-09-13 Thread Henrik Nordström
lör 2014-09-13 klockan 10:44 -0400 skrev jonsm...@gmail.com: A totally open source LiveSuit that doesn't need a kernel driver would be something to offer Allwinner as a demonstration of the value of openness. The main blocker for that is to integrate a NAND boot block driver. There is two of

Re: [linux-sunxi] Re: New device support strategy.

2014-09-11 Thread Henrik Nordström
tor 2014-09-11 klockan 07:33 -0700 skrev Tim Tisdall: Are we able/allowed to host those SDK's somewhere? I know a few are on the linux-sunxi.org server, but can publicly host them on github or something like that? I don't see any reason why not, as long as github (or whoever you use)

Re: [linux-sunxi] Differences between Allwinner's u-boot and kernel and uboot-sunxi/linux-sunxi on sun7i

2014-09-09 Thread Henrik Nordström
tis 2014-09-09 klockan 11:01 -0700 skrev Toroshin Dmitry: I tried to use kexec to boot kernel. Kexec from sdk/stock kernel works only with sdk kernels, kexec from linux-sunxi kernel works only with sunxi. sdk' kernel is unuseful because g2d API is broken, usb sometimes crashes (NPD

Re: [linux-sunxi] Introductions and Allwinner documentation update

2014-09-04 Thread Henrik Nordström
tis 2014-09-02 klockan 21:37 +0800 skrev Sugar: Sorry, I do not have the relevant code. I will tell these things to my colleagues. They will discuss and decide whether to open source code about DRAM or not. At this stage I think it's more relevant to try to get the DRAM controller reasonably

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-08-27 Thread Henrik Nordström
tis 2014-08-26 klockan 15:53 +0200 skrev Maxime Ripard: it should be fixed at the root. So a much better solution would be to establish a way for firmware to communicate to the kernel that a given resource has been enabled by firmware and shouldn't be disabled. Such a solution can be

Re: [linux-sunxi] Re: Generic communication of boot loader state to the OS

2014-08-27 Thread Henrik Nordström
tis 2014-08-26 klockan 16:50 -0400 skrev jonsm...@gmail.com: I wonder if DHCP client couldn't be replaced with a udev event. Set a timer in the kernel for the length of the lease. Then generate a udev event when it is ready to expire. Udev event runs an app that gets a new lease. Now there

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-08-27 Thread Henrik Nordström
ons 2014-08-27 klockan 10:55 +0200 skrev Maxime Ripard: If we just rely on a simplefb node, when reviewing and integrating the new bindings to describe accureately the various IPs involved in the display path, we would obviously create new compatibles for them. Since it's new compatibles, we

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-08-26 Thread Henrik Nordström
tis 2014-08-26 klockan 12:55 +0200 skrev Thierry Reding: So the firmware does control the resources to a point where the display hardware is initialized and then it will happily forget about them. The device will keep scanning out the framebuffer and simplefb can update it with boot

Re: [linux-sunxi] Introductions and Allwinner documentation update

2014-08-25 Thread Henrik Nordström
sön 2014-08-24 klockan 17:02 -0700 skrev Marius Cirsta: Agreed but I see respecting the GPL as a first sign of a company growing up if you will. There is two ways to grow up. a) Trying to do the right thing and gradually learn how. b) Getting sued when not doing it. Path 'a' is much

Re: [linux-sunxi] Introductions and Allwinner documentation update

2014-08-24 Thread Henrik Nordström
fre 2014-08-22 klockan 19:45 +0200 skrev Luc Verhaegen: First and foremost, the many GPL violations have to get resolved. Lets try to look forward instead. Discussions about GPL violations rarely get anywhere positive. What should the environment look like around Allwinner products built from

Re: [linux-sunxi] Re: [PATCH 3/4] simplefb: disable dt node upon remove

2014-08-14 Thread Henrik Nordström
tor 2014-08-14 klockan 08:07 -0400 skrev jonsm...@gmail.com: So what are the rules going to be? Once the OS is up and starts changing things the state in the DT and the OS are going to diverge. How does this get handled for a kernel driver that can load/unload? Should the kernel remove those

Re: [linux-sunxi] [PATCH 4/4] simplefb: add clock handling code

2014-08-14 Thread Henrik Nordström
tor 2014-08-14 klockan 13:18 +0200 skrev Hans de Goede: That likely is with debug-info, try running strip --strip-debug on the .ko file. Note don't use plain strip that ruins kernel modules. The size command works nicely for determining actual binary size of binaries/modules/objects without

Re: [linux-sunxi] Interview questions to Allwinner

2014-08-08 Thread Henrik Nordström
tor 2014-08-07 klockan 17:43 +0300 skrev Simos Xenitellis: In addition, companies in China/Korea/Japan tend to be rigidly hierarchical, so you tend to need to persuade someone high in the ranks. From what I can understand it's more the mid ranks needing a better understanding of what Open

Re: [linux-sunxi] Interview questions to Allwinner

2014-08-06 Thread Henrik Nordström
ons 2014-08-06 klockan 08:27 -0400 skrev jonsm...@gmail.com: I suspect they could eliminate 50% of their support burden by doing two things: 1) Full documentation in the manuals/datasheets 2) Put the SDKs up on a public server so that people can be sure they are using the most recent ones.

Re: [linux-sunxi] [PATCH 0/2] sunxi: Single u-boot binary for Allwinner A10/A13/A20 devices

2014-08-04 Thread Henrik Nordström
sön 2014-08-03 klockan 06:26 +0300 skrev Siarhei Siamashka: Most of Allwinner devices have NAND. Booting from NAND is supported by BROM, so there is no reason why u-boot SPL can't read it too. An alterantive is to let BROM load it. BROM has support for a custom header on the loaded boot

Re: [linux-sunxi] Re: [PATCH] video: add cfb console driver for sunxi

2014-08-04 Thread Henrik Nordström
mån 2014-08-04 klockan 17:05 +0200 skrev Luc Verhaegen: But... What do we do when u-boot sets up cfb, without setting up a simplefb node in the dt. Or what do we do when a simplefb node is set up, but no simplefb code is included in the kernel? Well, we then either need to claim the clocks,

Re: [linux-sunxi] Problem with Allwinner A31 fastboot and Macs

2014-08-04 Thread Henrik Nordström
lör 2014-08-02 klockan 22:52 -0700 skrev Caspy7: We've got 500 A31-based tablets which we're testing Firefox OS on worldwide. Unfortunately we've found that, when in fastboot mode, Macs are unable to access the device with the fastboot client. (The device *is* visible to the Mac system while

Re: [linux-sunxi] Re: [PATCH] video: add cfb console driver for sunxi

2014-08-04 Thread Henrik Nordström
mån 2014-08-04 klockan 18:53 +0200 skrev Michal Suchanek: Then you have to define what is compatible. Yes, and the part I responded to was odd unexpected combinations of u-boot only partially providing the right information (missing in DT) or kernel not having enabled support. Likewise there

Re: [linux-sunxi] Re: [PATCH] video: add cfb console driver for sunxi

2014-08-04 Thread Henrik Nordström
mån 2014-08-04 klockan 19:28 +0200 skrev Luc Verhaegen: We can work around most situations gracefully in kernelspace. We should for instance never set a bad mode, and never show random memory content, as that is a total no-go. So some code will have to exist to cleanly disable the display

Re: [linux-sunxi] allwinner supports

2014-07-27 Thread Henrik Nordström
lör 2014-07-26 klockan 11:31 +0800 skrev wantlamy: 1. Does allwinner have supports for this mailing list? I am pretty sure some past and current Allwinner employees are lurking on this list, but it is not an official channel for reaching Allwinner. 2. What style of supports do you want to get

Re: [linux-sunxi] conflict gpio-sunxi with gt811_ts

2014-07-25 Thread Henrik Nordström
tor 2014-07-24 klockan 04:36 -0700 skrev behrooz vosough: hello I am using goodix-gt811 ctp 7 inch and i have not problem to use this module but when i modprobe gpio-sunxi , the interrupt of my ctp disable This is likely an issue in your script.bin, at least partially. Regards Henrik --

Re: [linux-sunxi] Our uboot boards.cfg.

2014-07-23 Thread Henrik Nordström
ons 2014-07-23 klockan 10:12 +0200 skrev Hans de Goede: No just no, this is the good old mark 1 mku802 casing, with a different pcb in there, sold under a gazillion different brands, these hdmi stick are in general just known as mk802 without any brand attached to them. Yes, and several

Re: [linux-sunxi] Our uboot boards.cfg.

2014-07-23 Thread Henrik Nordström
ons 2014-07-23 klockan 01:48 +0200 skrev Luc Verhaegen: On Wed, Jul 23, 2014 at 01:19:07AM +0200, Henrik Nordström wrote: ons 2014-07-23 klockan 00:11 +0200 skrev Luc Verhaegen: is how people find our wiki and thus our project. If you are not convinced, google for cubieboard, and check

Re: [linux-sunxi] Our uboot boards.cfg.

2014-07-23 Thread Henrik Nordström
ons 2014-07-23 klockan 09:27 -0400 skrev jonsm...@gmail.com: That new uboot DRAM support from Siarhei has the potential to boot on any Allwinner device. Once that hits we could do to a single generic entry for Allwinner. Then after uboot is out of SPL uboot could use a DTB to set everything

Re: [linux-sunxi] Re: A20 boot0/boot1 info

2014-07-22 Thread Henrik Nordström
mån 2014-07-21 klockan 09:08 -0700 skrev Ivan Kozic: Ok, I have some updates - it seems that my Boot1 was compiled with SCRIPT_INSTALL_EARLY, so it doesn't fetch script.bin, but instead looks at SCRIPT_BASE. Not really sure what's happening there, but I recompiled drv_de.drv and using some

Re: [linux-sunxi] Our uboot boards.cfg.

2014-07-22 Thread Henrik Nordström
ons 2014-07-23 klockan 00:11 +0200 skrev Luc Verhaegen: is how people find our wiki and thus our project. If you are not convinced, google for cubieboard, and check the third link. Sorry, but I am not you at your place or time. Google sorting order is different. Which link? Ok, no further

Re: [linux-sunxi] [PATCH sunxi-tools] usb-boot: Trivial typo fix s/fint/find

2014-07-05 Thread Henrik Nordström
applied fre 2014-07-04 klockan 20:43 +0100 skrev Ian Campbell: Signed-off-by: Ian Campbell i...@hellion.org.uk --- usb-boot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usb-boot b/usb-boot index 40d32ab..3881d29 100755 --- a/usb-boot +++ b/usb-boot @@ -67,7 +67,7

Re: [linux-sunxi] [PATCH u-boot-sunxi] sunxi: fix failure of mmc init

2014-07-04 Thread Henrik Nordström
fre 2014-07-04 klockan 17:14 +0800 skrev Wills Wang: +gctrl = readl(mmchost-reg-gctrl); +gctrl = ~SUNXI_MMC_GCTRL_ACCESS_BY_AHB; The above line seems redundant / unnecessary. These lines are based on read-modify-write principle, the mmc hardware on sunxi have no detail document,

Re: [linux-sunxi] [PATCH u-boot-sunxi] sunxi: fix failure of mmc init

2014-07-03 Thread Henrik Nordström
Thanks! Applied. tor 2014-07-03 klockan 16:56 +0800 skrev Wills Wang: --- drivers/mmc/sunxi_mmc.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c index bbfe8a3..f0cb760 100644 --- a/drivers/mmc/sunxi_mmc.c

Re: [linux-sunxi] Possible G2D kernel bug

2014-07-03 Thread Henrik Nordström
Looks fine. Applied to stage/sunxi-3.4. tor 2014-07-03 klockan 13:28 +0200 skrev Andreas Baierl: G2D seems to break if a zero value of src_rect.w or src_rect.h is provided to g2d_blit, g2d_fill or g2d_stretchblit. para.src_rect.w == 0 or para.src_rect.h == 0 results in trying to write -1

Re: [linux-sunxi] NAND wear leveling

2014-06-29 Thread Henrik Nordström
fre 2014-06-27 klockan 10:00 -0700 skrev markus.ropp...@gmail.com: with the NAND code being upstream (kernel 3.16), I wonder if any wear leveling is done. In software or in hardware (cubietruck)? Or could I use UBIFS? I read this does not work with block devices. The upstream NAND driver is a

Re: [linux-sunxi] Re: OLIMEX A20-SOM: requires working uboot

2014-06-28 Thread Henrik Nordström
Thanks! https://github.com/linux-sunxi/u-boot-sunxi/commit/299c37419e0b8c7270e145500894e49355afcdfb lör 2014-06-28 klockan 12:48 +0100 skrev bruce bushby: Fixed. U-Boot SPL 2014.04 (Jun 28 2014 - 12:19:24) Board: A20-SOM DRAM: 1024 MiB CPU: 96000Hz, AXI/AHB/APB: 3/2/2

Re: [linux-sunxi] Re: OLIMEX A20-SOM: requires working uboot

2014-06-28 Thread Henrik Nordström
lör 2014-06-28 klockan 10:03 -0700 skrev ditmar.r...@gmail.com: One important step of the device howto is Step 3: Retrieve crucial information from the stock OS Have you still the original os on your board? Is there an original fex available ? What original OS? A20-SOM do not have a flash

Re: [linux-sunxi] OLIMEX A20-SOM: requires working uboot

2014-06-27 Thread Henrik Nordström
fre 2014-06-27 klockan 01:55 -0700 skrev bruce bushby: Using various board configs: A20-OLinuXino_MICRO Cubieboard2 These are both 100Mbps EMAC designs. Nothing works .except for Cubietruck, I am able to get the network working using an image built for Cubietruck Cubietruck is 1Gbps

Re: [linux-sunxi] [PATCH sunxi-tools] Add copyright headers to various files.

2014-06-12 Thread Henrik Nordström
tor 2014-06-12 klockan 09:05 +0100 skrev Ian Campbell: I know this is pretty tedious, but, ping? On Thu, 2014-06-05 at 20:39 +0100, Ian Campbell wrote: I'd like to package sunxi-tools for Debian and therefore it is important for the licensing information to be complete/accurate. I believe

Re: [linux-sunxi] Booting SPI serial flash in A13

2014-06-12 Thread Henrik Nordström
ons 2014-06-11 klockan 23:42 -0700 skrev Nohee Park: I have to use the SPI serial flash boot mode in A13. Is there the SPI serial flash boot mode implemented int A13 ? Th A13 supports SPI boot, but we do not have a known working SPI boot loader to store on the SPI flash. Regards Henrik --

Re: [linux-sunxi] [PATCH sunxi-tools] Add copyright headers to various files.

2014-06-12 Thread Henrik Nordström
tor 2014-06-12 klockan 20:02 +0100 skrev Ian Campbell: You also wrote usb-boot (Alejandro Mery and Michal Suchanek contributed a tiny typo fix each). Do you prefer MIT for that one too? Yes, that too should be MIT for the same reasons. You also authored a fair wedge of Makefile. Are you ok

[linux-sunxi] sunxi NAND conroller registers

2014-05-24 Thread Henrik Nordström
Hi Boris, just wondering if you have updated documentation on the NAND controller registers somewhere to supplement your code. Thinking mostly about ECC timing controls. Regards Henrik -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To

Re: [linux-sunxi] [PATCH u-boot-sunxi] sunxi: support Thumb2 for FEL

2014-05-19 Thread Henrik Nordström
mån 2014-05-19 klockan 10:55 +0300 skrev Siarhei Siamashka: I would say that it might be a good idea to update the fel linker script to set the memory area 0x2000-0x5cff Free for program use for the code/data/bss. Then add a special FEL entry point, which would initialize bss (have it set to

[linux-sunxi] Re: [PATCH] Revert gpio: Oscillate option

2014-05-18 Thread Henrik Nordström
Acked-By: Henrik Nordstrom hen...@henriknordstrom.net fre 2014-05-16 klockan 22:00 +0100 skrev Ian Campbell: This reverts commits d104fc0ee38a and af9f4057a591. Henrik says in https://groups.google.com/forum/#!msg/linux-sunxi/nSKH4IcTaX8/YBVQLMrzfKwJ: GPIO_OSCILLATE is a hack in our

Re: [linux-sunxi] [PATCH u-boot-sunxi] sunxi: support Thumb2 for FEL

2014-05-18 Thread Henrik Nordström
fre 2014-05-16 klockan 22:59 +0300 skrev Siarhei Siamashka: Do we have some sort of a BROM USB driver running alongside with our SPL in the FEL mode? At least the stack base is set so that we don't have too much SRAM available for SPL. The FEL binary is only responsible for initializing the

Re: [linux-sunxi] [PATCH u-boot-sunxi] sunxi: support Thumb2 for FEL

2014-05-18 Thread Henrik Nordström
sön 2014-05-18 klockan 23:59 +0300 skrev Siarhei Siamashka: My question was whether you possibly know the exact SRAM memory layout in the FEL mode and the areas possibly reserved by BROM. If you don't really know, then we always have the BROM disassembly listings if somebody is really curious.

Re: [linux-sunxi] [PATCH u-boot-sunxi] sunxi: support Thumb2 for FEL

2014-05-16 Thread Henrik Nordström
fre 2014-05-16 klockan 17:04 +0100 skrev Ian Campbell: On Fri, 2014-05-16 at 18:05 +0300, Siarhei Siamashka wrote: The FEL SPL entry point at the address 0x2000 starts execution in the ARM mode. So we need to make sure that this particular code is also compiled for the ARM mode. The rest of

Re: [linux-sunxi] sata multiplier with A20

2014-05-07 Thread Henrik Nordström
ons 2014-05-07 klockan 02:19 -0700 skrev mike.v...@gmail.com: So the question is: - What is supported by which Allwinner hardware? Unspecified. No documentation other than driver source available. - And what's implemented (active/inactive) in the drivers? The sunxi driver is mostly PHY

Re: [linux-sunxi] Re: sunxi uboot MTD NAND boot

2014-04-03 Thread Henrik Nordström
You need a kernel with NAND boot block area support for this. ons 2014-04-02 klockan 22:31 -0700 skrev wpc...@gmail.com: Hello, do you succeed in writing u-boot-spl.bin to nand ? I tried but failed. I even erase the first 64MB space of nand, but the boot0 boot1 still exists. Can you help

Re: [linux-sunxi] [PATCH u-boot-sunxi.git] sunxi: dram: checkpatch.pl cleanups

2014-03-23 Thread Henrik Nordström
fre 2014-03-21 klockan 16:33 + skrev Ian Campbell: Thanks, I was really hoping we could pull mainline up to this level too ASAP. I want to avoid the possibility of diverging into two forks with different featuresets. But I guess hno isn't around so this will have to do. What is held back

Re: [linux-sunxi] [PATCH+GIT 0/9] sunxi: upstream review based cleanups

2014-03-23 Thread Henrik Nordström
sön 2014-03-23 klockan 12:21 +0100 skrev Olliver Schinagl: It's not a huge bug I suppose, but still, it's wrong isn't it. Wolfgang Denk even said 'this is wrong, you are right' but nothing came from it I think :) So just ping the list with a response to his response asking if there is

[linux-sunxi] Re: [PATCH 4/9] sunxi: only try to init dram once.

2014-03-23 Thread Henrik Nordström
sön 2014-03-16 klockan 17:34 + skrev Ian Campbell: As Alex explains in [0] this triple call likely dates back to before the DRAM init code used proper timings. It is not necessary any more. maybe, but not comfortable removing it without some test showing that the problem is indeed solved.

[linux-sunxi] Re: [PATCH u-boot sunxi 3/4] sunxi: Implement reset_cpu

2014-03-23 Thread Henrik Nordström
sön 2014-03-16 klockan 14:53 +0100 skrev Hans de Goede: void reset_cpu(ulong addr) { + static const struct sunxi_wdog *wdog = + ((struct sunxi_timer_reg *)SUNXI_TIMER_BASE)-wdog; + + /* Set the watchdog for its shortest interval (.5s) and wait */ +

[linux-sunxi] Re: [PATCH u-boot sunxi 3/4] sunxi: Implement reset_cpu

2014-03-23 Thread Henrik Nordström
sön 2014-03-16 klockan 18:38 + skrev Ian Campbell: Not sure why cmd_watchdog.c is sunxi, seems like in principal it could be generic. In principal it could, but there is no common API for setting the watchdog timer, and no common API for disabling the watchdog once armed. Regards Henrik

[linux-sunxi] Re: [PATCH 9/9] sunxi: remove key driver

2014-03-23 Thread Henrik Nordström
sön 2014-03-16 klockan 17:34 + skrev Ian Campbell: This code hasn't been called since the calls to it randomly disappeared in 71e6be0ccbd5 sunxi: get u-boot mmc spl work and 4d29a5dd7414 sunxi: further clean sunxi platform. It seems to have only ever been used as test code anyway. It's

Re: [linux-sunxi] Re: [PATCH 9/9] sunxi: remove key driver

2014-03-23 Thread Henrik Nordström
mån 2014-03-24 klockan 01:18 +0100 skrev Henrik Nordström: sön 2014-03-16 klockan 17:34 + skrev Ian Campbell: This code hasn't been called since the calls to it randomly disappeared in 71e6be0ccbd5 sunxi: get u-boot mmc spl work and 4d29a5dd7414 sunxi: further clean sunxi platform

  1   2   >