![]() |
2009-01-21
, 22:15
|
|
Posts: 1,671 |
Thanked: 11,478 times |
Joined on Jun 2008
@ Warsaw, Poland
|
#42
|
hi
i didn't read the thread completly from the beginning to the end, but is it possible to put mer into scratchbox + xephyr?
![]() |
2009-01-21
, 22:24
|
|
Posts: 109 |
Thanked: 196 times |
Joined on Sep 2008
@ Guatemala
|
#43
|
I realize this isn't a solution, but can you document what you did here. This is great progress and there's an outside chance that I could help. Thanks.
so 2.6.21 from latest Diablo is old or recent regarding this serial code? I guess still the old one. I forgot you run recent kernels so the one doing the kexec for you was not the old one. I'm trying this with 2.6.21.
I see. What about delay just before jumping to new kernel or what about switching to slower CPU clock before?
The Following User Says Thank You to solca For This Useful Post: | ||
![]() |
2009-01-22
, 01:03
|
|
Posts: 1,671 |
Thanked: 11,478 times |
Joined on Jun 2008
@ Warsaw, Poland
|
#44
|
![]() |
2009-01-22
, 02:35
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#45
|
You need to compile your kernel with CONFIG_BOOT_PRINTK_DELAY set and pass the boot parameter 'boot_delay=X' where X is ms. I pass 100ms and it works without the need for serial-console R&D flag. Please keep us posted on your findings.
I tried to kexec the 2.6.21 kernel from a kexec capable 2.6.28 and it only works with serial-console flag. On the other side a 2.6.28 kexeced kernel works without serial-console flag iff you insert the above printk delays. I didn't tried a 2.6.21 kernel with delays tho.
BTW I have not tried to insert delays before jumping nor switching to slower CPU freqs as I'm not a very bright kernel hacker
![]() |
2009-01-22
, 07:50
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#46
|
The kexec syscall function is broken on ARM due to it not properly calling
the relocation stub with the correct arguments. This patch puts machine_kexec
in line with the other architectures, and allows kexec to work peroply on ARM.
It has been tested on the versatile kernel successfully.
![]() |
2009-01-23
, 00:35
|
|
Posts: 109 |
Thanked: 196 times |
Joined on Sep 2008
@ Guatemala
|
#47
|
This kexec patch was just submitted yesterday inside the Ubuntu Kernel Team. Could be interesting:The kexec syscall function is broken on ARM due to it not properly calling
the relocation stub with the correct arguments. This patch puts machine_kexec
in line with the other architectures, and allows kexec to work peroply on ARM.
It has been tested on the versatile kernel successfully.
![]() |
2009-01-23
, 11:28
|
Posts: 437 |
Thanked: 90 times |
Joined on Nov 2006
|
#48
|
![]() |
2009-01-24
, 05:01
|
Posts: 94 |
Thanked: 6 times |
Joined on Sep 2005
@ Bangkok, Thailand
|
#49
|
My md5sum on my side is 8c142b2bc4670a6644e85ec3806096ee, i'll try and reupload and see if it helps :P
![]() |
2009-01-24
, 08:04
|
|
Posts: 291 |
Thanked: 124 times |
Joined on Feb 2006
@ Trier, Germany
|
#50
|
i didn't read the thread completly from the beginning to the end, but is it possible to put mer into scratchbox + xephyr?
i really would like to be the first with my project (easy-sdk), who provides this kind of installation..
greatings, thopiekar