⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 bootloader源代码
💻
字号:
Bootloader for Jasper DVD boards================================How does it works:-----------------The first stage bootloader start after reset from address 0, configure the caches and then load the 2nd stage in SDRAM (address 0x01300000). The second stage try to load a kernel image from a romfs in flash or from a bootable CD.How to build it:---------------Just type "make", this should build a loader.bin file that you can load in ROM at address 0.You con configure the bootloader behaviour by modifying the config.h file.The build process first create two binary files loader0.bin and main.bin. loader0.bin is the first stage. main.bin is the second stage. The C entry point is in main.c.Files:-----Makefile	: The makefile	README		: This fileatapi.c		: Atapi driveratapi.h 	: Atapi driverbootdisc.c	: Load image from bootable discbootflash.c	: Load image from romfscloader.S	: Startup for second stage bootloaderconfig.h	: Configuration header const.h		: definition.h	:errors.h	:header.txt	:inflate.c	: gunzip corejasper.h	:kunzip.c	: gunzip corekunzip.h	: gunzip coreloader0.S	: first stage boot loadermain.c		: C entry point for second stage boot loadermygzip.h	: gunzip coreqdt.c		: quasar dram testqdt.h		: quasar dram testspecific.c	: Atapi driver (target specific io access)specific.h	: Atapi driver (target specific io access)uart.c		: Uart driveruart.h		: Uart driverMemory MAP for boot loader:-------------------------Boot loader binary image : 0x0000 - 0x0200 (512 bytes) : loader0.bin (loader0.S)0x0200 -                    : main.bin (cloader.S + *.c) (STAGE1_IMAGE_START)Memory map : 0x01000000 - 0x01008000 : unused0x01008000 -            : kernel (KERNEL_LOAD_ADDRESS)0x01300000 -            : main.bin is loaded to this address (STAGE1_LOAD_ADDRESS)	.text	.rodata	.data	.sbss	.bss	.stack : from the end of .bss allocate STACK_SIZE for stack

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -