fix some stuff from previous commit

This commit is contained in:
halal-beef 2024-03-12 20:54:39 +00:00
parent 19c8cf951e
commit d1c5ced559
2 changed files with 0 additions and 23 deletions

View File

@ -1,22 +0,0 @@
ENTRY(_start);
OUTPUT_FORMAT("elf32-littlearm")
OUTPUT_ARCH(arm)
TARGET(binary)
INPUT(blob/Image)
INPUT(blob/dtb)
SECTIONS
{
. = 0x80208000;
.boot : {
arch/arm/Start.o
}
.dtb ALIGN(0x1000) : {
dtb = .;
blob/dtb
}
.kernel ALIGN(0x1000) : {
kernel = .;
blob/Image
}
kernel_size = SIZEOF(.kernel);
}

View File

@ -13,7 +13,6 @@ void main(void* dt, void* kernel) {
#ifdef CONFIG_SIMPLE_FB #ifdef CONFIG_SIMPLE_FB
clean_fb((char*)CONFIG_FRAMEBUFFER_BASE, CONFIG_FRAMEBUFFER_WIDTH, CONFIG_FRAMEBUFFER_HEIGHT, CONFIG_FRAMEBUFFER_STRIDE); clean_fb((char*)CONFIG_FRAMEBUFFER_BASE, CONFIG_FRAMEBUFFER_WIDTH, CONFIG_FRAMEBUFFER_HEIGHT, CONFIG_FRAMEBUFFER_STRIDE);
#endif #endif
soc_init(); soc_init();
printk("soc_init() passed!"); printk("soc_init() passed!");