View Single Post
Old 05-21-2016, 11:47 AM   #3
zengxg14
Junior Member
zengxg14 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2016
Device: kindle paperwhite1
I read that link before.
I follow https://wiki.mobileread.com/wiki/Kind...on.27s_Sources to build u-boot.
I haven't change imx60_wario.h or imx50_yoshi.h like he did.
I can't understand the 'step 5: fix environment", How did he run the "idme mac XXX" command?


The modify of u-boot code is simple.
cpu/arm_cortexa8/mx50/generic.c:974: printf("CPU: haha Freescale i.MX50 family %d.%dV at %d MHz\n",
I just add "haha" in there. If the u-boot.bin loaded OK, I will see it output.
I never see this output, so i figure the imx_usb_loader not working.

I also add idme code. I don't sure this can work, since the u-boot.bin load failed.

int setup_board_info(void)
{
idme_update_var("pcbsn", "00A1XXXXXXXX");
idme_update_var("serial", "B024XXXXXXXXXX");
idme_update_var("mac", "00:26:xx:xx:xx:xx");
.....
}


I got imx_usb_loader from https://github.com/aditya3098/imx_usb_loader.git
The imx_usb_loader output is below:
parse mx50_usb_work.conf
15a2:0052(KindleTouch) bConfigurationValue =1
Interface 0 claimed
report 1, wrote 16 bytes, err=0
report 3, read 4 bytes, err=0
read=56 78 78 56
u-boot.bin
No dcd table, barker=402000d1
dcd_ptr=0x00000000

loading binary file(u-boot.bin) to f8006000, skip=0, fsize=800 type=aa

<<<2048, 2048 bytes>>>
jumping to 0xf8006400
report 1, wrote 16 bytes, err=0
report 3, read 4 bytes, err=0
read=56 78 78 56
jump_mode 2 plug=1 err=0
u-boot.bin
header_max=1000

loading binary file(u-boot.bin) to f8007000, skip=0, fsize=fc58 type=aa

<<<64600, 64600 bytes>>>
jumping to 0xf800742c

Last edited by zengxg14; 05-21-2016 at 01:03 PM.
zengxg14 is offline   Reply With Quote