Re: Loader forth

From: Tarc <tarc_at_tarc.po.cs.msu.su>
Date: Fri, 9 Jun 2006 15:41:40 +0400
On Fri, Jun 09, 2006 at 08:46:57AM +0000, John Birrell wrote:
> Gobbldy-gook! Yuk. I need help.
> 
> All I want to do is add another menu option that will do
> the equivalent of:
> 
> cyclic_load="YES"
> dtrace_load="YES"
> 
> etc
> 
> and then boot.
> 
> Adding the menu option was simple.
> 
> But it seems that the loader code does the module loading *before*
> the menu is displayed and simply doing the setenvs when the key
> press is detected is too late -- they get ignored.
> 
> Doing the setenv and then a boot-conf resets everything to what was
> read from the config files. Grumble.
> 
> I see that the acpi implementation cheats and that module gets
> loaded from the C-code. Is that because the design of the loader forth
> doesn't allow this?
> 
> This is probably really simple for a forth programmer. Which I'm not.
> 
> Can anyone tell me how to do it?
> 
> --
> John Birrell

Yes, but you can use the load command for loading custom modules and/or kernel.  
for documentation, you can see to /sys/boot/common/help.common . There are described some commands. T-prefix and D-prefix are for format only, so you should find `# Tload' pattern.
-- 
   Best regards,
   	Arseny Nasokin
Received on Sun Jun 11 2006 - 09:32:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:57 UTC