Closed julumme closed 6 years ago
On 5/9/2018 9:58 PM, julumme wrote:
Im working on a custom imx6 device which is based on imx6 solo but with 512M of RAM instead of 1G. Im trying to migrate from using Windows and MfgTool (works, but is quite cumbersome) to Linux with this guide (https://community.nxp.com/thread/441563), but Im having problems getting the board boot to "linux gadget" mode.
I've copied zImage, u-boot, initrd image and dtb which are working on Windows side from the "firmware" folder of mfgtool to /imx_usb_loader/firmware/ folder. The mx6_usb_work.conf looks like this:
|imx6-sabresd #hid/bulk,[old_header,]max packet size, {ram start, ram size}(repeat valid ram areas) hid,1024,0x10000000, 512M # Note; only dcd as first step (setup ram)
This line should be something like
hid,1024,0x910000,0x10000000,512M,0x00900000,0x40000
Though the default should be fine even with only 512M hid,1024,0x910000,0x10000000,1G,0x00900000,0x40000
Hi tkisky,
Thank you, this was the solution to this indeed! Can you explain me how that line exactly gets formed ?
The hid and max packet size is understandable, but after that it gets hazy for me...
Im working on a custom imx6 device which is based on imx6 solo but with 512M of RAM instead of 1G. Im trying to migrate from using Windows and MfgTool (works, but is quite cumbersome) to Linux with this guide (https://community.nxp.com/thread/441563), but Im having problems getting the board boot to "linux gadget" mode.
I've copied zImage, u-boot, initrd image and dtb which are working on Windows side from the "firmware" folder of mfgtool to _imx_usbloader/firmware folder. The mx6_usb_work.conf looks like this:
Now when I run the imx_usb tool, this is what happens:
Im not really sure what is happening, but it appears that after the first "lading DCD table @..." I see other people have something like:
But I start getting these "report 2.." messages... What could be the problem here ?