Physical memory access (when not running with a manager)
I'm sure this has an easy answer, but it's been eluding me:
I need grub, when booting, to grab some values from a particular memory address (in flash). My code runs fine, on the platform . .
BUT -- I use the same code to *install* grub from linux, where it can not access the physical memory address. So -- is there any way to have stage2 only access the location when not running under an OS (i.e. when booting)?
-Dave
Signature · 3 lines
David Frascone
Oxymoron: Reinvent.The answer is: use the #define GRUB_UTIL.
-Dave
Quoted 8 lines · David Frascone
I'm sure this has an easy answer, but it's been eluding me:
I need grub, when booting, to grab some values from a particular memory address (in flash). My code runs fine, on the platform . .
BUT -- I use the same code to *install* grub from linux, where it can not access the physical memory address. So -- is there any way to have stage2 only access the location when not running under an OS (i.e. when booting)?
-Dave
Signature · 3 lines
David Frascone
Waiter, there's no fly in my soup! - Kermit