[linux-sunxi] H3 DMA direction and destination address?

2016-10-09 Thread Mark L .
Hi, I need to make a DMA transfer from SDRAM to SDcard memory location. In the H3 datasheet, you can only enable/disable channels, irq, and set the start address (no count bytes as you just need to add 0xf800 at the end of your array and the controller will stop there). No destination

[linux-sunxi] custom bootloader/OS + registers question + IPI

2016-09-21 Thread Mark L .
Hi, The plan: 1) erase && replace the bootloader with a custom one on a H3 SoC (much simpler/faster/secure and fitting the need perfectly) 2) create a custom small OS, replacing the AMP default behavior with a SMP one: basically matching the address spaces between cpus and just send the other

Re: [linux-sunxi] custom bootloader/OS + registers question + IPI

2016-09-22 Thread Mark L .
ywara" <andre.przyw...@arm.com>: > Hi, > > On 21/09/16 11:27, Mark L. wrote: >>  Hi, >> >>  The plan: >>  1) erase && replace the bootloader with a custom one on a H3 SoC (much >> simpler/faster/secure and fitting the need perfectly) >>  2) cr

[linux-sunxi] AMBA Bus

2016-10-26 Thread Mark L .
Hi, I have a doubt I would like to clear. When you buy a Allwinner H3, one doesn't have to mess with the AMBA specification, right? We just use the H3 interface we got (clock, secure memory) and that is it? Isn't this specification for hardware (Chip) makers only? Even a PCB maker shouldn't

Re: [linux-sunxi] H3 DMA direction and destination address?

2016-10-09 Thread Mark L .
Actually, There is a dedicated section for sdram to/from sdcard.So it is all good. Thanks -- Mark   09.10.2016, 18:37, "John S" <johns9872...@yahoo.co.uk>:Isn't that what the Linux/u-boot/etc drivers do? John From: Mark L. <deco33...@yandex.com>To: linux-sunxi@googlegro

Re: [linux-sunxi] H3 DMA direction and destination address?

2016-10-09 Thread Mark L .
and BTW,http://lxr.free-electrons.com/source/drivers/dma/sun6i-dma.c clears it all. I missed the package structure which happens to be drawn in the dma block diagram.This doc is not always easy to follow..  -- Mark   09.10.2016, 21:30, "Mark L." <deco33...@yandex.

[linux-sunxi] Allwinner H3 without Uboot

2017-01-03 Thread Mark L .
Hi, I plan not to use U-boot but to take the boot process on charge (after the BROM stage). It means I will write the SPL and the other stuffs to load my custom kernel and simplified OS. Now, according to that page http://linux-sunxi.org/Bootable_SD_card, it means that I will need to put my

Re: [linux-sunxi] Allwinner H3 without Uboot

2017-01-03 Thread Mark L .
Thanks Andre,You summed it all.Bye-- Mark13:27, 3 January 2017, "André Przywara" <andre.przyw...@arm.com>:On 03/01/17 10:34, Mark L. wrote:Hi Mark, I plan not to use U-boot but to take the boot process on charge (after the BROM stage). It means I will write the SPL and the other s

[linux-sunxi] H3 cpu frequencies and PLL.

2017-06-15 Thread Mark L .
Hi,While creating the boot configuration (CCU registers) for a Allwinner H3 board, relying on a Cortex a7 quad, came the question of the cpu frequency scale.The reference clock frequency is 24MHz.u-boot has the following codestatic struct {    u32 pll1_cfg;    unsigned int freq;} pll1_para[] = {   

[linux-sunxi] Baremetal & GPU

2017-06-11 Thread Mark L .
Hi, Where to start to use the GPU in a baremetal environment? Are there any closed source binaries ( boot, configuration, opengl) I should be aware of? I 'just' want accelerated 2D/3D graphics using the allwinner H3 for hdmi video playback while saving as much energy as possible (no software

[linux-sunxi] PLL cpux on H3 allwinner

2017-10-22 Thread Mark L .
Hi, The formula for the PLL CPUX output is (24Mhz * N * K) / (M * P). Is there a problem applying N = 32 && K = 2 instead of N = 16 and K = 4 (M and P being equal)? I am asking if there is a pattern to respect or not at all. Thanks --  Mark -- You received this message because you are