Hi,
I am trying to boot my efikamx netbook with the Linaro 37 kernel. I only have a usb-serial interface so I can't really see where I get stuck. I manage to boot a small ramfs with usb-serial suppport on the Genesi kernel 2.6.31.14.12, but I haven't succeeded to get any usb-serial output on the Linaro 37 kernel. I still use the u-boot provided by Genesi. I will switch to the Linaro u-boot tomorrow to see if that helps.
Is anyone running a mainline kernel on efika-mx together with an usb-serial-connection?
Thanks, Per
To be frank, *absolutely do not touch U-Boot*. Linaro does not offer support for either the Smartbook in U-Boot (it's not even been pushed to mainline yet) and I am fairly certain that the Smartbook in the kernel is not supported enough to get a reasonably working system. There's a very good chance you will brick something and not be able to recover it.
You say you have USB-serial, does that mean you have the little flat serial cable from under the keyboard and dongle attached? I don't understand what you mean by having a small ramfs with USB-serial support (debug support is not via USB, it's a special debug board. I know this is not terribly friendly, but it is how it is).
Serial settings are 115200,8n1 if not set explicitly I would start there (sometimes when rebooting systems will put some odd characters from the FIFO and it messes up speed detection). You probably need to make sure serial support is compiled into the kernel - check the config. It may not be! The Linaro kernel MAY have enough from the linux-imx branch to support the Smartbook but it may also not be configured correctly.
Please tell us your kernel boot arguments, give me a pointer to a git repository or commit of a Linaro branch I can look at to confirm what you're running.
On 5 February 2011 01:24, Matt Sealey matt@genesi-usa.com wrote:
To be frank, *absolutely do not touch U-Boot*. Linaro does not offer support for either the Smartbook in U-Boot (it's not even been pushed to mainline yet) and I am fairly certain that the Smartbook in the kernel is not supported enough to get a reasonably working system. There's a very good chance you will brick something and not be able to recover it.
Thanks for your advice. I wont touch the u-boot unless I have to.
You say you have USB-serial, does that mean you have the little flat serial cable from under the keyboard and dongle attached? I don't understand what you mean by having a small ramfs with USB-serial support (debug support is not via USB, it's a special debug board. I know this is not terribly friendly, but it is how it is).
I don't have the serial/JTAG connector that connects under the keyboard. I only have a normal usb-serial dongle. What I would like to accomplish is to run some benchmark on the mmc controller. I have some patches to improve mmc-performance that I would like to run on the efika-mx. So far I have only test results for U8500 and U5500 (ST-Ericsson boards). If I could get a debug connector that make my life easier :) But not having that I thought usb-serial will do, if I can get it to work.
Using an usb-serial dongle I can login to the efika-mx over uart, ttyUSB0 in my case. If the system hangs before the ttyUSB0 is set up I wont be able to login and I wont see anything. Therefore I am making a small ramfs to boot up a reliable system that only support enough to bring up the ttyUSB0. From that point I can add modules for the rest of my system in a controlled manner.
Serial settings are 115200,8n1 if not set explicitly I would start there (sometimes when rebooting systems will put some odd characters from the FIFO and it messes up speed detection). You probably need to make sure serial support is compiled into the kernel - check the config. It may not be! The Linaro kernel MAY have enough from the linux-imx branch to support the Smartbook but it may also not be configured correctly.
Please tell us your kernel boot arguments, give me a pointer to a git repository or commit of a Linaro branch I can look at to confirm what you're running.
I first tried the kernel at git git://gitorious.org/efikamx/linux-kernel.git. I works but the patches I want to test for mmc is based on 2.6.38. So I tried running mainline kernel. There is a Kconfig option for "efika mx netbook" I thought it might work. The mx51_defconfig enables both MMC and USB so it looks promising. I also tried Sascha's tree for mx51 and Linaro's tree. I don't need a full system only support for MMC and USB for now. It could be that I run into a trivial boot failure but I can't see it since I don't have a real uart.
If anyone have a working mainline kernel for efika-mx with usb-serial support I would like to see the defconfig.
Thanks, Per
-- Matt Sealey matt@genesi-usa.com Product Development Analyst, Genesi USA, Inc.
On Fri, Feb 4, 2011 at 4:58 PM, Per Forlin per.forlin@linaro.org wrote:
Hi,
I am trying to boot my efikamx netbook with the Linaro 37 kernel. I only have a usb-serial interface so I can't really see where I get stuck. I manage to boot a small ramfs with usb-serial suppport on the Genesi kernel 2.6.31.14.12, but I haven't succeeded to get any usb-serial output on the Linaro 37 kernel. I still use the u-boot provided by Genesi. I will switch to the Linaro u-boot tomorrow to see if that helps.
Is anyone running a mainline kernel on efika-mx together with an usb-serial-connection?
Thanks, Per
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
I think the problem is USB might not work in the checkout you've got - Arnaud Patard submitted a patch to mainline:
http://www.spinics.net/lists/linux-usb/msg41678.html
I have some severe disagreements with the real patch that went in. You should use sascha's for-next tree if possible as this is quite possibly the "most working".
Hi,
I am not having any luck with my usb-dongle set up for the mainline efika-mx. I think I will have to drop this approach. Who can I contact to request a serial-connector for my efika-mx? I can return it when I'm done with the testing and development for MMC.
Plan B is to look for a different board for my MMC development.
(I leave for holiday soon, back on Monday)
Br Per
On 6 February 2011 02:25, Matt Sealey matt@genesi-usa.com wrote:
I think the problem is USB might not work in the checkout you've got - Arnaud Patard submitted a patch to mainline:
http://www.spinics.net/lists/linux-usb/msg41678.html
I have some severe disagreements with the real patch that went in. You should use sascha's for-next tree if possible as this is quite possibly the "most working".
-- Matt Sealey matt@genesi-usa.com Product Development Analyst, Genesi USA, Inc.
On Sat, Feb 5, 2011 at 3:10 PM, Per Forlin per.forlin@linaro.org wrote:
On 5 February 2011 01:24, Matt Sealey matt@genesi-usa.com wrote:
To be frank, *absolutely do not touch U-Boot*. Linaro does not offer support for either the Smartbook in U-Boot (it's not even been pushed to mainline yet) and I am fairly certain that the Smartbook in the kernel is not supported enough to get a reasonably working system. There's a very good chance you will brick something and not be able to recover it.
Thanks for your advice. I wont touch the u-boot unless I have to.
You say you have USB-serial, does that mean you have the little flat serial cable from under the keyboard and dongle attached? I don't understand what you mean by having a small ramfs with USB-serial support (debug support is not via USB, it's a special debug board. I know this is not terribly friendly, but it is how it is).
I don't have the serial/JTAG connector that connects under the keyboard. I only have a normal usb-serial dongle. What I would like to accomplish is to run some benchmark on the mmc controller. I have some patches to improve mmc-performance that I would like to run on the efika-mx. So far I have only test results for U8500 and U5500 (ST-Ericsson boards). If I could get a debug connector that make my life easier :) But not having that I thought usb-serial will do, if I can get it to work.
Using an usb-serial dongle I can login to the efika-mx over uart, ttyUSB0 in my case. If the system hangs before the ttyUSB0 is set up I wont be able to login and I wont see anything. Therefore I am making a small ramfs to boot up a reliable system that only support enough to bring up the ttyUSB0. From that point I can add modules for the rest of my system in a controlled manner.
Serial settings are 115200,8n1 if not set explicitly I would start there (sometimes when rebooting systems will put some odd characters from the FIFO and it messes up speed detection). You probably need to make sure serial support is compiled into the kernel - check the config. It may not be! The Linaro kernel MAY have enough from the linux-imx branch to support the Smartbook but it may also not be configured correctly.
Please tell us your kernel boot arguments, give me a pointer to a git repository or commit of a Linaro branch I can look at to confirm what you're running.
I first tried the kernel at git git://gitorious.org/efikamx/linux-kernel.git. I works but the patches I want to test for mmc is based on 2.6.38. So I tried running mainline kernel. There is a Kconfig option for "efika mx netbook" I thought it might work. The mx51_defconfig enables both MMC and USB so it looks promising. I also tried Sascha's tree for mx51 and Linaro's tree. I don't need a full system only support for MMC and USB for now. It could be that I run into a trivial boot failure but I can't see it since I don't have a real uart.
If anyone have a working mainline kernel for efika-mx with usb-serial support I would like to see the defconfig.
Thanks, Per
-- Matt Sealey matt@genesi-usa.com Product Development Analyst, Genesi USA, Inc.
On Fri, Feb 4, 2011 at 4:58 PM, Per Forlin per.forlin@linaro.org wrote:
Hi,
I am trying to boot my efikamx netbook with the Linaro 37 kernel. I only have a usb-serial interface so I can't really see where I get stuck. I manage to boot a small ramfs with usb-serial suppport on the Genesi kernel 2.6.31.14.12, but I haven't succeeded to get any usb-serial output on the Linaro 37 kernel. I still use the u-boot provided by Genesi. I will switch to the Linaro u-boot tomorrow to see if that helps.
Is anyone running a mainline kernel on efika-mx together with an usb-serial-connection?
Thanks, Per
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev