12 May 17:07
Re: ipengine boot
From: Richard Miller <lists-inferno@...>
Subject: Re: ipengine boot
Newsgroups: gmane.os.inferno.general
Date: 2008-05-12 15:07:18 GMT
Subject: Re: ipengine boot
Newsgroups: gmane.os.inferno.general
Date: 2008-05-12 15:07:18 GMT
I've confirmed that the relocation code I posted yesterday works for loading inferno from flash, with the addition of one more instruction: immediately after label 'start(SB)', you need to insert BL 1(PC) which loads LR with the original kernel start address (+4). Sorry I overlooked that essential point. An obvious improvement on just copying the kernel from flash to RAM would be storing a compressed kernel image in flash with a bit of self-decompression code at the start. That's left as an exercise for the reader ...
RSS Feed