Hi Xiang Fu,
In the meantime I had a look at the code you sent me. First I looked into the 
Linux code from Yuenshu Fong and I was a little disappointed because there are 
only the binaries of fw.bin and usbboot.bin, the equivalents of xburst_stage1 
and xburst_stage2. Then however I inspected the Windows code. I first tried to 
load the GUI with my Visual Studio but this did not work because they use an 
older version of the program and there seem to be some conversion issues. I 
could get hold of the older version of Visual Studio also but before doing so I 
decided to look for the sources of fw.bin and usbboot.bin, which are in fact 
added into the Windows package.
It took me just a minute or so to understand that this contained the key to 
solving my problems with access to the Ronzi A3 flash. 
In fact, this code has additional commands accessing flash via a mmc interface 
in addition to the nandflash code. I compiled the code and wanted to run it 
with your usbboot program on Linux, but there are incompatibilities. The load 
address for stage 1 has changed (this problem is solved) and stage 2 does not 
boot as expected. For the moment I don't understand the reason.
However I managed to add the mmc code to xburst_stage2 and this way round 
everything seems to work out. The system boots fine and I can see my debugging 
messages using the debug facility I had added to your code.
I added a command sdinit and sdquery to usbboot and I can see that the SD card 
is in fact found. This means that I am on the right track. I will need some 
more time for testing but now I am very confident that within a month or 2 I 
should be able to get the system going and to read and write the system flash 
on my Ronzi A3.
Once I have finished I will send you the code which has of course seen very 
drastic changes.
Cheers and "Happy new year!" to you.
Uli

-----Original Message-----
From: Xiangfu Liu [mailto:[email protected]] 
Sent: Friday, December 23, 2011 6:05 PM
To: English Qi Hardware mailing list - support, developers, use cases and fun
Cc: Uli Raich
Subject: latest Windows version usbboot source code include jz4760/jz4770

Hi

by asking Ingenic, they send the latest windows version xburst-tools source 
code to me. they only support Windows system. but that will some help on your 
jz4760 cpu. here is the tar ball.
   
http://downloads.openmobilefree.net/Ingneic/xburst-tools-windows/nand_card_tools.tar.bz2

BTW:
one of Ingenic people. named 'Yuenshu Fong' have create a Linux version usbboot 
for jz4770. here is the source code:
   
http://downloads.openmobilefree.net/Ingneic/xburst-tools-linux/ingenic_boot_v1.1.tar.bz2



On 08/16/2011 02:24 PM, Uli Raich wrote:
> Hi,
>
> I am trying to adapt the Linux version of usbboot top the Ronzi A3.
> While most of the features now work, I still have problems to access 
> the nand flash. I finally disassembled the device and had a look at 
> the signals on the flash chip. I found that none of the interface 
> signals arrive there. When I try direct GPIO, programming certain 
> lines as output and looking at the signals on the flash chip, I have 
> the same problem. Does anybody know, how the nand flash is connected 
> to the jz4760 CPU? It looks like I have to enable something (a mux?) 
> to get my signals through to the flash.
>
> Any help would be largely appreciated.
>
> Thanks
>
> Uli

_______________________________________________
Qi Hardware Discussion List
Mail to list (members only): [email protected]
Subscribe or Unsubscribe: 
http://lists.en.qi-hardware.com/mailman/listinfo/discussion

Reply via email to