From: G R. <G.R...@ln...> - 2011-07-27 13:46:01
|
Hi all, Can LTP (Linux Test Project) be ported to Embedded boards like Beagleboard or beagle clone boards. Or Can LTP runs and test the linux kernel on Beagleboard (Embedded boards or Target boards). If Yes please share the procedure of how to test kernel using LTP on beagleboard (Target board or Embedded board). If No please suggest the tool or framework which run on Beagleboard (Embedded board) and test the linux kernel. Thanks in advance Br, Rajender Larsen & Toubro Limited www.larsentoubro.com This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. |
From: Maxin B J. <max...@gm...> - 2011-07-27 14:04:47
|
Hi Rajender, On Wed, Jul 27, 2011 at 4:45 PM, G Rajender <G.R...@ln...> wrote: > Hi all, > > > > Can LTP (Linux Test Project) be ported to Embedded boards like Beagleboard > or beagle clone boards. > Or > > Can LTP runs and test the linux kernel on Beagleboard (Embedded boards or > Target boards). The answer is "Yes". > > If Yes please share the procedure of how to test kernel using LTP on > beagleboard (Target board or Embedded board). > You need to cross-compile the LTP source using the proper toolchain. For the Beagleboard, you can use the Codesourcery tool-chain (can be downloaded from: http://www.codesourcery.com/sgpp/lite/arm/portal/release1803). We can easily build LTP for Beagleboard using the Scratchbox. More info is available in the below give link: http://felipec.wordpress.com/2009/06/07/installing-scratchbox-1-and-2-for-arm-cross-compilation/ Previous discussions on cross-compiling LTP is available here: http://osdir.com/ml/linux.ltp/2005-06/msg00023.html Hope this helps. Warm Regards, Maxin |
From: Cyril H. <ch...@su...> - 2011-08-10 13:38:08
|
Hi! > > Use a more recent version of LTP and see if the issues persist. > > Grr the download link on LTP sf pages still points to this ancient > version. I'll try to figure out what is wrong there. Found it. Changed the default download in the sf.net web gui to ltp-2011-06-06.bz2. -- Cyril Hrubis ch...@su... |
From: Cyril H. <ch...@su...> - 2011-08-10 13:41:50
|
> > Grr the download link on LTP sf pages still points to this ancient > > version. I'll try to figure out what is wrong there. > > Found it. Changed the default download in the sf.net web gui to > ltp-2011-06-06.bz2. Actually it's 20110606 (I got it right in the gui, just misspelled here). -- Cyril Hrubis ch...@su... |
From: G R. <G.R...@ln...> - 2011-07-29 14:00:01
|
Hi Maxin, Thank you very much for reply. Now I understand that I can execute the LTP on target board which tests linux kernel. I have successfully installed Scratchbox1 and selected the armv7 target in sub-menu. I got shell prompt like "[ sbox- armv7 ~]". I have downloaded the LTP source "ltp-full-20100228.ar.gz" from LTP-web. Can you please share the procedure of how to Cross-Compile the LTP source code using Scratchbox1 to generate the binaries for the beagleboard. Thanks in advance for your time. Rajender -----Original Message----- From: Maxin B John [mailto:max...@gm...] Sent: Thursday, July 28, 2011 8:02 PM To: G Rajender Subject: Re: [LTP] How to test Linux Kernel using LTP on Beagleboard (ARM Cortex-A8 based board) Hi Rajender, Qemu is a machine emulator. If you don't have a particular board, eg: Beegleboard, you can emulate that board using qemu. So, preparing a cross-compiled binary for Qemu environment is exactly same for the target board. Once you cross-compile the LTP (using scratchbox or directly using the cross-toolchain), you can transfer the cross-compiled binaries to the board. Transferring process might depend on your setup. Some might prefer to use NFS based user-land. Some might prefer transferring to the board using tftp, wget, ftp, etc. Otherwise, you can copy the LTP binaries to an SD card and then use that binaries from Beegleboard. Using SD card might create some issues, if it's formatted with FAT file system (due to symbolic link issues for FAT in Gnu/Linux environment). It's always better to press "Reply-All" option since this was previously discussed in a forum. Best Regards, Maxin B. John On Thu, Jul 28, 2011 at 5:03 PM, G Rajender <G.R...@ln...> wrote: > Hi Maxin, > > Thanks for your reply. > > I have gone through the links you sent to me. Scratch box is toolkit used to cross compile and test the linux kernel in QEMU in Host PC (Ubuntu or any). > > But I want to test the linux kernel running on TARGET Board (not on Host PC) like Beagleboard ( ARM Cortex-a8 based hardware board) using LTP or any other framework. Is this Possible? > > If Yes Please share the procedure of how to test the running kernel on Target board ( not QEMU in Host PC). > > Thanks in advance. > > Rajender > > > -----Original Message----- > From: Maxin B John [mailto:max...@gm...] > Sent: Wednesday, July 27, 2011 7:35 PM > To: G Rajender > Cc: ltp...@li... > Subject: Re: [LTP] How to test Linux Kernel using LTP on Beagleboard > (ARM Cortex-A8 based board) > > Hi Rajender, > > On Wed, Jul 27, 2011 at 4:45 PM, G Rajender <G.R...@ln...> wrote: >> Hi all, >> >> >> >> Can LTP (Linux Test Project) be ported to Embedded boards like >> Beagleboard or beagle clone boards. >> Or >> >> Can LTP runs and test the linux kernel on Beagleboard (Embedded >> boards or Target boards). > > The answer is "Yes". > >> >> If Yes please share the procedure of how to test kernel using LTP on >> beagleboard (Target board or Embedded board). >> > > You need to cross-compile the LTP source using the proper toolchain. > For the Beagleboard, you can use the Codesourcery tool-chain (can be downloaded from: > http://www.codesourcery.com/sgpp/lite/arm/portal/release1803). > > We can easily build LTP for Beagleboard using the Scratchbox. More info is available in the below give link: > > http://felipec.wordpress.com/2009/06/07/installing-scratchbox-1-and-2- > for-arm-cross-compilation/ > > Previous discussions on cross-compiling LTP is available here: > http://osdir.com/ml/linux.ltp/2005-06/msg00023.html > > Hope this helps. > > Warm Regards, > Maxin > > > Larsen & Toubro Limited > > www.larsentoubro.com > > This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. > Larsen & Toubro Limited www.larsentoubro.com This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. |
From: G R. <G.R...@ln...> - 2011-08-01 13:13:37
|
Hi Maxin, Thank you very much for reply. Now I understand that I can execute the LTP on target board which tests linux kernel. I have successfully installed Scratchbox1 and selected the armv7 target in sub-menu. I got shell prompt like "[ sbox- armv7 ~]". I have downloaded the LTP source "ltp-full-20100228.ar.gz" from LTP-web. Can you please share the procedure of how to Cross-Compile the LTP source code using Scratchbox1 to generate the binaries for the beagleboard. Thanks in advance for your time. Rajender ________________________________________ From: G Rajender Sent: Friday, July 29, 2011 7:29 PM To: Maxin B John Cc: ltp...@li... Subject: RE: [LTP] How to test Linux Kernel using LTP on Beagleboard (ARM Cortex-A8 based board) Hi Maxin, Thank you very much for reply. Now I understand that I can execute the LTP on target board which tests linux kernel. I have successfully installed Scratchbox1 and selected the armv7 target in sub-menu. I got shell prompt like "[ sbox- armv7 ~]". I have downloaded the LTP source "ltp-full-20100228.ar.gz" from LTP-web. Can you please share the procedure of how to Cross-Compile the LTP source code using Scratchbox1 to generate the binaries for the beagleboard. Thanks in advance for your time. Rajender -----Original Message----- From: Maxin B John [mailto:max...@gm...] Sent: Thursday, July 28, 2011 8:02 PM To: G Rajender Subject: Re: [LTP] How to test Linux Kernel using LTP on Beagleboard (ARM Cortex-A8 based board) Hi Rajender, Qemu is a machine emulator. If you don't have a particular board, eg: Beegleboard, you can emulate that board using qemu. So, preparing a cross-compiled binary for Qemu environment is exactly same for the target board. Once you cross-compile the LTP (using scratchbox or directly using the cross-toolchain), you can transfer the cross-compiled binaries to the board. Transferring process might depend on your setup. Some might prefer to use NFS based user-land. Some might prefer transferring to the board using tftp, wget, ftp, etc. Otherwise, you can copy the LTP binaries to an SD card and then use that binaries from Beegleboard. Using SD card might create some issues, if it's formatted with FAT file system (due to symbolic link issues for FAT in Gnu/Linux environment). It's always better to press "Reply-All" option since this was previously discussed in a forum. Best Regards, Maxin B. John On Thu, Jul 28, 2011 at 5:03 PM, G Rajender <G.R...@ln...> wrote: > Hi Maxin, > > Thanks for your reply. > > I have gone through the links you sent to me. Scratch box is toolkit used to cross compile and test the linux kernel in QEMU in Host PC (Ubuntu or any). > > But I want to test the linux kernel running on TARGET Board (not on Host PC) like Beagleboard ( ARM Cortex-a8 based hardware board) using LTP or any other framework. Is this Possible? > > If Yes Please share the procedure of how to test the running kernel on Target board ( not QEMU in Host PC). > > Thanks in advance. > > Rajender > > > -----Original Message----- > From: Maxin B John [mailto:max...@gm...] > Sent: Wednesday, July 27, 2011 7:35 PM > To: G Rajender > Cc: ltp...@li... > Subject: Re: [LTP] How to test Linux Kernel using LTP on Beagleboard > (ARM Cortex-A8 based board) > > Hi Rajender, > > On Wed, Jul 27, 2011 at 4:45 PM, G Rajender <G.R...@ln...> wrote: >> Hi all, >> >> >> >> Can LTP (Linux Test Project) be ported to Embedded boards like >> Beagleboard or beagle clone boards. >> Or >> >> Can LTP runs and test the linux kernel on Beagleboard (Embedded >> boards or Target boards). > > The answer is "Yes". > >> >> If Yes please share the procedure of how to test kernel using LTP on >> beagleboard (Target board or Embedded board). >> > > You need to cross-compile the LTP source using the proper toolchain. > For the Beagleboard, you can use the Codesourcery tool-chain (can be downloaded from: > http://www.codesourcery.com/sgpp/lite/arm/portal/release1803). > > We can easily build LTP for Beagleboard using the Scratchbox. More info is available in the below give link: > > http://felipec.wordpress.com/2009/06/07/installing-scratchbox-1-and-2- > for-arm-cross-compilation/ > > Previous discussions on cross-compiling LTP is available here: > http://osdir.com/ml/linux.ltp/2005-06/msg00023.html > > Hope this helps. > > Warm Regards, > Maxin > > > Larsen & Toubro Limited > > www.larsentoubro.com > > This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. > Larsen & Toubro Limited www.larsentoubro.com This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. |
From: Maxin B J. <max...@gm...> - 2011-08-01 14:04:53
|
Hi Rajender, On Mon, Aug 1, 2011 at 4:13 PM, G Rajender <G.R...@ln...> wrote: > > I have successfully installed Scratchbox1 and selected the armv7 target in sub-menu. I got shell prompt like "[ sbox- armv7 ~]". I have downloaded the LTP source "ltp-full-20100228.ar.gz" from LTP-web. > > Can you please share the procedure of how to Cross-Compile the LTP source code using Scratchbox1 to generate the binaries for the beagleboard. > The Scratchbox environment simplifies the cross-compilation process. Within the Scratchbox environment, perform the following steps: # tar zxvf ltp-full-20100228.tar.gz # cd ltp-full-20100228 # ./configure # make # make install You will find the cross-compiled binaries in "/opt/ltp" directory in Scratchbox. Move these binaries to your Beagleboard to execute LTP test-suite on the target board. Hope this helps. Maxin B. John |
From: G R. <G.R...@ln...> - 2011-08-02 13:27:39
|
Hi Maxin, Thank you very much for your reply. I have done all the steps that you've mentioned and created LTP-Cross compiled binary images for beagleboard. I have copied the LTP binaries along with required boot-able &kernel (2.6.32) images on to the SD card formating with FAT32 file system. Booted the beagleboard and got the command prompt as below and tries to execute "runalltests.sh" in command prompt. I'm getting the below errors. "root@beagleboard: ./runalltests.sh " Running tests....... [24280.369506] warning: process `bdflush01' used the obsolete bdflush system call [24280.380249] Fix your initscripts? ....................................................... Generating HTML Output.....!! INFO: creating /media/mmcblk0p1/results directory ./runltp: line 954: perl: not found Generated HTML Output.....!! Location: /media/mmcblk0p1/output/2010_Aug_21-18h_46m_44s.html ###############################################################" Done executing testcases." LTP Version: LTP-20100228 ###############################################################" Generating HTML Output.....!! ./runltp: line 954: perl: not found Generated HTML Output.....!! Location: /media/mmcblk0p1/output/2010_Aug_21-18h_46m_44s.html ###############################################################" Done executing testcases." LTP Version: LTP-20100228 ###############################################################" Generating HTML Output.....!! ./runltp: line 954: perl: not found Generated HTML Output.....!! Location: /media/mmcblk0p1/output/2010_Aug_21-18h_46m_44s.html ................... ???root@beagleboard:/media/mmcblk0p1# ./runalltests.sh: line 380: syntax error: unterminated quoted string ./runltp: line 955: ?: not found *** glibc detected *** /bin/sh: free(): invalid pointer: 0x000a0b00 *** ./runalltests.sh: line 380: syntax error: unterminated quoted string Can you please suggest me on how to solve the above errors to run command "runalltests.sh" and "runltp.sh" scripts. There are some of individual testscripts. If i am trying to execute with below command a root@beagleboard:/media/mmcblk0p1/testscripts# ./diskio.sh ........................ incrementing stop ERROR [line: open failed: No such file or directory ] <<<execution_status>>> initiation_status="ok" duration=0 termination_type=exited termination_id=255 corefile=no cutime=0 cstime=0 <<<test_end>>> ltp-pan reported FAIL Can you please suggest me how to solve the above errors to run all the individual test scripts like "diskio.sh" etc...... Thanks in advance for your time and support. Best Reagrds, Rajender ________________________________________ From: Maxin B John [max...@gm...] Sent: Monday, August 01, 2011 7:34 PM To: G Rajender Cc: ltp...@li... Subject: Re: [LTP] How to test Linux Kernel using LTP on Beagleboard (ARM Cortex-A8 based board) Hi Rajender, On Mon, Aug 1, 2011 at 4:13 PM, G Rajender <G.R...@ln...> wrote: > > I have successfully installed Scratchbox1 and selected the armv7 target in sub-menu. I got shell prompt like "[ sbox- armv7 ~]". I have downloaded the LTP source "ltp-full-20100228.ar.gz" from LTP-web. > > Can you please share the procedure of how to Cross-Compile the LTP source code using Scratchbox1 to generate the binaries for the beagleboard. > The Scratchbox environment simplifies the cross-compilation process. Within the Scratchbox environment, perform the following steps: # tar zxvf ltp-full-20100228.tar.gz # cd ltp-full-20100228 # ./configure # make # make install You will find the cross-compiled binaries in "/opt/ltp" directory in Scratchbox. Move these binaries to your Beagleboard to execute LTP test-suite on the target board. Hope this helps. Maxin B. John Larsen & Toubro Limited www.larsentoubro.com This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. |
From: Garrett C. <yan...@gm...> - 2011-08-02 14:59:35
|
On Tue, Aug 2, 2011 at 6:27 AM, G Rajender <G.R...@ln...> wrote: > Hi Maxin, > > Thank you very much for your reply. I have done all the steps that you've mentioned and created LTP-Cross compiled binary images for beagleboard. > > I have copied the LTP binaries along with required boot-able &kernel (2.6.32) images on to the SD card formating with FAT32 file system. Booted the beagleboard and got the command prompt as below and tries to execute "runalltests.sh" in command prompt. I'm getting the below errors. ... Use a more recent version of LTP and see if the issues persist. Thanks, -Garrett |
From: G R. <G.R...@ln...> - 2011-08-08 13:04:30
|
Hi, Thank you for your reply. I have successfully executed LTP test suite on beagleboard. I want to add a new test cases in LTP and if possible Camera Module related test cases in LTP. Can you please suggest how to add a new test case in LTP. Will LTP contains Camera Module related test cases? If Yes please tell me how many test case exists. If No please tell me how to search and add Camera module related test cases in LTP. Thanks in advance. Regards, Rajender ________________________________________ From: Garrett Cooper [yan...@gm...] Sent: Tuesday, August 02, 2011 8:29 PM To: G Rajender Cc: Maxin B John; ltp...@li... Subject: Re: [LTP] How to test Linux Kernel using LTP on Beagleboard (ARM Cortex-A8 based board) On Tue, Aug 2, 2011 at 6:27 AM, G Rajender <G.R...@ln...> wrote: > Hi Maxin, > > Thank you very much for your reply. I have done all the steps that you've mentioned and created LTP-Cross compiled binary images for beagleboard. > > I have copied the LTP binaries along with required boot-able &kernel (2.632) images on to the SD card formating with FAT32 file system. Booted the beagleboard and got the command prompt as below and tries to execute "runalltests.sh" in command prompt. I'm getting the below errors. .. Use a more recent version of LTP and see if the issues persist. Thanks, -Garrett Larsen & Toubro Limited www.larsentoubro.com This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. |
From: Garrett C. <yan...@gm...> - 2011-08-08 16:29:17
|
On Mon, Aug 8, 2011 at 6:04 AM, G Rajender <G.R...@ln...> wrote: > Hi, > > Thank you for your reply. I have successfully executed LTP test suite on beagleboard. > > I want to add a new test cases in LTP and if possible Camera Module related test cases in LTP. > > Can you please suggest how to add a new test case in LTP. > > Will LTP contains Camera Module related test cases? If Yes please tell me how many test case exists. If No please tell me how to search and add Camera module related test cases in LTP. There are video4linux testcases IIRC, but no Camera module testcases. If the testcase is generic enough where it can test out a specific subsystem and you plan on providing changes for the test driver, then yes I think that there is value in it being in LTP. Otherwise, it probably shouldn't be in LTP. Cheers :)! -Garrett |
From: Cyril H. <ch...@su...> - 2011-08-10 13:06:20
|
Hi! > Use a more recent version of LTP and see if the issues persist. Grr the download link on LTP sf pages still points to this ancient version. I'll try to figure out what is wrong there. -- Cyril Hrubis ch...@su... |