[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - FPGA Source / Project Repository

FPGA Source / Project Repository

Any technical questions about the Epiphany chip and Parallella HW Platform.

Moderator: aolofsson

Re: FPGA Source / Project Repository

Postby tnt » Thu Jun 12, 2014 12:21 pm

From reading the u-boot code, it seems to be done this way for the RAM because the ram is actually auto-detected (with the #define just being the maximum detect range).

The only things that seems to be patched in create_fdt() in arch/arm/lib/bootm.c are the memory node and the ethernet mac address.
tnt
 
Posts: 408
Joined: Mon Dec 17, 2012 3:21 am

Re: FPGA Source / Project Repository

Postby greytery » Thu Jun 12, 2014 5:30 pm

OK. Thanks for following me down this rabbit hole with a lamp. :D That was fun!
I was expecting that shared memory could be more easilly and flexibly configured. But not so sure that this is productive now:-
- The U-Boot config controls the allocation of shared memory allocation of 32MB.
- To change that amount involves recompiling the whole bootloader. :cry:
- I'm in favour of minimal change to U-Boot board config to minimise the U-Boot Git hassle.
- The "memory" allocation in the device tree should be tidied/removed to avoid confusion (- or recognised by U-Boot which I can't see happening).
- Will update the thread on 'increased shared memory', maybe skin the cat another way.

tery
tery
User avatar
greytery
 
Posts: 205
Joined: Sat Dec 07, 2013 12:19 pm
Location: ^Wycombe, UK

Re: FPGA Source / Project Repository

Postby aolofsson » Thu Jun 12, 2014 5:42 pm

fyi..the u-boot/kernel shared memory hack was just a temporary solution, we are now working on something more flexible and way coooler.:-)
Andreas
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: FPGA Source / Project Repository

Postby greytery » Thu Jun 12, 2014 6:26 pm

tery
User avatar
greytery
 
Posts: 205
Joined: Sat Dec 07, 2013 12:19 pm
Location: ^Wycombe, UK

Re: FPGA Source / Project Repository

Postby frank_buss » Tue Jun 24, 2014 9:20 pm

frank_buss
 
Posts: 18
Joined: Wed Jun 11, 2014 1:50 pm

Re: FPGA Source / Project Repository

Postby FHuettig » Tue Jun 24, 2014 9:32 pm

-- Fred -- Hardware Guy --
FHuettig
 
Posts: 142
Joined: Wed Jan 29, 2014 8:30 pm
Location: Lexington, MA, USA

Re: FPGA Source / Project Repository

Postby frank_buss » Wed Jun 25, 2014 12:22 am

I was reading this blog: http://www.parallella.org/2014/05/13/fp ... expansion/ and it says "The FPGA projects are built using the PlanAhead tool and the free-of-charge ISE WebPACK Design Software is sufficient.". The article doesn't mention XPS and I could even change the GPIO implementation. But for more complex implementation beyond a blinking LED on a GPIO pin, I need XPS.

So I started XPS from PlanAhead with a double click to "Project Manager->Sources->Libraries->Design Sources->Embedded Design Sources->system" (these multiple nested panels are confusing). I tried a simpler tutorial ( http://www.zedboard.org/content/creatin ... peripheral ) and I could create my own VHDL module. "Design Rule Check" worked, I closed XPS, but how do I update the parallella_z7_top.v file? Looks like it has some auto generated signals in the "AUTOWIRE" section. I guess I can do it by hand, but this is error prone (especially in Verilog :) ) when I add and remove more peripherals.
frank_buss
 
Posts: 18
Joined: Wed Jun 11, 2014 1:50 pm

Re: FPGA Source / Project Repository

Postby FHuettig » Wed Jun 25, 2014 4:59 am

-- Fred -- Hardware Guy --
FHuettig
 
Posts: 142
Joined: Wed Jan 29, 2014 8:30 pm
Location: Lexington, MA, USA

Re: FPGA Source / Project Repository

Postby frank_buss » Wed Jun 25, 2014 11:50 pm

Thanks, the Emacs feature sounds interesting.

Finally I managed to add a simple register based entity (with an AXI lite interface) and I wote a Linux kernel driver to map the register memory with request_mem_region and ioremap_nocache. I can write and read the registers, so XPS and PlanAhead works. When I use the non-modified bitstream, the driver aborts with an "imprecise abort" (I guess it detects somehow that there is no acknowledge from the AXI bus), so this is a proof that the entity was indeed synthesized in my design.

But I don't like the Xilinx tools. Sometimes PlanAhead crashes with an access violation and when I restart it, it can't generate the bitstream anymore, because it left read-only files from the last run. Or sometimes the netlist is not updated and I have to do it manually in XPS. The Altera tools with NIOS etc. look more stable and are easier to use. Well, the Zynq is still a nice chip, so I have to live with it. I guess Vivado will be all new and better, with many novel bugs :twisted:
frank_buss
 
Posts: 18
Joined: Wed Jun 11, 2014 1:50 pm

Re: FPGA Source / Project Repository

Postby tdam » Thu Jul 03, 2014 9:47 pm

frank,
I created a simple register with an AXI lite interface as well. Then I have successfully reprogrammed my fpga design. However I'm having some issues to access my register, I was trying to do it mapping the physical address of my register to the virtual address through the mmap, however every time that I tried to access it, it freezes my parallella. Can you give me a little help on how you have written your driver, since my approach doesn't seem to work?
thank you
tdam
 
Posts: 2
Joined: Wed Jun 25, 2014 6:50 pm

PreviousNext

Return to Epiphany and Parallella Q & A

Who is online

Users browsing this forum: No registered users and 6 guests

cron