Forum Discussion
Executing a application/executable file on customized boot image for DE1SOC board
- 3 years ago
Hi
I have tried out your zImage and able to run the led application successfully.
Please find the screenshot below:
Did you flash the FPGA configuration before booting into the linux environment?
As for the fitter error, you will need to run both of the TCL script below (located:soc_system\synthesis\submodules):
hps_sdram_p0_parameters.tcl
hps_sdram_p0_pin_assignments.tcl
Regards
Jingyang, Teh
Hi snehal_p
Just to confirm, you did not make any changes to the uboot right?
Could you share your u-boot.scr of the custom image?
Right now I am suspecting it could be some privilege issue that causes the application to fail to read from the h2f bridge.
Could we try accessing the memory region from the linux user space manually to check the privilege in linux user space?
In the linux user space do you have any tool to read to write memory region like "memtool" "devmem"?
Could you try the following steps:
1.Write to memory address 0xFF2010008 with value 0xFF
2.Observe the led should turn on.
3.reading the memory address 0xFF2010008 it should be the value 0xFF
4.Write to memory address 0xFF2010008 with value 0x00
5.Observe the led should turn Off.
6.reading the memory address 0xFF2010008 it should be the value 0x00
Regards
Jingyang, Teh
Hello Jingyang,
PFA uboot.scr
I'm new to using SOC and linux, can you please help me with steps to write to hps memory region
Thanks,
snehal_p