View Single Post
Old 10-19-2012, 10:21 AM   #715
adi23
Member
adi23 is a splendid one to beholdadi23 is a splendid one to beholdadi23 is a splendid one to beholdadi23 is a splendid one to beholdadi23 is a splendid one to beholdadi23 is a splendid one to beholdadi23 is a splendid one to beholdadi23 is a splendid one to beholdadi23 is a splendid one to beholdadi23 is a splendid one to beholdadi23 is a splendid one to behold
 
Posts: 15
Karma: 19998
Join Date: Oct 2012
Device: Kindle touch KT
EDIT: oh I was deadly wrong about required defines as I've missed some of them. With additional defines size of u-boot.bin is more than 72kb, so it will not fit into OCRAM. If you're still interested:
Spoiler:
Code:
#define CONFIG_CMD_GADGET 1
#define CONFIG_USB_DEVICE               1
#define CONFIG_DRIVER_FSLUSB            1
#define CONFIG_GADGET_FASTBOOT          1
#define CONFIG_USBD_MANUFACTURER "Amazon"
#define CONFIG_USBD_PRODUCT_NAME "Kindle"
#define CONFIG_USBD_VENDORID                    0x1949
#define CONFIG_USBD_PRODUCTID_FASTBOOT          0xd0d0
#define CONFIG_MMC_MAX_TRANSFER_SIZE    (0xFFFF * 512)
#define CONFIG_FASTBOOT_MAX_DOWNLOAD_LEN        ((get_dram_size()) - (2*1024*1024) - (CONFIG_FASTBOOT_TEMP_BUFFER - CONFIG_SYS_SDRAM_BASE))
#define CONFIG_FASTBOOT_TEMP_BUFFER             0x7A000000
#define CRC32_BUFFER        0x02000000 + PHYS_SDRAM_1
#define CRC32_BUFFER_SIZE       0x00400000
#define CRC32_CHECK_UBOOT       0x00000010
#define CRC32_CHECK_UIMAGE      0x00000020
#define CRC32_CHECK_ROOTFS      0x00000040
#define CRC32_CHECK_MBR         0x00000080
Also change
Code:
#define CONFIG_POST         (CONFIG_SYS_POST_MEMORY | \
                             CONFIG_SYS_POST_FAIL)
to
Code:
#define CONFIG_POST         (CONFIG_SYS_POST_MMC_CRC32 | \
                             CONFIG_SYS_POST_MEMORY | \
                             CONFIG_SYS_POST_FAIL)
[/QUOTE]

Maybe i can get rid of other defines in this case
adi23 is offline   Reply With Quote