README (9d62f20d0861ef87460d073dc189c851715b46ae) | README (0df01fd3d71481b5cc7aeea6a741b9fc3be15178) |
---|---|
1# 2# (C) Copyright 2000 - 2009 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 --- 3289 unchanged lines hidden (view full) --- 3298 3299o If both the SROM and the environment contain a MAC address, and the 3300 addresses differ, the value from the environment is used and a 3301 warning is printed. 3302 3303o If neither SROM nor the environment contain a MAC address, an error 3304 is raised. 3305 | 1# 2# (C) Copyright 2000 - 2009 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 --- 3289 unchanged lines hidden (view full) --- 3298 3299o If both the SROM and the environment contain a MAC address, and the 3300 addresses differ, the value from the environment is used and a 3301 warning is printed. 3302 3303o If neither SROM nor the environment contain a MAC address, an error 3304 is raised. 3305 |
3306If Ethernet drivers implement the 'write_hwaddr' function, valid MAC addresses 3307will be programmed into hardware as part of the initialization process. This 3308may be skipped by setting the appropriate 'ethmacskip' environment variable. 3309The naming convention is as follows: 3310"ethmacskip" (=>eth0), "eth1macskip" (=>eth1) etc. |
|
3306 3307Image Formats: 3308============== 3309 3310U-Boot is capable of booting (and performing other auxiliary operations on) 3311images in two formats: 3312 3313New uImage format (FIT) --- 699 unchanged lines hidden (view full) --- 4013 R11: argument (frame) pointer 4014 R12: temporary workspace 4015 R13: stack pointer 4016 R14: link register 4017 R15: program counter 4018 4019 ==> U-Boot will use R8 to hold a pointer to the global data 4020 | 3311 3312Image Formats: 3313============== 3314 3315U-Boot is capable of booting (and performing other auxiliary operations on) 3316images in two formats: 3317 3318New uImage format (FIT) --- 699 unchanged lines hidden (view full) --- 4018 R11: argument (frame) pointer 4019 R12: temporary workspace 4020 R13: stack pointer 4021 R14: link register 4022 R15: program counter 4023 4024 ==> U-Boot will use R8 to hold a pointer to the global data 4025 |
4026On Nios II, the ABI is documented here: 4027 http://www.altera.com/literature/hb/nios2/n2cpu_nii51016.pdf 4028 4029 ==> U-Boot will use gp to hold a pointer to the global data 4030 4031 Note: on Nios II, we give "-G0" option to gcc and don't use gp 4032 to access small data sections, so gp is free. 4033 |
|
4021NOTE: DECLARE_GLOBAL_DATA_PTR must be used with file-global scope, 4022or current versions of GCC may "optimize" the code too much. 4023 4024Memory Management: 4025------------------ 4026 4027U-Boot runs in system state and uses physical addresses, i.e. the 4028MMU is not used either for address mapping nor for memory protection. --- 259 unchanged lines hidden --- | 4034NOTE: DECLARE_GLOBAL_DATA_PTR must be used with file-global scope, 4035or current versions of GCC may "optimize" the code too much. 4036 4037Memory Management: 4038------------------ 4039 4040U-Boot runs in system state and uses physical addresses, i.e. the 4041MMU is not used either for address mapping nor for memory protection. --- 259 unchanged lines hidden --- |