here.
If this particular check fails (the SPL part does not match the main
U-Boot part), then something is already very wrong.
> printf("sunxi SPL version mismatch: expected %u, got %u\n",
> -SPL_HEADER_VERSION, spl_header_version);
> +
the v3 features (if at all)?
> We can just put a warning in there, to ask users to upgrade.
> That would have worked already with the v1/v2 transition, I believe.
Yes, that's more or less how this was supposed to work in sunxi-tools
from the very beginning. Except that we unfortunately got
iod, then
go ahead.
The timeline is preliminary and we can extend the deadlines a bit if
some features need more time (but preferably by no more than one extra
week). Do you have any comments or suggestions?
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscri
u need to pick only one copyright line from the old code,
then you should mention Luc instead of Hans. Hans de Goede surely
has done a lot of massaging for this code later (plus added EDID and
LCD support). But it was Luc, who made it happen back in 2014 by
providing a usable graphics support for the ma
ry that you can get anyway, so it is economically unreasonable
to design boards with anything older.
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop recei
gt; dram_sunxi_dw.c} (84%)
> create mode 100644 arch/arm/mach-sunxi/dram_timings/Makefile
> create mode 100644 arch/arm/mach-sunxi/dram_timings/ddr2_v3s.c
> create mode 100644 arch/arm/mach-sunxi/dram_timings/ddr3_1333.c
> create mode 100644 arch/arm/mach-sunxi/dram_timings/lpddr3_st
al
and undesired activation of the wacky mode (an *important bugfix*
for a real problem encountered in the wild).
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and
On Tue, 28 Feb 2017 09:16:11 +
Andre Przywara <andre.przyw...@arm.com> wrote:
> Hi,
>
> On 28/02/17 03:08, Siarhei Siamashka wrote:
> > On Mon, 27 Feb 2017 20:55:53 +
> > Andre Przywara <o...@andrep.de> wrote:
> >
> >> On Mon, 2
On Tue, 28 Feb 2017 05:14:27 +0800
Icenowy Zheng <icen...@aosc.xyz> wrote:
> 2017年2月28日 04:55于 Andre Przywara <o...@andrep.de>写道:
> >
> > On Mon, 27 Feb 2017 05:48:48 +0200
> > Siarhei Siamashka <siarhei.siamas...@gmail.com> wrote:
> >
> >
On Mon, 27 Feb 2017 20:55:53 +
Andre Przywara <o...@andrep.de> wrote:
> On Mon, 27 Feb 2017 05:48:48 +0200
> Siarhei Siamashka <siarhei.siamas...@gmail.com> wrote:
>
> > On Mon, 27 Feb 2017 02:22:08 +
> > André Przywara <andre.przyw...@arm.com>
On Mon, 27 Feb 2017 02:22:08 +
André Przywara <andre.przyw...@arm.com> wrote:
> On 27/02/17 01:20, Siarhei Siamashka wrote:
> > On Wed, 22 Feb 2017 17:08:47 +
> > Andre Przywara <o...@andrep.de> wrote:
> >
> >> If an SoC has the "s
tarted), I can follow the Github process if you prefer that.
>
> Cheers,
> Andre.
Hi Andre,
Why don't we just do this automatically without adding a new special
command?
We are not allowed to read the SCR register for detecting this state,
right? But can we still use some other detection m
On Sat, 11 Feb 2017 00:05:42 -0300
Vinicius Maciel <vinicius...@gmail.com> wrote:
> Em 10 de fev de 2017 23:53, "Siarhei Siamashka" <siarhei.siamas...@gmail.com>
> escreveu:
>
> > On Fri, 10 Feb 2017 19:02:47 -0300
> > Vinicius Maciel <vinicius...@
imilar commits). Also a similar
fix most likely needs to be applied to the spi-sun6i.c file too (due
to the copy-paste curse and code duplication), but I'm not sure if it
needs to be a part of this patch or a separate one.
Reviewed-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
--
B
AT, 0666);
> + if (fd_out < 0) {
> + perror("Open output file");
> + return EXIT_FAILURE;
> + }
> }
>
> /* read file to buffer to calculate checksum */
> @@ -115,7 +140,7 @@ int main(int a
s can be passed to the
board_fit_config_name_match() function in some way.
Then the sun50i-a64-pine64 device tree file can specify that this board
is expected to have exactly 512 MiB of RAM. Having this information,
the board_fit_config_name_match() function will fail to match it if
the actual RA
t wrong.
> + * Read the value directly from SID controller, in order to get
> + * the correct value, and also refresh the wrong value at
> + * SUNXI_SID_BASE.
> + */
> + int i;
> +
> + for (i = 0; i< 4; i++)
> + sid[i] = sun8i_efuse_read(i * 4);
cabo...@gmail.com>:
> >
> >> Hello!!
> >> First of all, thanks for the answer
> >>
> >> About the example you said, is it usable for Cubietruck?? I should try a
> >> simple example bare-metal on it.
> >>
> >> Can you help me?
> &g
ense though. So if your operating system is proprietary, then
you can't copy/paste this code directly.
If your operating system is open source, then I'm quite curious
to have a look at it.
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscribed to the G
On Sun, 25 Sep 2016 10:19:55 +0200
Danny Milosavljevic <dan...@scratchpost.org> wrote:
> On Fri, 23 Sep 2016 04:03:57 +0300
> Siarhei Siamashka <siarhei.siamas...@gmail.com> wrote:
> > I'm not sure, but something like this might be somehow related:
> > http
On Fri, 23 Sep 2016 10:48:11 +0300
Maxime Ripard <maxime.rip...@free-electrons.com> wrote:
> On Fri, Sep 23, 2016 at 04:03:57AM +0300, Siarhei Siamashka wrote:
> > On Thu, 22 Sep 2016 23:52:52 +0200
> > Danny Milosavljevic <dan...@scratchpost.org> wrote:
> >
s/sun8i-a23.dtsi | 12 ++
> arch/arm/boot/dts/sun8i-a33.dtsi | 12 ++
> drivers/spi/spi-sun6i.c| 43
> +++---
> 5 files changed, 103 insertions(+), 8 deletions(-)
>
--
Best regards,
Siarhei Sia
river via the
mainline kernel mailing list.
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to linux-sunxi+unsubsc
supports 1.8V or not.
But I'm not an eMMC expert, so please correct me if I got
everything wrong.
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receivin
t the same errors!
>
>
> Am I missing any steps in between?
It looks like there is some bug in U-Boot.
Please try to check who is the maintainer of the SinA33 board in
the mainline U-Boot. Then send a bugreport to the mainline U-Boot
mailing, also adding the board maintainer to CC. And plea
On Tue, 6 Sep 2016 18:24:28 +0800
Chen-Yu Tsai <w...@csie.org> wrote:
> On Tue, Sep 6, 2016 at 6:20 PM, Siarhei Siamashka
> <siarhei.siamas...@gmail.com> wrote:
> > Hi,
> >
> > On Tue, 6 Sep 2016 02:51:29 -0700 (PDT)
> > Ciprian Manea <cip
ae1646e5aee7c1425ee507d275699a072e
There is no guarantee that it will work and I don't have the same
board as you. But if there are any problems left, they should not
be very difficult to fix.
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscribed to the Google Groups
&q
The U-Boot bootloader is not quite ready for this though and may
need some fixes (it needs to differentiate booting from the eMMC
boot partitions and booting from the eMMC data area). There are
special magic codes for the boot media type returned by the boot
ROM: https://irclog.whitequark.org/linu
On Thu, 30 Jun 2016 13:13:48 +0200
Michal Suchanek wrote:
> Hello,
>
> On 25 June 2016 at 05:45, wrote:
> > From: Ondrej Jirman
> >
> > Use Xulong Orange Pi One GPIO based regulator for
> > passive cooling and thermal management.
> >
On Thu, 9 Jun 2016 19:42:55 -0700
Simon Glass <s...@chromium.org> wrote:
> Hi,
>
> On 9 June 2016 at 18:33, Siarhei Siamashka <siarhei.siamas...@gmail.com>
> wrote:
> > Hi Simon,
> >
> > On Thu, 9 Jun 2016 17:36:10 -0700
> > Simon Glass <s...
Hi Simon,
On Thu, 9 Jun 2016 17:36:10 -0700
Simon Glass <s...@chromium.org> wrote:
> Hi,
>
> On 7 June 2016 at 05:28, Siarhei Siamashka <siarhei.siamas...@gmail.com>
> wrote:
> > Allwinner devices support SPI flash as one of the possible
> > bootable
On Wed, 1 Jun 2016 14:54:24 +0200
Boris Brezillon <boris.brezil...@free-electrons.com> wrote:
> On Wed, 1 Jun 2016 14:41:36 +0300
> Siarhei Siamashka <siarhei.siamas...@gmail.com> wrote:
>
> > On Mon, 30 May 2016 19:02:13 +0200
> > Boris Brezillon <boris
Hello,
On Wed, 8 Jun 2016 02:56:41 -0700 (PDT)
boob...@gmail.com wrote:
> Hello
>
> Nice to see new entry to boot.
> I would like to know if sdcard wired in spi mode can working with
> this spi boot support.
No, it can't. The SPI protocol used by the SD card is different
from the SPI protocol
-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
---
Changes in v2:
- Add Kconfig option (CONFIG_SPL_SPI_SUNXI) and move the SPI flash
support code into a separate source file
- Use CONFIG_SYS_SPI_U_BOOT_OFFS instead of the hardcoded constant
- Deinitialize the SPI controller and un
reserve [1], which should provide additional 4 or
5 KiB of space for the code. Still we need to be very careful about
using up this reserve, to ensure that it is well spent on something
useful (such as NAND support) instead of being just wasted by the
bloatware cultists :-)
[1] http://lists.denx.de/piperm
On Mon, 30 May 2016 19:02:13 +0200
Boris Brezillon <boris.brezil...@free-electrons.com> wrote:
> On Mon, 30 May 2016 19:46:17 +0300
> Siarhei Siamashka <siarhei.siamas...@gmail.com> wrote:
>
> > On Mon, 30 May 2016 17:24:16 +0200
> > Boris Brezillon <boris
ompatible board, are
you really sure?" :-) Later we can also have digital signatures
verification built into the sunxi-fel, and other nice things.
Boris, I think that your NAND use case is not very much different in
principle. You can't expect the users to desolder the NAND chip and
u
On Mon, 30 May 2016 17:12:53 +0200
Boris Brezillon wrote:
> Generating raw NAND images is particularly useful for boot0 images
> creation since the mainline driver is not supporting the funky layout
> used by Allwinner's ROM code to load the boot0 binary from
too much poorly structured information and too many SD card
images to try actually does more harm than good.
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop recei
On Thu, 21 Apr 2016 19:56:10 -0400
"jonsm...@gmail.com" <jonsm...@gmail.com> wrote:
> On Thu, Apr 21, 2016 at 7:45 PM, jonsm...@gmail.com <jonsm...@gmail.com>
> wrote:
> > On Thu, Apr 21, 2016 at 6:01 PM, Siarhei Siamashka
> > <siarhei.siamas...@gmail
On Thu, 21 Apr 2016 16:14:13 -0400
"jonsm...@gmail.com" <jonsm...@gmail.com> wrote:
> On Thu, Apr 21, 2016 at 4:09 PM, Siarhei Siamashka
> <siarhei.siamas...@gmail.com> wrote:
> > On Thu, 21 Apr 2016 13:38:19 -0400
> > "jonsm...@gmail.com" <
we can't be 100% sure until somebody confirms this.
Why are you asking this question?
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails
other sample could be a good idea.
> [1]
> http://www.micron.com/~/media/Documents/Products/Data%20Sheet/DRAM/DDR3/1Gb_DDR3_SDRAM.pdf
> [2]
> http://git.denx.de/?p=u-boot.git;a=blob;f=lib/crc32.c;h=97592124867abb815d576899f8789545c3aef1aa;hb=HEAD#l200
> [3] https://gist.github.com/pietrushnic/ea41a4ae38b7a
x00C52078) {
> + if ((sctlr & ~((0x7 << 11) | 1)) != 0x00C50078) {
> fprintf(stderr, "Unexpected SCTLR (%08X)\n", sctlr);
> exit(1);
> }
Reviewed-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
And pushed to github.
--
Best r
s
Can you probably try to read the MIDR register to check if the A80
SoC initially boots on a Cortex A15 or a Cortex A7 core? If it is A7,
then something is really odd. But if it is A15, then aggressive
instructions reordering may be exposing a missing barrier instruction
here or there. There ar
On Sun, 20 Mar 2016 16:09:40 +0100
Bernhard Nortmann <bernhard.nortm...@web.de> wrote:
> Hi Siarhei!
>
> Am 20.03.2016 um 15:49 schrieb Siarhei Siamashka:
> > This patch is just unsafe if pushed alone, that's why it implicitly
> > depends on the other "fel: M
sues/37), so feel
> free to commit it.
>
> Reviewed-by: Bernhard Nortmann <bernhard.nortm...@web.de>
Thanks.
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from t
On Sun, 20 Mar 2016 14:03:24 +0100
Bernhard Nortmann <bernhard.nortm...@web.de> wrote:
> Am 20.03.2016 um 13:53 schrieb Siarhei Siamashka:
> > Thanks, also adding an extra
> >
> >|| busnum < 0 || devnum < 0
> >
> > check here wou
k, support 40KiB SPL size for making future improvements
possible, avoid clashing with the SRAM area reserved for the OpenRISC
firmware).
Regarding the SRAM memory layout in the FEL mode, the following wiki
page provides some information:
https://linux-sunxi.org/SRAM_dumps_from_A13_
ease_interface(handle, 0);
> #if defined(__linux__)
> if (iface_detached >= 0)
> libusb_attach_kernel_driver(handle, iface_detached);
Reviewed-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
--
Best regards,
Siarhei Siamashka
--
You received this message because
On Thu, 17 Mar 2016 18:31:42 +0100
Bernhard Nortmann <bernhard.nortm...@web.de> wrote:
> Am Montag, 25. Januar 2016 05:51:02 UTC+1 schrieb Siarhei Siamashka:
> > Doing certain operations may need uploading and executing code
> > on the device. For example, such
exit(1);
> + }
> + } else
> + break; /* no valid (prefix) option detected, exit loop
> */
> + argc -= 1;
> + argv += 1;
> }
> +
> + handle = open_fel_device(busnum, devnum, A
break; /* no valid (prefix) option detected, exit loop
> */
> + argc -= 1;
> + argv += 1;
> }
> +
> + request_libusb_handle(, busnum, devnum, 0x1f3a, 0xefe8);
> rc = libusb_claim_interface(handle, 0);
> #if defined(__l
linux-sunxi/commits/20151206-embedded-lima-memtester
Also compile the right mainline U-Boot binary for your board and
generate the right script.bin from your FEX file.
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi&q
sd-card and loader , which fed program into the
> l2 cache.
The original discussion thread has more than enough hints about what
can be tried to implement this. So feel free to start coding and share
your findings with us.
Or are you actually trying to hire somebody to do this job for you?
--
HTPC box is using Allwinner H64.
The bootloader sources from Allwinner are also referring to A64 as
AW1689, which makes some sense because it is the chip id number that
is accessible for runtime identification via reading the SRAM_VER_REG
hardware register:
http://linux-sunxi.org/SRAM_Controller
as the 3.4
kernel maintainer for Allwinner H3?
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to linux-sunxi+unsubscr
On Mon, 25 Jan 2016 06:50:54 +0200
Siarhei Siamashka <siarhei.siamas...@gmail.com> wrote:
> The SCTLR bits are somewhat different because the V bit is set
> to 0 on A64 (Low exception vectors, base address 0x) and
> the UNK bit (Reads of this bit return an UNKNOWN
to 0x24000-0x2 and have
48 KiB of available space there.
Signed-off-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
---
fel.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/fel.c b/fel.c
index 419f16a..71b12b5 100644
--- a/fel.c
+++ b/fel.c
@@
This allows the SRAM section A2 to be exclusively used by
the OpenRISC core.
There are no substantial differences between H3 and A10/A13/A20.
It just has 64 KiB of SRAM starting at the address 0x0 instead
of 48 KiB.
Signed-off-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
---
fel
The SCTLR bits are somewhat different because the V bit is set
to 0 on A64 (Low exception vectors, base address 0x) and
the UNK bit (Reads of this bit return an UNKNOWN value) is also not
the same as on the other SoCs. So the SCTLR check can be relaxed.
Signed-off-by: Siarhei Siamashka
er, the lower
part of it is reserved for internal use by the sunxi-fel
tool). The 0x-0x1FFF addresses range is reserved for
passing data from the SPL to the main U-Boot binary (via
the SPL header) and is also off limits.
Signed-off-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
---
fel.c | 16
e.
New readl/writel commands for reading/writing hardware registers,
which can be used for various useful things (a more advanced OpenRISC
support will need this functionality).
The last patch (unrelated to the OpenRISC core) adds USB FEL boot
support for Allwinner A64.
Siarhei Siamashka (7)
1c23800: 87 00 00 00 __ __ __ __ __ __ __ __ __ __ __ __
Apparently, FEL tries to read data one byte at a time and this does
not always work correctly. Introducing new commands to explicitly
do 32-bit reads and writes helps:
$ sunxi-fel readl 0x01c23800
0x16254187
Signed-off-by: Siarhei Siamashka <siarhei.siamas...@gma
releases do not use them yet.
Signed-off-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
---
fel.c | 20
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/fel.c b/fel.c
index 59f0f72..0da3dc7 100644
--- a/fel.c
+++ b/fel.c
@@ -464,13 +464,17 @@ typedef
That would be a more appropriate name. And A31 is going to
implement this in a different way and give the SRAM back to
OpenRISC.
Signed-off-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
---
fel.c | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a
nd everyone is welcome to try it on the
boards like Orange Pi PC. I also have some sunxi-tools improvements
in the queue, which are going to make developing code for the
OpenRISC core and debugging it much easier. Wanted to make an
announcement when everything is ready, but you are kinda pushing
me to
n
> its executable name to select its mode, no longer an exact match).
>
> Since theses changes ended up with something very different than the
> current tools, and after a little chat with Siarhei Siamashka, i think
> the best thing to do is just keep all this as a fork of sunxi-to
g/a20/superpi.fex b/sys_config/a20/superpi.fex
Hi,
Thanks. Would it be probably better to push it to sunxi-boards
as "foxconn_superpi.fex" in order to avoid any potential namespace
clashes with LeMaker, SinoVoip and any other possible contenders?
--
Best regards,
Siarhei Siamashka
blobs on my computer.
Thanks!
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to linux-sunxi+unsubscr...@googlegr
0000022 014b ldr r3, [pc, 4] ; [:4]=0x0020 ; '('
0x00249847 blx r3
0x002608bd pop {r3, pc}
0x00282000 movs r0, r4
0x002a invalid
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
r0
`-> 0x002008402de9 push {r3, lr}
0x002408309fe5 ldr r3, [pc, 8] ; [:4]=0x0020 ; '4'
0x00280fe0a0e1 mov lr, pc
,==< 0x002c13ff2fe1 bx r3
| 0x00300880bde8 pop {r3, pc}
My random guess is that you
if (!node)
+ node = of_find_compatible_node(NULL, NULL,
+ "allwinner,sun8i-h3-cpuconfig");
if (!node) {
pr_err("Missing A31 CPU config node in the device tree\n");
return;
--
2.4
On Wed, 23 Dec 2015 22:36:19 +0800
Chen-Yu Tsai <w...@csie.org> wrote:
> On Wed, Dec 23, 2015 at 6:14 PM, Siarhei Siamashka
> <siarhei.siamas...@gmail.com> wrote:
> > On Tue, 17 Nov 2015 15:32:30 +0100
> > Jens Kuske <jensku...@gmail.com> wrote:
> >
On Sat, 19 Dec 2015 22:18:28 +0100
Thomas Kaiser <thomas.kai...@phg-online.de> wrote:
> Siarhei Siamashka wrote:
>
> > It's likely that the credit for "unlocking" the 1.5 GHz clock speed
> > actually belongs to third-party modders.
>
> Thanks for
Hi,
On Wed, 16 Dec 2015 10:11:38 +0100
Hans de Goede <hdego...@redhat.com> wrote:
> Hi,
>
> On 16-12-15 08:35, Siarhei Siamashka wrote:
> > On Thu, 10 Dec 2015 04:31:05 -0800 (PST)
> > Thomas Kaiser <thomas.kai...@phg-online.de> wrote:
> >
On Wed, 9 Dec 2015 00:40:18 -0800 (PST)
Thomas Kaiser <thomas.kai...@phg-online.de> wrote:
> Siarhei Siamashka:
>
> > Extracted from the Lubuntu_1404_For_OrangePiPC_v0_8_0_.img.xz image:
> >
> > http://www.orangepi.org/downloadresources/orangepipc/oragepipc_4
On Wed, 16 Dec 2015 12:14:10 +0100
Bernhard Nortmann <bernhard.nortm...@web.de> wrote:
> Am 16.12.2015 um 08:16 schrieb Siarhei Siamashka:
> > [...]
> > After this change, now both "spl" and "uboot" commands always execute
> > U-Boot in the e
On Thu, 10 Dec 2015 10:29:52 +0100
Jens Kuske <jensku...@gmail.com> wrote:
> On 10/12/15 03:13, Siarhei Siamashka wrote:
> > Hello,
> >
> > On Wed, 9 Dec 2015 19:29:49 +0100
> > Jens Kuske <jensku...@gmail.com> wrote:
> >
> >> On 09/12/15
t; close(fd);
>
> return 0;
Thanks for the patch. But looks like Hans de Goede has also
independently encountered the same bugs and already fixed them:
https://github.com/linux-sunxi/sunxi-tools/commit/55eec70ceafc4b8b25b4ddcd613c9ca10e41dcf7
--
Best regards,
Siarhei Siamas
Unless we get more test results in a few days which radically change
the statistics, probably using 624 MHz for DRAM on Orange Pi PC would
be reasonable.
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
On Mon, 7 Dec 2015 12:03:41 +0100
Bernhard Nortmann <bernhard.nortm...@web.de> wrote:
> Am 30.11.2015 um 12:30 schrieb Siarhei Siamashka:
> > What if "name" is, for example, a directory instead of a file?
> >
> > [...]
> > If the file does not exist,
nder the terms of GPLv2+ as defined by the
> Free Software Foundation, details can be read in the COPYING file.
Thanks, pushed to git.
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsu
t; Siarhei: Here are the proposed changes that I would like to go into
> sunxi-tools, possibly before you tag a 1.3 release. It's not urgent
> (could be postponed to a later point in time), but I think it would
> be nice to include these into a "release point".
Well, last minut
On Mon, 7 Dec 2015 12:17:04 +0100
Bernhard Nortmann <bernhard.nortm...@web.de> wrote:
> Hi Siarhei!
>
> Am 30.11.2015 um 12:44 schrieb Siarhei Siamashka:
> > Hello,
> >
> > I think that patches 1-5 can be pushed to github, even though I'm not
> > complet
-g -O0 -Wall -static -o $@ $^
> +
> .gitignore: Makefile
> @for x in $(TOOLS) $(FEXC_LINKS) $(TARGET_TOOLS) '*.o' '*.swp'; do \
> echo "$$x"; \
Thanks, pushed to git.
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscribed to
Hello,
On Wed, 9 Dec 2015 19:29:49 +0100
Jens Kuske <jensku...@gmail.com> wrote:
> On 09/12/15 09:40, Siarhei Siamashka wrote:
> > Thanks for the explanations. I finally got lima-memtester up and
> > running on H3 hardware (not that it was difficult, but just the amou
ustment is also done by this patch.
Signed-off-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
---
sys_config/h3/xunlong_orange_pi_pc.fex | 86 --
1 file changed, 52 insertions(+), 34 deletions(-)
diff --git a/sys_config/h3/xunlong_orange_
improvements.
Signed-off-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
---
sys_config/h3/xunlong_orange_pi_pc.fex | 814 +
1 file changed, 814 insertions(+)
create mode 100644 sys_config/h3/xunlong_orange_pi_pc.fex
diff --git a/sys_con
This patch makes both red and green LEDs available in /sys/class/leds
instead of probably having them reserved for some special purposes
(such as a standby mode indicator?). Being able to control the state
of LEDs from applications and scripts is quite useful.
Signed-off-by: Siarhei Siamashka
at all, then the Mali userland blob
still can work and is able to render 3D graphics. However this
is done by using memcpy to copy data into the framebuffer for each
frame and the performance becomes ridiculously bad.
Signed-off-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
---
arch/ar
@googlegroups.com/msg00492.html
https://www.mail-archive.com/linux-sunxi@googlegroups.com/msg00678.html
http://www.cubieforums.com/index.php/topic,1413.msg8745.html#msg8745
It basically wastes a lot of performance for almost nothing.
Signed-off-by: Siarhei Siamashka <siarhei.sia
patches that I have
been using for ages. They serve exactly the same purpose: make
things work out of the box in a reasonable way.
These patches are also available in the following git branch:
https://github.com/ssvb/linux-sunxi/commits/20151202-more-cma-for-sunxi-3.4
Siarhei Siamashka (9
is enabled
for sun5i because it can allow to use USB ethernet dongles.
Also different localversion identifiers are set for in the
config files to avoid a possible clash between the names of
directories with kernel modules.
Signed-off-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
---
arch/arm/c
necessary.
Do it only when CMA is enabled. Otherwise this may be dangerous when
the user controls the size of disp framebuffer reservation via kernel
cmdline.
Signed-off-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
---
drivers/video/sunxi/disp/dev_fb.c | 21 +
This allows to get rid of the fragile boot time memory reservation.
Now the amount of required framebuffer memory is calculated at
runtime, depending on the screen resolution (which may come from
FEX or from EDID).
Signed-off-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
---
drivers
'
can be used to change the cedar memory buffer size to something
larger than 80MB. Since libvdpau-sunxi implemented subtitles
support, it needs more memory and 80MB may be not enough.
Signed-off-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
---
drivers/media/video/sunxi/sunxi_cedar.
to
open /dev/cedar_dev just block until the current user closes it.
Signed-off-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
---
drivers/media/video/sunxi/sunxi_cedar.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/media/video/sunxi/sunxi_ceda
time").
But if we try to build both 'mali' and 'ump' modules statically,
then the linker complains about duplicated functions. In order
to resolve this problem, just mark the problematic functions
as 'weak'.
Signed-off-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
---
drivers/
to be able to include the lima-memtester
test program into an initrd image without bothering about adding
kernel modules to the initrd image too.
Signed-off-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
---
arch/arm/configs/sun4i_defconfig | 8 +++-
arch/arm/configs/sun5i_defconf
1 - 100 of 462 matches
Mail list logo