current usbloader
Hi, I uploaded current test version usbloader.
usbloader0 can boot directly from linux kernel.
usbloader is mapped in physical address 0x0000,
this binary is included in usbloader0.
I tried to copy to 0x00 and automatic boot it.but it doesn't seems work well.
I'll debugging this problem.
but you can memcpy this image to 0x00 by fastboot, you can boot it.
on the screen after booting the usbloader0,
we can see where usbloader binary loaded.
we can re-copy to 0, like this command from your PC command prompt.
here, 9f70 = 3000f73c-300057cc
you can boot your spl
here, mem0 means upload image to 0, if you want to upload different addrees,
you can use mem02b00000, mem01000000, etc.
I added many command to check how the CPU internal memory works.
http://hotfile.com/dl/56074792/6f8edc4/usbloader_20100718.zip.html
Hi, I uploaded current test version usbloader.
usbloader0 can boot directly from linux kernel.
Code:
cat usbloader0 > /proc/splboot/image
echo > /proc/splboot/boot
usbloader is mapped in physical address 0x0000,
this binary is included in usbloader0.
I tried to copy to 0x00 and automatic boot it.but it doesn't seems work well.
I'll debugging this problem.
but you can memcpy this image to 0x00 by fastboot, you can boot it.
on the screen after booting the usbloader0,
we can see where usbloader binary loaded.
Code:
input_data=300057cc
input_data_end=3000f73c
we can re-copy to 0, like this command from your PC command prompt.
Code:
fastboot getvar memcpy0,300057cc,9f70
fastboot getvar go0
you can boot your spl
Code:
fastboot flash mem0 /path/to/spl
fastboot getvar go0
you can use mem02b00000, mem01000000, etc.
I added many command to check how the CPU internal memory works.
Code:
fastboot getvar memcmp0,300057cc,9f70
- to check memcpy correct.
fastboot getvar memcpy0,300057cc,9f70
- memcpy from 0x300057cc to 0x00, size 9f70
fastboot getvar dump0,20
- show memory dump from 0x0000, 0x20(32) unsigned integers
fastboot getvar go0
- call function from 0x00,
if you want boot usbloader0, just call "fastboot getvar go30000000".
fastboot reboot
- clear screen
fastboot flash mem0 testbin
- upload testbin to 0x00
fastboot getvar mem0,4
- get memory through from 0x00-0x10.
I use this command for dump memory.
I attached a script named dump2mem.sh help you to get mem.
http://hotfile.com/dl/56074792/6f8edc4/usbloader_20100718.zip.html
Last edited: