IRC logs for #openrisc Monday, 2015-06-29

--- Log opened Mon Jun 29 00:00:54 2015
latifHello,  I have been working with openrisc nearly for six months. I did many things with Orpsoc-v2. And then I have been working with ORPSOC-v3 for a while (5 weeks)13:07
latifI could not managed to boot orpsoc-v3 from SPI Flash. I am using OR1K toolchain on ubuntu. I am adding bootrom.v code to the rom.v file and produced the bit file and then convert it to .mcs file succesfully... But then it is not working on board!! I tried many times with different possibilities but nothing changed...13:07
latifI become really appriciated if someone who tried and managed to boot orpsoc-v3 from spi flash on ATLYS board please share me his/her bootrom.v bootrom.S and rom.v file...I really need it but I could not so I need a emergence help.. sorry about that..13:08
latifI have got bootrom.v and bootrom.S from some friends like "bandvig" and then tried but the result is the same.. I could not changed anything.. Interesting thing is that bandvig's bootrom.v and mine is different although we are using the same board and same bootrom.S codes we produce diffrent bootrom.v codes?? How ?? Really strange..13:08
latif So please if someone can...please share me bootrom.S bootrom.v and rom.v files for booting ORPSOC-V3 from SPI flash for ATLYS board..13:08
latifello,  I have been working with openrisc nearly for six months. I did many things with Orpsoc-v2. And then I have been working with ORPSOC-v3 for a while (5 weeks)15:49
latif could not managed to boot orpsoc-v3 from SPI Flash. I am using OR1K toolchain on ubuntu. I am adding bootrom.v code to the rom.v file and produced the bit file and then convert it to .mcs file succesfully... But then it is not working on board!! I tried many times with different possibilities but nothing changed.15:49
latif become really appriciated if someone who tried and managed to boot orpsoc-v3 from spi flash on ATLYS board please share me his/her bootrom.v bootrom.S and rom.v file...I really need it but I could not so I need a emergence help.. sorry about that..15:49
latifI have got bootrom.v and bootrom.S from some friends like "bandvig" and then tried but the result is the same.. I could not changed anything.. Interesting thing is that bandvig's bootrom.v and mine is different although we are using the same board and same bootrom.S codes we produce diffrent bootrom.v codes?? How ?? Really strange..15:49
latifo please if someone can...please share me bootrom.S bootrom.v and rom.v files for booting ORPSOC-V3 from SPI flash for ATLYS board..15:50
bandviglatif: My bootrom is different from ORPSoC-V2 because I modified it. In particular I added indication for process of coping a program from SPI to RAM by switching LEDs #0,2,4,6 ON while the coping is doing.18:47
bandviglatif: I use the bootrom to load U-Boot. In next turn, I compiled U-Boot with uClibc-based toolchain (not with NewLIB-based)18:48
bandviglatif: I suspect, that It is impossible to run an program compiled by NewLIB-based toolchain. Let me clarify. I tried to run "hello world" program compiled with NewLIB based tool chain in a hand made simple SOC (not v2/v3) RTL-model ...18:54
bandviglatif: I loaded the "hello world" binary into RAM model by $readmemh. And the program didn't work because it couldn't init UART properly. So I had to modify some code in LSU to work around the problem.18:58
bandviglatif: perhaps, there is a problem with board initialization sequence that any NewLIB-based application performes before it calls main().19:00
bandviglatif: additionally, it looks like U-Boot (compiled with uClibc based tool chain) performes another board initialization sequence, And the sequence is more correct than one implemented in NewLIB-based tool chain.19:03
bandviglatif: So, after U-Boot is loaded I can load (by E-NET or UART) any NewLIB-based program and run it.19:04
bandviglatif: That is my actual approach using ORPSoC-V3 on Atlys.19:04
bandviglatif: With this "U-Boot indirect fix" I don't need modification in LSU.19:08
--- Log closed Tue Jun 30 00:00:28 2015

Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!