mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 22:51:37 +00:00
Coding Style Cleanup; update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
e57ed96bac
commit
865f0f9754
7 changed files with 1547 additions and 99 deletions
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* (C) Copyright 2006
|
* (C) Copyright 2006
|
||||||
* Jacqueline Pira-Ferriol, AMCC/IBM, jpira-ferriol@fr.ibm.com
|
* Jacqueline Pira-Ferriol, AMCC/IBM, jpira-ferriol@fr.ibm.com
|
||||||
* Alain Saurel, AMCC/IBM, alain.saurel@fr.ibm.com
|
* Alain Saurel, AMCC/IBM, alain.saurel@fr.ibm.com
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License as
|
* modify it under the terms of the GNU General Public License as
|
||||||
|
@ -136,7 +136,7 @@ int misc_init_r(void)
|
||||||
mtdcr(ebccfga, pb0cr);
|
mtdcr(ebccfga, pb0cr);
|
||||||
#endif
|
#endif
|
||||||
pbcr = mfdcr(ebccfgd);
|
pbcr = mfdcr(ebccfgd);
|
||||||
size_val = ffs(gd->bd->bi_flashsize) - 21;
|
size_val = ffs(gd->bd->bi_flashsize) - 21;
|
||||||
pbcr = (pbcr & 0x0001ffff) | gd->bd->bi_flashstart | (size_val << 17);
|
pbcr = (pbcr & 0x0001ffff) | gd->bd->bi_flashstart | (size_val << 17);
|
||||||
#if defined(CONFIG_NAND_U_BOOT) || defined(CONFIG_NAND_SPL)
|
#if defined(CONFIG_NAND_U_BOOT) || defined(CONFIG_NAND_SPL)
|
||||||
mtdcr(ebccfga, pb3cr);
|
mtdcr(ebccfga, pb3cr);
|
||||||
|
|
|
@ -134,4 +134,3 @@ void common_misc_init_r(void)
|
||||||
saveenv();
|
saveenv();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -90,4 +90,3 @@ void init_tlbs(void)
|
||||||
|
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -187,68 +187,68 @@ flashsize = 0x00200000
|
||||||
flashoffset = 0x00000000
|
flashoffset = 0x00000000
|
||||||
sramstart = 0x80000000
|
sramstart = 0x80000000
|
||||||
sramsize = 0x00008000
|
sramsize = 0x00008000
|
||||||
mbar = 0xFC000000
|
mbar = 0xFC000000
|
||||||
busfreq = 80 MHz
|
busfreq = 80 MHz
|
||||||
ethaddr = 00:E0:0C:BC:E5:60
|
ethaddr = 00:E0:0C:BC:E5:60
|
||||||
ip_addr = 192.168.1.3
|
ip_addr = 192.168.1.3
|
||||||
baudrate = 115200 bps
|
baudrate = 115200 bps
|
||||||
->
|
->
|
||||||
-> help
|
-> help
|
||||||
? - alias for 'help'
|
? - alias for 'help'
|
||||||
autoscr - run script from memory
|
autoscr - run script from memory
|
||||||
base - print or set address offset
|
base - print or set address offset
|
||||||
bdinfo - print Board Info structure
|
bdinfo - print Board Info structure
|
||||||
boot - boot default, i.e., run 'bootcmd'
|
boot - boot default, i.e., run 'bootcmd'
|
||||||
bootd - boot default, i.e., run 'bootcmd'
|
bootd - boot default, i.e., run 'bootcmd'
|
||||||
bootelf - Boot from an ELF image in memory
|
bootelf - Boot from an ELF image in memory
|
||||||
bootm - boot application image from memory
|
bootm - boot application image from memory
|
||||||
bootp - boot image via network using BootP/TFTP protocol
|
bootp - boot image via network using BootP/TFTP protocol
|
||||||
bootvx - Boot vxWorks from an ELF image
|
bootvx - Boot vxWorks from an ELF image
|
||||||
cmp - memory compare
|
cmp - memory compare
|
||||||
coninfo - print console devices and information
|
coninfo - print console devices and information
|
||||||
cp - memory copy
|
cp - memory copy
|
||||||
crc32 - checksum calculation
|
crc32 - checksum calculation
|
||||||
date - get/set/reset date & time
|
date - get/set/reset date & time
|
||||||
dcache - enable or disable data cache
|
dcache - enable or disable data cache
|
||||||
echo - echo args to console
|
echo - echo args to console
|
||||||
erase - erase FLASH memory
|
erase - erase FLASH memory
|
||||||
flinfo - print FLASH memory information
|
flinfo - print FLASH memory information
|
||||||
go - start application at address 'addr'
|
go - start application at address 'addr'
|
||||||
help - print online help
|
help - print online help
|
||||||
icache - enable or disable instruction cache
|
icache - enable or disable instruction cache
|
||||||
icrc32 - checksum calculation
|
icrc32 - checksum calculation
|
||||||
iloop - infinite loop on address range
|
iloop - infinite loop on address range
|
||||||
imd - i2c memory display
|
imd - i2c memory display
|
||||||
iminfo - print header information for application image
|
iminfo - print header information for application image
|
||||||
imls - list all images found in flash
|
imls - list all images found in flash
|
||||||
imm - i2c memory modify (auto-incrementing)
|
imm - i2c memory modify (auto-incrementing)
|
||||||
imw - memory write (fill)
|
imw - memory write (fill)
|
||||||
inm - memory modify (constant address)
|
inm - memory modify (constant address)
|
||||||
iprobe - probe to discover valid I2C chip addresses
|
iprobe - probe to discover valid I2C chip addresses
|
||||||
itest - return true/false on integer compare
|
itest - return true/false on integer compare
|
||||||
loadb - load binary file over serial line (kermit mode)
|
loadb - load binary file over serial line (kermit mode)
|
||||||
loads - load S-Record file over serial line
|
loads - load S-Record file over serial line
|
||||||
loady - load binary file over serial line (ymodem mode)
|
loady - load binary file over serial line (ymodem mode)
|
||||||
loop - infinite loop on address range
|
loop - infinite loop on address range
|
||||||
ls - list files in a directory (default /)
|
ls - list files in a directory (default /)
|
||||||
md - memory display
|
md - memory display
|
||||||
mii - MII utility commands
|
mii - MII utility commands
|
||||||
mm - memory modify (auto-incrementing)
|
mm - memory modify (auto-incrementing)
|
||||||
mtest - simple RAM test
|
mtest - simple RAM test
|
||||||
mw - memory write (fill)
|
mw - memory write (fill)
|
||||||
nand - NAND sub-system
|
nand - NAND sub-system
|
||||||
nboot - boot from NAND device
|
nboot - boot from NAND device
|
||||||
nfs - boot image via network using NFS protocol
|
nfs - boot image via network using NFS protocol
|
||||||
nm - memory modify (constant address)
|
nm - memory modify (constant address)
|
||||||
ping - send ICMP ECHO_REQUEST to network host
|
ping - send ICMP ECHO_REQUEST to network host
|
||||||
printenv- print environment variables
|
printenv- print environment variables
|
||||||
protect - enable or disable FLASH write protection
|
protect - enable or disable FLASH write protection
|
||||||
rarpboot- boot image via network using RARP/TFTP protocol
|
rarpboot- boot image via network using RARP/TFTP protocol
|
||||||
reset - Perform RESET of the CPU
|
reset - Perform RESET of the CPU
|
||||||
run - run commands in an environment variable
|
run - run commands in an environment variable
|
||||||
saveenv - save environment variables to persistent storage
|
saveenv - save environment variables to persistent storage
|
||||||
setenv - set environment variables
|
setenv - set environment variables
|
||||||
sleep - delay execution for some time
|
sleep - delay execution for some time
|
||||||
tftpboot- boot image via network using TFTP protocol
|
tftpboot- boot image via network using TFTP protocol
|
||||||
version - print monitor version
|
version - print monitor version
|
||||||
-> tftp 0x40800000 uImage
|
-> tftp 0x40800000 uImage
|
||||||
|
@ -256,16 +256,16 @@ Using FEC0 device
|
||||||
TFTP from server 192.168.1.3; our IP address is 192.168.1.3 Filename 'uImage'.
|
TFTP from server 192.168.1.3; our IP address is 192.168.1.3 Filename 'uImage'.
|
||||||
Load address: 0x40800000
|
Load address: 0x40800000
|
||||||
Loading: #################################################################
|
Loading: #################################################################
|
||||||
#################################################################
|
#################################################################
|
||||||
##########
|
##########
|
||||||
done
|
done
|
||||||
Bytes transferred = 2053270 (1f5496 hex)
|
Bytes transferred = 2053270 (1f5496 hex)
|
||||||
-> bootm 0x40800000
|
-> bootm 0x40800000
|
||||||
## Booting image at 40800000 ...
|
## Booting image at 40800000 ...
|
||||||
Image Name: Linux Kernel Image
|
Image Name: Linux Kernel Image
|
||||||
Created: 2007-11-07 20:33:08 UTC
|
Created: 2007-11-07 20:33:08 UTC
|
||||||
Image Type: M68K Linux Kernel Image (gzip compressed)
|
Image Type: M68K Linux Kernel Image (gzip compressed)
|
||||||
Data Size: 2053206 Bytes = 2 MB
|
Data Size: 2053206 Bytes = 2 MB
|
||||||
Load Address: 40020000
|
Load Address: 40020000
|
||||||
Entry Point: 40020000
|
Entry Point: 40020000
|
||||||
Verifying Checksum ... OK
|
Verifying Checksum ... OK
|
||||||
|
|
|
@ -106,8 +106,8 @@ CFG_I2C_SLAVE -- define for I2C slave address
|
||||||
CFG_I2C_OFFSET -- define for I2C base address offset
|
CFG_I2C_OFFSET -- define for I2C base address offset
|
||||||
CFG_IMMR -- define for MBAR offset
|
CFG_IMMR -- define for MBAR offset
|
||||||
|
|
||||||
CONFIG_PCI -- define for PCI support
|
CONFIG_PCI -- define for PCI support
|
||||||
CONFIG_PCI_PNP -- define for Plug n play support
|
CONFIG_PCI_PNP -- define for Plug n play support
|
||||||
CONFIG_SKIPPCI_HOSTBRIDGE -- SKIP PCI Host bridge
|
CONFIG_SKIPPCI_HOSTBRIDGE -- SKIP PCI Host bridge
|
||||||
CFG_PCI_MEM_BUS -- PCI memory logical offset
|
CFG_PCI_MEM_BUS -- PCI memory logical offset
|
||||||
CFG_PCI_MEM_PHYS -- PCI memory physical offset
|
CFG_PCI_MEM_PHYS -- PCI memory physical offset
|
||||||
|
@ -143,7 +143,7 @@ CFG_SDRAM_BASE -- defines the DRAM Base
|
||||||
3. COMPILATION
|
3. COMPILATION
|
||||||
==============
|
==============
|
||||||
3.1 To create U-Boot the gcc-4.x compiler set (ColdFire ELF or uclinux
|
3.1 To create U-Boot the gcc-4.x compiler set (ColdFire ELF or uclinux
|
||||||
version) from codesourcery.com was used. Download it from:
|
version) from codesourcery.com was used. Download it from:
|
||||||
http://www.codesourcery.com/gnu_toolchains/coldfire/download.html
|
http://www.codesourcery.com/gnu_toolchains/coldfire/download.html
|
||||||
|
|
||||||
3.2 Compilation
|
3.2 Compilation
|
||||||
|
@ -206,68 +206,68 @@ flashsize = 0x01200000
|
||||||
flashoffset = 0x00000000
|
flashoffset = 0x00000000
|
||||||
sramstart = 0xF2000000
|
sramstart = 0xF2000000
|
||||||
sramsize = 0x00001000
|
sramsize = 0x00001000
|
||||||
mbar = 0xF0000000
|
mbar = 0xF0000000
|
||||||
busfreq = 133.333 MHz
|
busfreq = 133.333 MHz
|
||||||
pcifreq = 0 MHz
|
pcifreq = 0 MHz
|
||||||
ethaddr = 00:E0:0C:BC:E5:60
|
ethaddr = 00:E0:0C:BC:E5:60
|
||||||
eth1addr = 00:E0:0C:BC:E5:61
|
eth1addr = 00:E0:0C:BC:E5:61
|
||||||
ip_addr = 192.162.1.2
|
ip_addr = 192.162.1.2
|
||||||
baudrate = 115200 bps
|
baudrate = 115200 bps
|
||||||
-> ?
|
-> ?
|
||||||
? - alias for 'help'
|
? - alias for 'help'
|
||||||
autoscr - run script from memory
|
autoscr - run script from memory
|
||||||
base - print or set address offset
|
base - print or set address offset
|
||||||
bdinfo - print Board Info structure
|
bdinfo - print Board Info structure
|
||||||
boot - boot default, i.e., run 'bootcmd'
|
boot - boot default, i.e., run 'bootcmd'
|
||||||
bootd - boot default, i.e., run 'bootcmd'
|
bootd - boot default, i.e., run 'bootcmd'
|
||||||
bootelf - Boot from an ELF image in memory
|
bootelf - Boot from an ELF image in memory
|
||||||
bootm - boot application image from memory
|
bootm - boot application image from memory
|
||||||
bootp - boot image via network using BootP/TFTP protocol
|
bootp - boot image via network using BootP/TFTP protocol
|
||||||
bootvx - Boot vxWorks from an ELF image
|
bootvx - Boot vxWorks from an ELF image
|
||||||
cmp - memory compare
|
cmp - memory compare
|
||||||
coninfo - print console devices and information
|
coninfo - print console devices and information
|
||||||
cp - memory copy
|
cp - memory copy
|
||||||
crc32 - checksum calculation
|
crc32 - checksum calculation
|
||||||
dcache - enable or disable data cache
|
dcache - enable or disable data cache
|
||||||
echo - echo args to console
|
echo - echo args to console
|
||||||
erase - erase FLASH memory
|
erase - erase FLASH memory
|
||||||
flinfo - print FLASH memory information
|
flinfo - print FLASH memory information
|
||||||
go - start application at address 'addr'
|
go - start application at address 'addr'
|
||||||
help - print online help
|
help - print online help
|
||||||
icache - enable or disable instruction cache
|
icache - enable or disable instruction cache
|
||||||
icrc32 - checksum calculation
|
icrc32 - checksum calculation
|
||||||
iloop - infinite loop on address range
|
iloop - infinite loop on address range
|
||||||
imd - i2c memory display
|
imd - i2c memory display
|
||||||
iminfo - print header information for application image
|
iminfo - print header information for application image
|
||||||
imls - list all images found in flash
|
imls - list all images found in flash
|
||||||
imm - i2c memory modify (auto-incrementing)
|
imm - i2c memory modify (auto-incrementing)
|
||||||
imw - memory write (fill)
|
imw - memory write (fill)
|
||||||
inm - memory modify (constant address)
|
inm - memory modify (constant address)
|
||||||
iprobe - probe to discover valid I2C chip addresses
|
iprobe - probe to discover valid I2C chip addresses
|
||||||
itest - return true/false on integer compare
|
itest - return true/false on integer compare
|
||||||
loadb - load binary file over serial line (kermit mode)
|
loadb - load binary file over serial line (kermit mode)
|
||||||
loads - load S-Record file over serial line
|
loads - load S-Record file over serial line
|
||||||
loady - load binary file over serial line (ymodem mode)
|
loady - load binary file over serial line (ymodem mode)
|
||||||
loop - infinite loop on address range
|
loop - infinite loop on address range
|
||||||
md - memory display
|
md - memory display
|
||||||
mii - MII utility commands
|
mii - MII utility commands
|
||||||
mm - memory modify (auto-incrementing)
|
mm - memory modify (auto-incrementing)
|
||||||
mtest - simple RAM test
|
mtest - simple RAM test
|
||||||
mw - memory write (fill)
|
mw - memory write (fill)
|
||||||
nfs - boot image via network using NFS protocol
|
nfs - boot image via network using NFS protocol
|
||||||
nm - memory modify (constant address)
|
nm - memory modify (constant address)
|
||||||
pci - list and access PCI Configuration Space
|
pci - list and access PCI Configuration Space
|
||||||
ping - send ICMP ECHO_REQUEST to network host
|
ping - send ICMP ECHO_REQUEST to network host
|
||||||
printenv- print environment variables
|
printenv- print environment variables
|
||||||
protect - enable or disable FLASH write protection
|
protect - enable or disable FLASH write protection
|
||||||
rarpboot- boot image via network using RARP/TFTP protocol
|
rarpboot- boot image via network using RARP/TFTP protocol
|
||||||
reset - Perform RESET of the CPU
|
reset - Perform RESET of the CPU
|
||||||
run - run commands in an environment variable
|
run - run commands in an environment variable
|
||||||
saveenv - save environment variables to persistent storage
|
saveenv - save environment variables to persistent storage
|
||||||
setenv - set environment variables
|
setenv - set environment variables
|
||||||
sleep - delay execution for some time
|
sleep - delay execution for some time
|
||||||
tftpboot- boot image via network using TFTP protocol
|
tftpboot- boot image via network using TFTP protocol
|
||||||
usb - USB sub-system
|
usb - USB sub-system
|
||||||
usbboot - boot from USB device
|
usbboot - boot from USB device
|
||||||
version - print monitor version
|
version - print monitor version
|
||||||
-> usb start
|
-> usb start
|
||||||
|
|
|
@ -244,4 +244,3 @@ void MCD_startDmaENetXmit(char *bDBase, char *currBD, char *xmitFifoPtr,
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_FSLDMAFEC */
|
#endif /* CONFIG_FSLDMAFEC */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue