[coreboot-gerrit] Patch set updated for coreboot: 577dc15 beaglebone: Put some code in romstage.c so we can tell if it ran.

Gabe Black (gabeblack@chromium.org) gerrit at coreboot.org
Mon Jul 15 08:32:53 CEST 2013


Gabe Black (gabeblack at chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3581

-gerrit

commit 577dc1595aa0c7a7247dee7589ab2046d7261e52
Author: Gabe Black <gabeblack at 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 at 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 3b9cae8..e66a3dd 100644
--- a/src/mainboard/ti/beaglebone/romstage.c
+++ b/src/mainboard/ti/beaglebone/romstage.c
@@ -29,6 +29,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);
 



More information about the coreboot-gerrit mailing list