Gabe Black (gabeblack@chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3581
-gerrit
commit c15f385987b921754a2df77fbfdc0a83778d5550 Author: Gabe Black gabeblack@chromium.org Date: Mon Jul 1 05:12:40 2013 -0700
beaglebone: Put some code in romstage.c so we can tell if it ran.
The placeholder code in beaglebone's romstage.c didn't do anything, it just immediately tried to load the RAM stage and jump into it. That doesn't currently work, and there's no indication whether you actually successfully got into the ROM stage or not.
This change adds a few lines which initialize the console and say "Hi" so that we can tell that the ROM stage is running.
Change-Id: I45a0908c3ac65b21e0e5020428696d2e54933d0e Signed-off-by: Gabe Black gabeblack@chromium.org --- src/mainboard/ti/beaglebone/romstage.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/src/mainboard/ti/beaglebone/romstage.c b/src/mainboard/ti/beaglebone/romstage.c index 74eaaf2..e5e2477 100644 --- a/src/mainboard/ti/beaglebone/romstage.c +++ b/src/mainboard/ti/beaglebone/romstage.c @@ -30,6 +30,9 @@ void main(void) { void *entry;
+ console_init(); + printk(BIOS_INFO, "Hello from romstage.\n"); + entry = cbfs_load_stage(CBFS_DEFAULT_MEDIA, "fallback/coreboot_ram"); printk(BIOS_INFO, "entry is 0x%p, leaving romstage.\n", entry);