README (1b81f017b04b5a176f5f9230ec979f0f3c55ba5b) | README (afc1ce82885698c61946c0cab99aac3547ef78ea) |
---|---|
1# 2# (C) Copyright 2000 - 2011 3# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4# 5# See file CREDITS for list of people who contributed to this 6# project. 7# 8# This program is free software; you can redistribute it and/or --- 169 unchanged lines hidden (view full) --- 178 /microblaze Files generic to microblaze architecture 179 /cpu CPU specific files 180 /lib Architecture specific library files 181 /mips Files generic to MIPS architecture 182 /cpu CPU specific files 183 /mips32 Files specific to MIPS32 CPUs 184 /xburst Files specific to Ingenic XBurst CPUs 185 /lib Architecture specific library files | 1# 2# (C) Copyright 2000 - 2011 3# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4# 5# See file CREDITS for list of people who contributed to this 6# project. 7# 8# This program is free software; you can redistribute it and/or --- 169 unchanged lines hidden (view full) --- 178 /microblaze Files generic to microblaze architecture 179 /cpu CPU specific files 180 /lib Architecture specific library files 181 /mips Files generic to MIPS architecture 182 /cpu CPU specific files 183 /mips32 Files specific to MIPS32 CPUs 184 /xburst Files specific to Ingenic XBurst CPUs 185 /lib Architecture specific library files |
186 /nds32 Files generic to NDS32 architecture 187 /cpu CPU specific files 188 /n1213 Files specific to Andes Technology N1213 CPUs 189 /lib Architecture specific library files |
|
186 /nios2 Files generic to Altera NIOS2 architecture 187 /cpu CPU specific files 188 /lib Architecture specific library files 189 /powerpc Files generic to PowerPC architecture 190 /cpu CPU specific files 191 /74xx_7xx Files specific to Freescale MPC74xx and 7xx CPUs 192 /mpc5xx Files specific to Freescale MPC5xx CPUs 193 /mpc5xxx Files specific to Freescale MPC5xxx CPUs --- 2957 unchanged lines hidden (view full) --- 3151 3152 => mwc.l 100 12345678 10 3153 This command will write 12345678 to address 100 all 10 ms. 3154 3155 This only takes effect if the memory commands are activated 3156 globally (CONFIG_CMD_MEM). 3157 3158- CONFIG_SKIP_LOWLEVEL_INIT | 190 /nios2 Files generic to Altera NIOS2 architecture 191 /cpu CPU specific files 192 /lib Architecture specific library files 193 /powerpc Files generic to PowerPC architecture 194 /cpu CPU specific files 195 /74xx_7xx Files specific to Freescale MPC74xx and 7xx CPUs 196 /mpc5xx Files specific to Freescale MPC5xx CPUs 197 /mpc5xxx Files specific to Freescale MPC5xxx CPUs --- 2957 unchanged lines hidden (view full) --- 3155 3156 => mwc.l 100 12345678 10 3157 This command will write 12345678 to address 100 all 10 ms. 3158 3159 This only takes effect if the memory commands are activated 3160 globally (CONFIG_CMD_MEM). 3161 3162- CONFIG_SKIP_LOWLEVEL_INIT |
3159 [ARM, MIPS only] If this variable is defined, then certain | 3163 [ARM, NDS32, MIPS only] If this variable is defined, then certain |
3160 low level initializations (like setting up the memory 3161 controller) are omitted and/or U-Boot does not 3162 relocate itself into RAM. 3163 3164 Normally this variable MUST NOT be defined. The only 3165 exception is when U-Boot is loaded (to RAM) by some 3166 other boot loader or by a debugger which performs 3167 these initializations itself. --- 550 unchanged lines hidden (view full) --- 3718details; basically, the header defines the following image properties: 3719 3720* Target Operating System (Provisions for OpenBSD, NetBSD, FreeBSD, 3721 4.4BSD, Linux, SVR4, Esix, Solaris, Irix, SCO, Dell, NCR, VxWorks, 3722 LynxOS, pSOS, QNX, RTEMS, INTEGRITY; 3723 Currently supported: Linux, NetBSD, VxWorks, QNX, RTEMS, LynxOS, 3724 INTEGRITY). 3725* Target CPU Architecture (Provisions for Alpha, ARM, AVR32, Intel x86, | 3164 low level initializations (like setting up the memory 3165 controller) are omitted and/or U-Boot does not 3166 relocate itself into RAM. 3167 3168 Normally this variable MUST NOT be defined. The only 3169 exception is when U-Boot is loaded (to RAM) by some 3170 other boot loader or by a debugger which performs 3171 these initializations itself. --- 550 unchanged lines hidden (view full) --- 3722details; basically, the header defines the following image properties: 3723 3724* Target Operating System (Provisions for OpenBSD, NetBSD, FreeBSD, 3725 4.4BSD, Linux, SVR4, Esix, Solaris, Irix, SCO, Dell, NCR, VxWorks, 3726 LynxOS, pSOS, QNX, RTEMS, INTEGRITY; 3727 Currently supported: Linux, NetBSD, VxWorks, QNX, RTEMS, LynxOS, 3728 INTEGRITY). 3729* Target CPU Architecture (Provisions for Alpha, ARM, AVR32, Intel x86, |
3726 IA64, MIPS, Nios II, PowerPC, IBM S390, SuperH, Sparc, Sparc 64 Bit; 3727 Currently supported: ARM, AVR32, Intel x86, MIPS, Nios II, PowerPC). | 3730 IA64, MIPS, NDS32, Nios II, PowerPC, IBM S390, SuperH, Sparc, Sparc 64 Bit; 3731 Currently supported: ARM, AVR32, Intel x86, MIPS, NDS32, Nios II, PowerPC). |
3728* Compression Type (uncompressed, gzip, bzip2) 3729* Load Address 3730* Entry Point 3731* Image Name 3732* Image Timestamp 3733 3734The header is marked by a special Magic Number, and both the header 3735and the data portions of the image are secured against corruption by --- 676 unchanged lines hidden (view full) --- 4412On Nios II, the ABI is documented here: 4413 http://www.altera.com/literature/hb/nios2/n2cpu_nii51016.pdf 4414 4415 ==> U-Boot will use gp to hold a pointer to the global data 4416 4417 Note: on Nios II, we give "-G0" option to gcc and don't use gp 4418 to access small data sections, so gp is free. 4419 | 3732* Compression Type (uncompressed, gzip, bzip2) 3733* Load Address 3734* Entry Point 3735* Image Name 3736* Image Timestamp 3737 3738The header is marked by a special Magic Number, and both the header 3739and the data portions of the image are secured against corruption by --- 676 unchanged lines hidden (view full) --- 4416On Nios II, the ABI is documented here: 4417 http://www.altera.com/literature/hb/nios2/n2cpu_nii51016.pdf 4418 4419 ==> U-Boot will use gp to hold a pointer to the global data 4420 4421 Note: on Nios II, we give "-G0" option to gcc and don't use gp 4422 to access small data sections, so gp is free. 4423 |
4424On NDS32, the following registers are used: 4425 4426 R0-R1: argument/return 4427 R2-R5: argument 4428 R15: temporary register for assembler 4429 R16: trampoline register 4430 R28: frame pointer (FP) 4431 R29: global pointer (GP) 4432 R30: link register (LP) 4433 R31: stack pointer (SP) 4434 PC: program counter (PC) 4435 4436 ==> U-Boot will use R10 to hold a pointer to the global data 4437 |
|
4420NOTE: DECLARE_GLOBAL_DATA_PTR must be used with file-global scope, 4421or current versions of GCC may "optimize" the code too much. 4422 4423Memory Management: 4424------------------ 4425 4426U-Boot runs in system state and uses physical addresses, i.e. the 4427MMU is not used either for address mapping nor for memory protection. --- 257 unchanged lines hidden --- | 4438NOTE: DECLARE_GLOBAL_DATA_PTR must be used with file-global scope, 4439or current versions of GCC may "optimize" the code too much. 4440 4441Memory Management: 4442------------------ 4443 4444U-Boot runs in system state and uses physical addresses, i.e. the 4445MMU is not used either for address mapping nor for memory protection. --- 257 unchanged lines hidden --- |