[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ARM kernel cross compilation issues for iMX53

On Fri, Mar 16, 2012 at 3:13 PM, Robert Nelson <robertcnelson@gmail.com> wrote:
Yeah, i biseced it down to (and reverted)
"ENGR00141363-ARM-imx53-clock-change-di0-clock.patch" from both
freescale's 2.6.35 11.09.01 bsp, which fixes the uart clock

I brought the patch over to the LTIB/BSP branch and it worked like a champ. I can now boot multiple kernels from the recent u-boot without the serial port messing up.  Life is a little better now.

So all my script does, it checks out from the "linux-stable"
tree which is combination of torvalds tree and all the stable
branches..  Then i pull freescale's patch set, and since i have the
common ancestory it all merges nice and clean.. Then i also revert one
commit to fix the serial output..

so simple:

git checkout v2.6.35.3 -b new-branch-based-off-
git pull http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git
git revert --no-edit <some sha that i can't remember for:

OK.  Clear as mud for me right now. :-)  This will give me something to come up to speed on.

humm, strange which usb port? otg/ehci, i haven't see that one. btw is
this the new "R" board, next to the ddr, there should be a silkscreen
with the model number with a "-R-" or something..

Yes, this is the new "R" board.  I guess it includes a few "enhancements" to make our lives a little more exciting.  I've included the tail end of the boot messages to the email if you want to look at where the 'usb wakeup is here' messages are coming from.

Now that I have a new u-boot that I can build working nicely with the Freescale BSP kernel, I think I now have enough to begin work on the a stable Debian install for myself.  I plan on ripping into the Ubuntu Lucid demo that came with my iMX53 QSB and work on replicating its functionality with a Debian install.  It has working Ethernet and USB (at least for keyboard/mouse), but sata doesn't seem to be working.

Something frustrating is that I can see that Ubuntu kernel was built from the same source tree as the LTIB/BSP sources, but they don't seem to provide the config file for the kernel.  I can't tell exactly how they configured the kernel to properly activate all the devices.  I don't know of a way to get the kernel configuration from the running Ubuntu system either.  Hopefully I can find some hints on the Internet.

Thanks again.

Mike Thompson

[    3.933394] md: Scanned 0 and added 0 devices.
[    3.941367] md: autorun ...
[    3.947614] md: ... autorun DONE.
[    3.977914] usb 1-1: device descriptor read/64, error -71
[    3.989976] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    4.000983] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    4.325324] usb 1-1: device descriptor read/64, error -71
[    4.565281] usb 1-1: new low speed USB device using fsl-ehci and address 3
[    4.885266] usb 1-1: device descriptor read/64, error -71
[    5.305263] usb 1-1: device descriptor read/64, error -71
[    5.535332] usb 1-1: new low speed USB device using fsl-ehci and address 4
[    6.085228] usb 1-1: device not accepting address 4, error -71
[    6.205318] usb 1-1: new low speed USB device using fsl-ehci and address 5
[    6.755244] usb 1-1: device not accepting address 5, error -71
[    6.764773] hub 1-0:1.0: unable to enumerate USB device on port 1
[    9.275975] usb wakeup is here
[   12.286105] usb wakeup is here
[   13.155985] EXT4-fs (mmcblk0p2): recovery complete
[   13.518920] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   13.531058] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[   13.547193] devtmpfs: mounted
[   13.554229] Freeing init memory: 220K
[   14.735091] udev[85]: starting version 164
[   15.286282] usb wakeup is here
[   16.249584] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[   18.286484] usb wakeup is here
[   21.285830] usb wakeup is here
[   21.682444] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   22.357773] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[   24.286053] usb wakeup is here
[   27.286245] usb wakeup is here
[   30.285528] usb wakeup is here

Debian GNU/Linux 6.0 devel ttymxc0

devel login: [   33.285675] usb wakeup is here
[   36.285921] usb wakeup is here
[   39.286132] usb wakeup is here
[   42.286219] usb wakeup is here
[   45.286242] usb wakeup is here
[   48.286204] usb wakeup is here
[   51.286133] usb wakeup is here
[   54.286001] usb wakeup is here

Reply to: