From bc9ee9f0acc0ec26acda4ffd8f5fdcd04a6375c5 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 11 Oct 2019 18:59:16 +0200 Subject: initialize uart in bootloader's stage2, not stage1 --- loader_stage2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loader_stage2.c') diff --git a/loader_stage2.c b/loader_stage2.c index 98ce571..e221dda 100644 --- a/loader_stage2.c +++ b/loader_stage2.c @@ -13,7 +13,7 @@ stage2(uint32_t r0, uint32_t r1, uint32_t atags) (void) r1; (void) atags; - uart_puts("hello stage2!\n\r"); + uart_init(); // get kernel size via uart (little endian) uint32_t b0, b1, b2, b3; -- cgit v1.2.3