diff --git a/aarch64-rpi/bootboot.c b/aarch64-rpi/bootboot.c index 3d1dd48..9df3266 100644 --- a/aarch64-rpi/bootboot.c +++ b/aarch64-rpi/bootboot.c @@ -1597,6 +1597,14 @@ viderr: puts("BOOTBOOT-PANIC: VideoCore error, no framebuffer\n"); goto error; } + /* clear the screen */ + int offs = 0, line; + for(ky=0;kyfb_height;ky++) { + line=offs; + for(kx=0;kxfb_width;kx++,line+=4) + *((uint32_t*)((uint64_t)bootboot->fb_ptr + line))=0; + offs+=bootboot->fb_scanline; + } } kx=ky=0; color=0xFFDD33; diff --git a/bootboot.img b/bootboot.img index 53a4498..225222e 100755 Binary files a/bootboot.img and b/bootboot.img differ