mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2024-11-24 21:20:08 +00:00
fix some stuff from previous commit
This commit is contained in:
parent
19c8cf951e
commit
d1c5ced559
@ -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);
|
|
||||||
}
|
|
@ -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!");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user