Location:
Search - gcc boot
Search list
Description: 这是我自己学习过程中写的,大家看一下,多提意见。谢谢!
暂时只实现了进程的管理和切换,文件系统打算用FAT12,文件系统模块已经大体完成,后面再加进行去吧;内存管理也不会等太久的。
使用方法:
1.安装bochs;
2.建一个软件镜像文件,使用WINIMAGE将BOOT.BIN写入引导扇区,将setup.bin和system.bin直接写进磁盘镜像文件就行了。
上面用到的几个文件已经有了,没有编译器的可以直接使用了。编译环境为GCC+NASM,直接在命令下点make即可,名子不要改动。
Platform: |
Size: 267149 |
Author: shengfeng |
Hits:
Description: ARM-Based Product U-Boot.pdf(英文文章,讲解了Uboot的功能、原理,并且详细介绍了uboot的详细使用方法,在超级终端下面开发程序和引导操作系统的详细步骤)-ARM-Based Product U-Boot.pdf (English articles on the functions of the Uboot, principle and the details uboot the detailed use of the Super Terminal following procedures and guide the development of the operating system steps in detail)
Platform: |
Size: 96256 |
Author: 陈昊 |
Hits:
Description: AVR全系列BOOTLOADER源程序
WINAVR GCC编译.-AVR full range BOOTLOADER WINAVR source GCC compiler.
Platform: |
Size: 98304 |
Author: |
Hits:
Description: 这是我自己学习过程中写的,大家看一下,多提意见。谢谢!
暂时只实现了进程的管理和切换,文件系统打算用FAT12,文件系统模块已经大体完成,后面再加进行去吧;内存管理也不会等太久的。
使用方法:
1.安装bochs;
2.建一个软件镜像文件,使用WINIMAGE将BOOT.BIN写入引导扇区,将setup.bin和system.bin直接写进磁盘镜像文件就行了。
上面用到的几个文件已经有了,没有编译器的可以直接使用了。编译环境为GCC+NASM,直接在命令下点make即可,名子不要改动。
-This is my own process of learning to write and look at everyone and opinions. Thanks! Temporarily only realize the process of management and switch, file system intends to use the FAT12, file system module has been largely completed, to go back plus memory management, etc. will not be too long. Usage: 1. Install bochs 2. To build a software image file, use WINIMAGE will write BOOT.BIN boot sector will be directly incorporated into the setup.bin and system.bin disk image file on the list. Used above, several documents have been, there is no compiler can be directly used. Compiler environment GCC+ NASM, directly in order to make the next point, the name will not change.
Platform: |
Size: 267264 |
Author: shengfeng |
Hits:
Description:
Platform: |
Size: 670720 |
Author: yyc |
Hits:
Description: arm-linux-gcc下编译通过的sdboot,使用了u-boot的Makefile
Platform: |
Size: 94208 |
Author: puyu |
Hits:
Description: NXP公司的ARM9 (LPC3250)下,绝对可用的uboot 源代码。网络、sdram、flash等一切正常。而且非常可靠。u-boot 的版本号是:1.3.3 .用ARM-linux-gcc 编译。-NXP' s ARM9 (LPC3250), the absolute uboot source code available. Network, sdram, flash and all is normal. And very reliable. u-boot version number is: 1.3.3. with the ARM-linux-gcc compiler.
Platform: |
Size: 10675200 |
Author: liulangmao |
Hits:
Description: 此篇文章是关于linux工作环境搭建的,包括gcc、内核、boot的编译安装等-Cipian article is built on Linux working environment, including gcc, kernel, the boot of the compiler installation
Platform: |
Size: 1776640 |
Author: zhushiqun |
Hits:
Description: 嵌入式Linux开发需要的u-boot工具,慧姐使用Gcc编译好即可直接烧写,本源程序已经集成了大部分的Arm芯片。-Embedded Linux development needs u-boot tool, Hui sister good use Gcc compiler can be directly programmed, the source has integrated most of the Arm chip.
Platform: |
Size: 19527680 |
Author: 李林 |
Hits:
Description: 特点: 升错文件不会变砖,app程序不需要知道boot的存在
方法: 38400波特率,板子复位后键盘敲“d”, 正常接收后串口会不停打印“C” 后把bin文件通过xmodem传送过去即可。
原理: 升级app时,把第一条jmp指令换成跳转到boot的jmp指令。 然后把app原来的跳转jmp指令放到0x1bfc的位置(就是boot区的前四个字节)。boot执行完了后执行存在0x1bfc位置的jmp指令即可跳转到app程序区。简单来说就是劫持app的第一条jmp指令。
因此流程是 起始的jmp > boot区第一个jmp > boot区代码 > jmp 0x1fbc > app 执行.
此方法适用于GCC编出来的程序,只要第一条指令是个jmp指令即可 (普通编译器都是,除非是汇编)-Features: l the wrong file will not brick, the app program does not need to know the existence of boot
Methods: 38400 baud rate, the board reset knock on the keyboard d , the normal after receiving the serial will not stop printing C after the bin file through XMODEM transmitted to the past.
Principle: when upgrading app, the first JMP instructions into the jump to the boot JMP instruction. Then put the original app jump JMP instructions into the position of the 0x1bfc (boot zone is the first four bytes). Implementation of the existence of the location of 0x1bfc JMP commands to jump to the app program area after boot implementation. The first JMP instruction is simply to hijack app.
So the process is starting the JMP > boot area of the first JMP- > boot- > JMP- > app 0x1fbc code execution.
This method is applicable to GCC out of the program, as long as the first instruction is a JMP commands
Platform: |
Size: 27648 |
Author: 大鹏集成 |
Hits:
Description: Tiny6410 点灯汇编代码。。 Linux平台下的gcc编译工具编译。 裸机程序, 运行时,boot要先起来, 把bin文件烧到0x50000000内存起始地址执行-Tiny6410 lighting assembly code. . gcc compiler tool to compile the Linux platform. Bare metal program, running, boot up first, burn the bin file memory starting address 0x50000000 execution. .
Platform: |
Size: 1024 |
Author: zhang |
Hits: