How to boot Cacko from KexecBoot on Collie?
Hi Folks,
Is there a trick to kexecbooting Cacko on collie? The issue
at present is the filesystem on /dev/mtdblk0p1 --- which should contain CACKO's root file system (it's hard coded in various scripts) --- but which contains the kexecboot initrd.
Because the kexecboot kernel is smaller than the NAND partition it has to fit into, it should be possible to put the initramfs (also small) straight after it, and give the kexecboot kernel a fake partition table. Is this the right track? Or is there a simpler way?
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
Hello!
Quoted 4 lines
Is there a trick to kexecbooting Cacko on collie? The issue
at present is the filesystem on/dev/mtdblk0p1--- which should contain CACKO's root file system (it's hard coded in various scripts) --- but which contains the kexecboot initrd.
Kexecboot have no separate initrd. It is kernel+initramfs 'all-in-one'. Kexecboot is 'flashed' as ordinary (e.g. Cacko) kernel.
But I have no collie so I can miss something specific..
BTW, I know that some peoples have kexecboot that starting Cacko from NAND on akita.
Signature · 1 line
Yuri Bushmelev
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yuri" == Yuri Bushmelev <[email protected]> writes:
Yuri> Hello!
Quoted 4 lines
Quoted 4 lines
Is there a trick to kexecbooting Cacko on collie? The issue at present is the filesystem on
/dev/mtdblk0p1--- which should contain CACKO's root file system (it's hard coded in various scripts) --- but which contains the kexecboot initrd.
Yuri> Kexecboot have no separate initrd. It is kernel+initramfs Yuri> 'all-in-one'. Kexecboot is 'flashed' as ordinary (e.g. Cacko) Yuri> kernel.
Hmmm. When a do
bitbake linux-kexecboot
I see in tmp/deploy a zImage and an initramfs --- are you saying I need to flash just the zImage? I'll try it on Monday.
--
Dr Peter Chubb peter DOT chubb AT nicta.com.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
All things shall perish from under the sky/Music alone shall live, never to die
Hello!
Quoted 8 lines
Yuri> Kexecboot have no separate initrd. It is kernel+initramfs Yuri> 'all-in-one'. Kexecboot is 'flashed' as ordinary (e.g. Cacko) Yuri> kernel.
Hmmm. When a do
bitbake linux-kexecboot
I see in tmp/deploy a zImage and an initramfs --- are you saying I need to flash just the zImage? I'll try it on Monday.
Yes, exactly.
Signature · 1 line
Yuri Bushmelev