Need to reflash the SPI-NOR
Hi , I am using saberlite EVK board and try to boot form SD card. In the below link it is metioned that we need to be reflash board with a small SD card loader to support boot from SD card. https://wiki.linaro.org/Boards/MX6QSabreLite. I did as per the link but it did't work for me. I even does not have MFG tool to flash NOR. Now my board doesnt have any image it seem. it is not booting and serial console, i am not seeing any messages. Please let me where i can get the MFG tool for saberlite and pre-build image to flash my board again. please help. i am deadly need of this.. -- Thanks Regards G.Srinivas Reddy. ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
big.LITTLE MP status Sep 18, 2012
https://wiki.linaro.org/projects/big.LITTLE.MP Blueprint updates: https://blueprints.launchpad.net/linaro-qa/+spec/task-placement-testing * smoke test is completed for cyclictest on Android. * cpu and thread features of sysbench required for scheduler testing currently. * Android port supports those two features * sysbench, cyclictests have been delivered from the Android team. * cyclictest: dropped realtime clock feature in Android, libnuma support removed from Android * ftrace raw data mode vs. txt mode: kernel shark only supports raw data mode. * By using sysbench and cyclictests we can create below listed loads and time interval of running. while running these tests we need to identify mechanism to instrument the kernel to identify and print, the cluster number and core number, duration on test on each core. this instrumentation has been planned at project level. so need to communicate with development team and identify the best tools to trace cpu, threads and time. Roadmap Cards == Technical steering committee are currently reviewing the big.LITTLE MP roadmap cards: http://cards.linaro.org/browse/CARD-189 (Mobile workload generation suite) http://cards.linaro.org/browse/CARD-190 (Improving HMP Linux scheduling) http://cards.linaro.org/browse/CARD-191 (Improving Idle frameworks in Linux) http://cards.linaro.org/browse/CARD-192 (Simplifying power management PULL request for big LITTLE MP v8 branch * Major updates are: * Based on v3.6-rc5 * new branch from * Paulm: rcu-hotplug-v1 * vincent: scheduler-misc-v1 and sudeepk arm-multi_pmu_v1 * new version of patches from Morten: task-placement-v2 * config fragment updated for fast slow cpu ** For more details please see: http://lists.linaro.org/pipermail/linaro-dev/2012-September/013575.html -- David Zinman Linaro Release Manager | Project Manager Linaro.org | Open source software for ARM SoCs ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Fwd: Linaro Website Contact
Hi all, We received this -- Forwarded message -- From: Amber Graner amber.gra...@linaro.org Date: 19 September 2012 11:34 Subject: Re: Linaro Website Contact To: JunrongYe iua038...@aw-shanghai.cn Cc: contac...@linaro.org Hi JunrongYe, Thank you for your question. I have forwarded your question to the DevPlatform mailing list. We also have a #linaro IRC channel on irc.freenode.net that you can ask question in as well. You can subscribe to the Devplatform mailing list at: http://lists.linaro.org/mailman/listinfo/linaro-dev and information about this and other Linaro teams can be found at: https://wiki.linaro.org/FrontPage Thank you again, Amber On 19 September 2012 04:51, Linaro Content Management System lin...@freshleafmedia.co.uk wrote: ** Linaro Website Form Submission - *Contact Form* A user has submitted the following information on the Linaro website: Name JunrongYe Email iua038...@aw-shanghai.cn Message I have installed the pre-built image of ubuntu 12.08 on my OrigenBoard. At the first I download the firmware-linux and copy the folder /ath6k/AR6003/hw2.1.1 to the folder /etc/firmware/ on my board.Then the wifi can work well.But now the wifi does not work.And it can not find any wireless router.At the same time the blueetooth can not work. I want the wifi can be used for my board. Can you help me to solve the problem. Thank you for your help. Form Url http://www.linaro.org/contact This enquiry was received via the *Contact Form* on the website: http://www.linaro.org/contact Thank you, Linaro -- Amber Graner User Experience and Community Specialist Linaro.org http://www.linaro.org/* **│ *Open source software for ARM SoCs* *** Follow *Linaro: *Facebook http://www.facebook.com/pages/Linaro | Twitterhttp://twitter.com/#%21/linaroorg | Blog http://www.linaro.org/linaro-blog/ *+1.828.582.9469* cell *+1.828.395.1049* office irc: akgraner amber.gra...@linaro.org (email and Google chat) -- Amber Graner User Experience and Community Specialist Linaro.org http://www.linaro.org/* **│ *Open source software for ARM SoCs* *** Follow *Linaro: *Facebook http://www.facebook.com/pages/Linaro | Twitterhttp://twitter.com/#%21/linaroorg | Blog http://www.linaro.org/linaro-blog/ *+1.828.582.9469* cell *+1.828.395.1049* office irc: akgraner amber.gra...@linaro.org (email and Google chat) ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Fwd: Linaro Website Contact
Hi all, Sorry the last email was sent before I finished typing it (sorry not sure what happened). We received the question listed below and as you can see I told the sender that I would be sending it to this mailing list. Thanks in advance for you help with this. Amber -- Forwarded message -- From: Amber Graner amber.gra...@linaro.org Date: 19 September 2012 11:34 Subject: Re: Linaro Website Contact To: JunrongYe iua038...@aw-shanghai.cn Cc: contac...@linaro.org Hi JunrongYe, Thank you for your question. I have forwarded your question to the DevPlatform mailing list. We also have a #linaro IRC channel on irc.freenode.net that you can ask question in as well. You can subscribe to the Devplatform mailing list at: http://lists.linaro.org/mailman/listinfo/linaro-dev and information about this and other Linaro teams can be found at: https://wiki.linaro.org/FrontPage Thank you again, Amber On 19 September 2012 04:51, Linaro Content Management System lin...@freshleafmedia.co.uk wrote: ** Linaro Website Form Submission - *Contact Form* A user has submitted the following information on the Linaro website: Name JunrongYe Email iua038...@aw-shanghai.cn Message I have installed the pre-built image of ubuntu 12.08 on my OrigenBoard. At the first I download the firmware-linux and copy the folder /ath6k/AR6003/hw2.1.1 to the folder /etc/firmware/ on my board.Then the wifi can work well.But now the wifi does not work.And it can not find any wireless router.At the same time the blueetooth can not work. I want the wifi can be used for my board. Can you help me to solve the problem. Thank you for your help. Form Url http://www.linaro.org/contact This enquiry was received via the *Contact Form* on the website: http://www.linaro.org/contact Thank you, Linaro -- Amber Graner User Experience and Community Specialist Linaro.org http://www.linaro.org/* **│ *Open source software for ARM SoCs* *** Follow *Linaro: *Facebook http://www.facebook.com/pages/Linaro | Twitterhttp://twitter.com/#%21/linaroorg | Blog http://www.linaro.org/linaro-blog/ *+1.828.582.9469* cell *+1.828.395.1049* office irc: akgraner amber.gra...@linaro.org (email and Google chat) -- Amber Graner User Experience and Community Specialist Linaro.org http://www.linaro.org/* **│ *Open source software for ARM SoCs* *** Follow *Linaro: *Facebook http://www.facebook.com/pages/Linaro | Twitterhttp://twitter.com/#%21/linaroorg | Blog http://www.linaro.org/linaro-blog/ *+1.828.582.9469* cell *+1.828.395.1049* office irc: akgraner amber.gra...@linaro.org (email and Google chat) -- Amber Graner User Experience and Community Specialist Linaro.org http://www.linaro.org/* **│ *Open source software for ARM SoCs* *** Follow *Linaro: *Facebook http://www.facebook.com/pages/Linaro | Twitterhttp://twitter.com/#%21/linaroorg | Blog http://www.linaro.org/linaro-blog/ *+1.828.582.9469* cell *+1.828.395.1049* office irc: akgraner amber.gra...@linaro.org (email and Google chat) ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Linaro Website Contact
Hi Christoph, Thank you so much for contacting us. I am forwarding your question to our graphics team and CC'ing their Tech Lead. More information on the Linaro Graphics team can be found at: https://wiki.linaro.org/WorkingGroups/Middleware/Graphics You can also send future questions to the linaro-dev mailing list or you may ask in the #linaro IRC channel on irc.freenode.net. Please let me know if there if I can be of further assistance to you. All the best, Amber On 18 September 2012 19:21, Linaro Content Management System lin...@freshleafmedia.co.uk wrote: ** Linaro Website Form Submission - *Contact Form* A user has submitted the following information on the Linaro website: Name Christoph Stadelmann Email christoph.stadelm...@gmx.de Message Dear Sir or Madam, I just got the snowball board. I want to know if there is something similar to the libvga in the linaro OS in order to map and have direct write access to the HDMI frame buffer. Thank you very much. Christoph Stadelmann Form Url http://www.linaro.org/contact This enquiry was received via the *Contact Form* on the website: http://www.linaro.org/contact Thank you, Linaro -- Amber Graner User Experience and Community Specialist Linaro.org http://www.linaro.org/* **│ *Open source software for ARM SoCs* *** Follow *Linaro: *Facebook http://www.facebook.com/pages/Linaro | Twitterhttp://twitter.com/#%21/linaroorg | Blog http://www.linaro.org/linaro-blog/ *+1.828.582.9469* cell *+1.828.395.1049* office irc: akgraner amber.gra...@linaro.org (email and Google chat) ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Linaro Website Contact
Hi JunrongYe, [snip] I have installed the pre-built image of ubuntu 12.08 on my OrigenBoard. At the first I download the firmware-linux and copy the folder /ath6k/AR6003/hw2.1.1 to the folder /etc/firmware/ on my board.Then the wifi can work well.But now the wifi does not work.And it can not find any wireless router.At the same time the blueetooth can not work. I want the Could you try to run as followings ? $ iwlist wlan0 scan It should show APs. If not, it seems to be related to kernel drivers board. Thanks Sangwook wifi can be used for my board. Can you help me to solve the problem. Thank you for your https://wiki.linaro.org/Resources/HowTo/SamsungLT ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: fastmodel run over ubuntu 64bit machine
On Tue, Sep 18, 2012 at 04:58:21PM -0500, Andy Doan wrote: On 09/17/2012 04:01 AM, Dave Pigott wrote: Hi Lei, I'm copying Andy Doan directly on this, since he's had more experience of getting FM working in LAVA and can probably point you in the right direction. Thanks Dave On 14 Sep 2012, at 14:35, Lei Wen wrote: Hi Dave, On Fri, Sep 14, 2012 at 3:58 PM, Dave Pigott dave.pig...@linaro.org mailto:dave.pig...@linaro.org wrote: Hi Lei, We run Fast Models on 64 bit all the time. How are you creating the model, and how are you trying to launch it? I launch the fast model by below command: model_shell cadi_system_Linux64-Release-GCC-4.4.so Should you be running model_shell64 instead? http://cadi_system_Linux64-Release-GCC-4.4.so/ boot-wrapper/linux-system-semi.axf -f params Looks like you do things different than we do. The way we launch things is with: /opt/arm/RTSM_A15-A7x14_VE/Linux64_RTSM_VE_Cortex-A15x4-A7x4/RTSM_VE_Cortex-A15x4-A7x4 -a coretile.cluster0.*=img.axf -C motherboard.mmc.p_mmc_file=sd.img -C coretile.cluster0.cpu0.semihosting-enable=1 -C motherboard.hostbridge.userNetworking=1 -C coretile.cache_state_modelled=0 -C motherboard.smsc_91c111.enabled=1 I also follow pages like: https://wiki.linaro.org/Platform/Android/AndroidOnFastModels I believe that the pre-built RTSM binaries are integrated simulation builds (i.e., like isim_system). So the required command-line for the isim_system binary built by the fast models package should be similar to the examples we document for launching the RTSM binaries. Cheers ---Dave And it is interested that while I just run the ./isim_system, there is no such error report out. But I don't know to use isim_system to launch this simulation... Dave On 14 Sep 2012, at 08:40, Lei Wen wrote: Hi, Does anyone try to run the fastmodel over ubuntu 64bit machine? I try to run the simulation over Cortex-A15 model, but get below error message when start: Fatal Error: No CreateCADIBroker entry point found. Not a CADI 2.0 model ? Anyone knows what this message means? Do I need any additional configuration to bring up the fastmodel over 64bit ubuntu? Thanks, Lei ___ linaro-dev mailing list linaro-dev@lists.linaro.org mailto:linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev Thanks, Lei ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[PATCH 3/3] cpuidle : remove trailing carriage return
This mindless patch is just about removing some trailing carriage returns. Signed-off-by: Daniel Lezcano daniel.lezc...@linaro.org --- drivers/cpuidle/driver.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/cpuidle/driver.c b/drivers/cpuidle/driver.c index 774d2cb..fc8bfc2 100644 --- a/drivers/cpuidle/driver.c +++ b/drivers/cpuidle/driver.c @@ -39,7 +39,6 @@ static void set_power_states(struct cpuidle_driver *drv) drv-states[i].power_usage = -1 - i; } - /** * cpuidle_register_driver - registers a driver * @drv: the driver @@ -65,7 +64,6 @@ int cpuidle_register_driver(struct cpuidle_driver *drv) return 0; } - EXPORT_SYMBOL_GPL(cpuidle_register_driver); /** @@ -93,5 +91,4 @@ void cpuidle_unregister_driver(struct cpuidle_driver *drv) cpuidle_curr_driver = NULL; spin_unlock(cpuidle_driver_lock); } - EXPORT_SYMBOL_GPL(cpuidle_unregister_driver); -- 1.7.5.4 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: fastmodel run over ubuntu 64bit machine
Adding Amit and Vishal. They go down this road quite a bit. On 19 September 2012 11:38, Dave Martin dave.mar...@linaro.org wrote: On Tue, Sep 18, 2012 at 04:58:21PM -0500, Andy Doan wrote: On 09/17/2012 04:01 AM, Dave Pigott wrote: Hi Lei, I'm copying Andy Doan directly on this, since he's had more experience of getting FM working in LAVA and can probably point you in the right direction. Thanks Dave On 14 Sep 2012, at 14:35, Lei Wen wrote: Hi Dave, On Fri, Sep 14, 2012 at 3:58 PM, Dave Pigott dave.pig...@linaro.org mailto:dave.pig...@linaro.org wrote: Hi Lei, We run Fast Models on 64 bit all the time. How are you creating the model, and how are you trying to launch it? I launch the fast model by below command: model_shell cadi_system_Linux64-Release-GCC-4.4.so Should you be running model_shell64 instead? http://cadi_system_Linux64-Release-GCC-4.4.so/ boot-wrapper/linux-system-semi.axf -f params Looks like you do things different than we do. The way we launch things is with: /opt/arm/RTSM_A15-A7x14_VE/Linux64_RTSM_VE_Cortex-A15x4-A7x4/RTSM_VE_Cortex-A15x4-A7x4 -a coretile.cluster0.*=img.axf -C motherboard.mmc.p_mmc_file=sd.img -C coretile.cluster0.cpu0.semihosting-enable=1 -C motherboard.hostbridge.userNetworking=1 -C coretile.cache_state_modelled=0 -C motherboard.smsc_91c111.enabled=1 I also follow pages like: https://wiki.linaro.org/Platform/Android/AndroidOnFastModels I believe that the pre-built RTSM binaries are integrated simulation builds (i.e., like isim_system). So the required command-line for the isim_system binary built by the fast models package should be similar to the examples we document for launching the RTSM binaries. Cheers ---Dave And it is interested that while I just run the ./isim_system, there is no such error report out. But I don't know to use isim_system to launch this simulation... Dave On 14 Sep 2012, at 08:40, Lei Wen wrote: Hi, Does anyone try to run the fastmodel over ubuntu 64bit machine? I try to run the simulation over Cortex-A15 model, but get below error message when start: Fatal Error: No CreateCADIBroker entry point found. Not a CADI 2.0 model ? Anyone knows what this message means? Do I need any additional configuration to bring up the fastmodel over 64bit ubuntu? Thanks, Lei ___ linaro-dev mailing list linaro-dev@lists.linaro.org mailto:linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev Thanks, Lei ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev -- Zach Pfeffer Android Platform Team Lead, Linaro Platform Teams Linaro.org | Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [PATCH 1/3] cpuidle : remove unused ref count function
On Wednesday, September 19, 2012, Daniel Lezcano wrote: These two functions are never used. This is not the case. pm_genpd_attach_cpuidle() and pm_genpd_detach_cpuidle() use them. Please be more careful. Thanks, Rafael Signed-off-by: Daniel Lezcano daniel.lezc...@linaro.org --- drivers/cpuidle/driver.c | 29 + include/linux/cpuidle.h |4 2 files changed, 1 insertions(+), 32 deletions(-) diff --git a/drivers/cpuidle/driver.c b/drivers/cpuidle/driver.c index 58bf3b1..40cd3f3 100644 --- a/drivers/cpuidle/driver.c +++ b/drivers/cpuidle/driver.c @@ -16,7 +16,6 @@ static struct cpuidle_driver *cpuidle_curr_driver; DEFINE_SPINLOCK(cpuidle_driver_lock); -int cpuidle_driver_refcount; static void __cpuidle_register_driver(struct cpuidle_driver *drv) { @@ -90,34 +89,8 @@ void cpuidle_unregister_driver(struct cpuidle_driver *drv) } spin_lock(cpuidle_driver_lock); - - if (!WARN_ON(cpuidle_driver_refcount 0)) - cpuidle_curr_driver = NULL; - + cpuidle_curr_driver = NULL; spin_unlock(cpuidle_driver_lock); } EXPORT_SYMBOL_GPL(cpuidle_unregister_driver); - -struct cpuidle_driver *cpuidle_driver_ref(void) -{ - struct cpuidle_driver *drv; - - spin_lock(cpuidle_driver_lock); - - drv = cpuidle_curr_driver; - cpuidle_driver_refcount++; - - spin_unlock(cpuidle_driver_lock); - return drv; -} - -void cpuidle_driver_unref(void) -{ - spin_lock(cpuidle_driver_lock); - - if (!WARN_ON(cpuidle_driver_refcount = 0)) - cpuidle_driver_refcount--; - - spin_unlock(cpuidle_driver_lock); -} diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index 279b1ea..5abf62b 100644 --- a/include/linux/cpuidle.h +++ b/include/linux/cpuidle.h @@ -145,8 +145,6 @@ extern void disable_cpuidle(void); extern int cpuidle_idle_call(void); extern int cpuidle_register_driver(struct cpuidle_driver *drv); extern struct cpuidle_driver *cpuidle_get_driver(void); -extern struct cpuidle_driver *cpuidle_driver_ref(void); -extern void cpuidle_driver_unref(void); extern void cpuidle_unregister_driver(struct cpuidle_driver *drv); extern int cpuidle_register_device(struct cpuidle_device *dev); extern void cpuidle_unregister_device(struct cpuidle_device *dev); @@ -169,8 +167,6 @@ static inline int cpuidle_idle_call(void) { return -ENODEV; } static inline int cpuidle_register_driver(struct cpuidle_driver *drv) {return -ENODEV; } static inline struct cpuidle_driver *cpuidle_get_driver(void) {return NULL; } -static inline struct cpuidle_driver *cpuidle_driver_ref(void) {return NULL; } -static inline void cpuidle_driver_unref(void) {} static inline void cpuidle_unregister_driver(struct cpuidle_driver *drv) { } static inline int cpuidle_register_device(struct cpuidle_device *dev) {return -ENODEV; } ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [PATCH 2/3] cpuidle : rename function name __cpuidle_register_driver
On Wednesday, September 19, 2012, Daniel Lezcano wrote: Clarify the purpose of the function by changing its name and move the condition out of this function. Why exactly are you removing the condition? Rafael Signed-off-by: Daniel Lezcano daniel.lezc...@linaro.org --- drivers/cpuidle/driver.c | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/cpuidle/driver.c b/drivers/cpuidle/driver.c index 40cd3f3..774d2cb 100644 --- a/drivers/cpuidle/driver.c +++ b/drivers/cpuidle/driver.c @@ -17,9 +17,10 @@ static struct cpuidle_driver *cpuidle_curr_driver; DEFINE_SPINLOCK(cpuidle_driver_lock); -static void __cpuidle_register_driver(struct cpuidle_driver *drv) +static void set_power_states(struct cpuidle_driver *drv) { int i; + /* * cpuidle driver should set the drv-power_specified bit * before registering if the driver provides @@ -34,10 +35,8 @@ static void __cpuidle_register_driver(struct cpuidle_driver *drv) * an power value of -1. So we use -2, -3, etc, for other * c-states. */ - if (!drv-power_specified) { - for (i = CPUIDLE_DRIVER_STATE_START; i drv-state_count; i++) - drv-states[i].power_usage = -1 - i; - } + for (i = CPUIDLE_DRIVER_STATE_START; i drv-state_count; i++) + drv-states[i].power_usage = -1 - i; } @@ -58,8 +57,10 @@ int cpuidle_register_driver(struct cpuidle_driver *drv) spin_unlock(cpuidle_driver_lock); return -EBUSY; } - __cpuidle_register_driver(drv); - cpuidle_curr_driver = drv; + + if (!drv-power_specified) + set_power_states(drv); + spin_unlock(cpuidle_driver_lock); return 0; ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [PATCH 2/3] cpuidle : rename function name __cpuidle_register_driver
On 09/19/2012 09:51 PM, Rafael J. Wysocki wrote: On Wednesday, September 19, 2012, Daniel Lezcano wrote: Clarify the purpose of the function by changing its name and move the condition out of this function. Why exactly are you removing the condition? I just moved the condition out from the function and called it when the condition is true. if (!drv-power_specified) set_power_states(drv); But please, drop this patch too. I noticed there is an overlap with the next patch I have in my series but not published. Accidentally I removed cpuidle_curr_driver = drv; Sorry for the inconvenience. Time for me to go to bed :) Signed-off-by: Daniel Lezcano daniel.lezc...@linaro.org --- drivers/cpuidle/driver.c | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/cpuidle/driver.c b/drivers/cpuidle/driver.c index 40cd3f3..774d2cb 100644 --- a/drivers/cpuidle/driver.c +++ b/drivers/cpuidle/driver.c @@ -17,9 +17,10 @@ static struct cpuidle_driver *cpuidle_curr_driver; DEFINE_SPINLOCK(cpuidle_driver_lock); -static void __cpuidle_register_driver(struct cpuidle_driver *drv) +static void set_power_states(struct cpuidle_driver *drv) { int i; + /* * cpuidle driver should set the drv-power_specified bit * before registering if the driver provides @@ -34,10 +35,8 @@ static void __cpuidle_register_driver(struct cpuidle_driver *drv) * an power value of -1. So we use -2, -3, etc, for other * c-states. */ -if (!drv-power_specified) { -for (i = CPUIDLE_DRIVER_STATE_START; i drv-state_count; i++) -drv-states[i].power_usage = -1 - i; -} +for (i = CPUIDLE_DRIVER_STATE_START; i drv-state_count; i++) +drv-states[i].power_usage = -1 - i; } @@ -58,8 +57,10 @@ int cpuidle_register_driver(struct cpuidle_driver *drv) spin_unlock(cpuidle_driver_lock); return -EBUSY; } -__cpuidle_register_driver(drv); -cpuidle_curr_driver = drv; + +if (!drv-power_specified) +set_power_states(drv); + spin_unlock(cpuidle_driver_lock); return 0; ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev -- http://www.linaro.org/ Linaro.org │ Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro Facebook | http://twitter.com/#!/linaroorg Twitter | http://www.linaro.org/linaro-blog/ Blog ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [PATCH 3/3] cpuidle : remove trailing carriage return
On Wednesday, September 19, 2012, Daniel Lezcano wrote: This mindless patch is just about removing some trailing carriage returns. Signed-off-by: Daniel Lezcano daniel.lezc...@linaro.org Applied. Thanks, Rafael --- drivers/cpuidle/driver.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/cpuidle/driver.c b/drivers/cpuidle/driver.c index 774d2cb..fc8bfc2 100644 --- a/drivers/cpuidle/driver.c +++ b/drivers/cpuidle/driver.c @@ -39,7 +39,6 @@ static void set_power_states(struct cpuidle_driver *drv) drv-states[i].power_usage = -1 - i; } - /** * cpuidle_register_driver - registers a driver * @drv: the driver @@ -65,7 +64,6 @@ int cpuidle_register_driver(struct cpuidle_driver *drv) return 0; } - EXPORT_SYMBOL_GPL(cpuidle_register_driver); /** @@ -93,5 +91,4 @@ void cpuidle_unregister_driver(struct cpuidle_driver *drv) cpuidle_curr_driver = NULL; spin_unlock(cpuidle_driver_lock); } - EXPORT_SYMBOL_GPL(cpuidle_unregister_driver); ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: fastmodel run over ubuntu 64bit machine
Hi Andy, On Wed, Sep 19, 2012 at 5:58 AM, Andy Doan andy.d...@linaro.org wrote: On 09/17/2012 04:01 AM, Dave Pigott wrote: Hi Lei, I'm copying Andy Doan directly on this, since he's had more experience of getting FM working in LAVA and can probably point you in the right direction. Thanks Dave On 14 Sep 2012, at 14:35, Lei Wen wrote: Hi Dave, On Fri, Sep 14, 2012 at 3:58 PM, Dave Pigott dave.pig...@linaro.org mailto:dave.pig...@linaro.org** wrote: Hi Lei, We run Fast Models on 64 bit all the time. How are you creating the model, and how are you trying to launch it? I launch the fast model by below command: model_shell cadi_system_Linux64-Release-**GCC-4.4.sohttp://cadi_system_Linux64-Release-GCC-4.4.so http://cadi_system_Linux64-**Release-GCC-4.4.so/http://cadi_system_Linux64-Release-GCC-4.4.so/ boot-wrapper/linux-system-**semi.axf -f params Looks like you do things different than we do. The way we launch things is with: /opt/arm/RTSM_A15-A7x14_VE/**Linux64_RTSM_VE_Cortex-A15x4-**A7x4/RTSM_VE_Cortex-A15x4-A7x4 -a coretile.cluster0.*=img.axf -C motherboard.mmc.p_mmc_file=sd.**img -C coretile.cluster0.cpu0.**semihosting-enable=1 -C motherboard.hostbridge.**userNetworking=1 -C coretile.cache_state_modelled=**0 -C motherboard.smsc_91c111.**enabled=1 There is no such prebuilt binary in my installation... However I find the isim_system is similar to the model_shell, with the same input I set to model_shell, it could launch the simulation finally. Still curious to know why model_shell don't work. Thanks, Lei ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: fastmodel run over ubuntu 64bit machine
Hi Dave, On Thu, Sep 20, 2012 at 12:38 AM, Dave Martin dave.mar...@linaro.orgwrote: On Tue, Sep 18, 2012 at 04:58:21PM -0500, Andy Doan wrote: On 09/17/2012 04:01 AM, Dave Pigott wrote: Hi Lei, I'm copying Andy Doan directly on this, since he's had more experience of getting FM working in LAVA and can probably point you in the right direction. Thanks Dave On 14 Sep 2012, at 14:35, Lei Wen wrote: Hi Dave, On Fri, Sep 14, 2012 at 3:58 PM, Dave Pigott dave.pig...@linaro.org mailto:dave.pig...@linaro.org wrote: Hi Lei, We run Fast Models on 64 bit all the time. How are you creating the model, and how are you trying to launch it? I launch the fast model by below command: model_shell cadi_system_Linux64-Release-GCC-4.4.so Should you be running model_shell64 instead? The model_shell64 also complain for the same error as Not a CADI 2.0 model... http://cadi_system_Linux64-Release-GCC-4.4.so/ boot-wrapper/linux-system-semi.axf -f params Looks like you do things different than we do. The way we launch things is with: /opt/arm/RTSM_A15-A7x14_VE/Linux64_RTSM_VE_Cortex-A15x4-A7x4/RTSM_VE_Cortex-A15x4-A7x4 -a coretile.cluster0.*=img.axf -C motherboard.mmc.p_mmc_file=sd.img -C coretile.cluster0.cpu0.semihosting-enable=1 -C motherboard.hostbridge.userNetworking=1 -C coretile.cache_state_modelled=0 -C motherboard.smsc_91c111.enabled=1 I also follow pages like: https://wiki.linaro.org/Platform/Android/AndroidOnFastModels I believe that the pre-built RTSM binaries are integrated simulation builds (i.e., like isim_system). So the required command-line for the isim_system binary built by the fast models package should be similar to the examples we document for launching the RTSM binaries. Yes, it is similar. Thanks for the hint. Cheers ---Dave Thanks, Lei ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev