Audio international DVD-222-0x-x Especificações

Consulte online ou descarregue Especificações para Software Audio international DVD-222-0x-x. Audio international DVD-222-0x-x Specifications Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 200
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
The DENX U-Boot and Linux Guide (DULG) for
katmai
Table of contents:
1. Abstract
2. Introduction
2.1. Copyright
2.2. Disclaimer
2.3. Availability
2.4. Credits
2.5. Translations
2.6. Feedback
2.7. Conventions
3. Embedded Linux Development Kit
3.1. ELDK Availability
3.2. ELDK Getting Help
3.3. Supported Host Systems
3.4. Supported Target Architectures
3.5. Installation
3.5.1. Product Packaging
3.5.2. Downloading the ELDK
3.5.3. Initial Installation
3.5.4. Installation and Removal of Individual Packages
3.5.5. Removal of the Entire Installation
3.6. Working with ELDK
3.6.1. Switching Between Multiple Installations
3.7. Mounting Target Components via NFS
3.8. Rebuilding ELDK Components
3.8.1. ELDK Source Distribution
3.8.2. Rebuilding Target Packages
3.8.3. Rebuilding ELDT Packages
3.9. ELDK Packages
3.9.1. List of ELDT Packages
3.9.2. List of Target Packages
3.10. Rebuilding the ELDK from Scratch
3.10.1. ELDK Build Process Overview
3.10.2. Setting Up ELDK Build Environment
3.10.3. build.sh Usage
3.10.4. Format of the cpkgs.lst and tpkgs.lst Files
3.11. Notes for Solaris 2.x Host Environment
4. System Setup
4.1. Serial Console Access
4.2. Configuring the "cu" command
4.3. Configuring the "kermit" command
4.4. Using the "minicom" program
4.5. Permission Denied Problems
4.6. Configuration of a TFTP Server
4.7. Configuration of a BOOTP / DHCP Server
4.8. Configuring a NFS Server
5. Das U-Boot
5.1. Current Versions
5.2. Unpacking the Source Code
The DENX U-Boot and Linux Guide (DULG) for katmai 1
Vista de página 0
1 2 3 4 5 6 ... 199 200

Resumo do Conteúdo

Página 1

The DENX U-Boot and Linux Guide (DULG) forkatmaiTable of contents:1. Abstract• 2. Introduction2.1. Copyright♦ 2.2. Disclaimer♦ 2.3. Availability♦ 2.4

Página 2

not available http://mira.sunsite.utk.edu/eldk/ftp://ftp.sunet.se/pub/Linux/distributions/eldk/ http://ftp.sunet.se/pub/Linux/distributions/eldk/3.2.

Página 3

nr_inodes: The maximum number of inodes for this instance. The default is half of the number ofyour physical RAM pages.• These parameters accept a suf

Página 4

Disk /dev/hda: 16 heads, 63 sectors, 1575 cylindersUnits = cylinders of 1008 * 512 bytes Device Boot Start End Blocks Id System/dev/h

Página 5

9.4. Splash Screen Support in LinuxTo complement the U-Boot Splash Screen feature the new configuration option"CONFIG_FB_PRE_INIT_FB" was ad

Página 6 - 2. Introduction

In all cases we will base our experiments on the same content of the root filesystem; we use the images of theSELF (Simple Embedded Linux Framework) t

Página 7 - 2.2. Disclaimer

additional storage needed for writable persistent data• Actually there are only very few situations where a ramdisk image is the optimal solution. But

Página 8 - 2.7. Conventions

$ ROOTFS_SIZE=3700 # size of file system image$ ROOTFS_FREE=100 # free space wanted$ ROOTFS_INODES=380

Página 9 - 3.1. ELDK Availability

To create a JFFS2 based root file system please proceed as follows:Create a directory tree with the content of the target root filesystem. We do this

Página 10 - 3.3. Supported Host Systems

########doneBytes transferred = 2033888 (1f08e0 hex)Copy image to flash:=> cp.b 100000 40400000 ${filesize}Copy to Flash... done3. set up

Página 11 - 3.5.2. Downloading the ELDK

Advantages are:file system uses compression, thus making efficient use of flash memory• Allows for quick boot times as only used files get loaded and

Página 12 - 3.5.3. Initial Installation

dev/ptypf → /tmpfs/dev/ptypf dev/ttypf → /tmpfs/dev/ttypftmp → /tmpfs/tmp var → /tmpfs/vardev/log → /var/log/logIn case you use dhclient also:etc/dhcl

Página 13 - Packages

There is also an ELDK for ARM and MIPS systems. 3.5. Installation3.5.1. Product PackagingStable versions of the ELDK are distributed in the form of an

Página 14 - 3.6. Working with ELDK

9.5.4. Root File System on a Read-Only ext2 FileSystemWhen storing the root file system in on-board flash memory it seems only natural to look for spe

Página 15 - $ ppc_8xx-gcc -c myfile.c

dev/ptype → /tmpfs/dev/ptype dev/ttype → /tmpfs/dev/ttypedev/ptypf → /tmpfs/dev/ptypf dev/ttypf → /tmpfs/dev/ttypftmp → /tmpfs/tmp var → /tmpfs/vardev

Página 16

zone(2): 0 pages.Kernel command line: root=/dev/mtdblock6 ro rootfstype=ext2 ip=192.168.3.80:192.168.3.1::255.255.255.0:tqm860l:eth1:off panic=1Decrem

Página 17

zone(1): 0 pages.zone(2): 0 pages.Kernel command line: root=/dev/hda1 ro ip=192.168.3.80:192.168.3.1::255.255.255.0:tqm860l:eth1:off panic=1Decremente

Página 18 - 3.9. ELDK Packages

drwxr-xr-x 2 wd users 4096 Apr 13 01:11 bin-rwxr-xr-x 1 wd users 469512 Apr 11 22:47 bin/nashdrwxr-xr-x 2 wd us

Página 19

The newly created file linux.img is the second image we have to copy to the CF card.We are done.But wait - one essential part was not mentioned yet: t

Página 20

And how does this work on our target?First we copy the two images to the CF card; we do this on the target under Linux:bash-2.05b# fdisk -l /dev/hdaDi

Página 21

Image 1: 238433 Bytes = 232.8 kB Verifying Checksum ... OK Uncompressing Multi-File Image ... OK Loading Ramdisk to 00f3d000, end 00f77361

Página 22

ext2 on CF (ro) 9.3 sec 10.9 MB whole image noFile on FAT fs 11.4 sec 7.8 MB whole image yesAs you can see, the ramdisk solution is the worst of all i

Página 23

Non persistant changesRamdisks are often used when the root file system needs to be modified non-persistantly. This works well, butdownsides are the l

Página 24

To download the ISO image from the ppc-linux-x86/iso directory of one of the mirror sites you can usestandard tools like wget or ncftpget, for example

Página 25

mount -t tmpfs -o rw,size=32M none $STORAGE/sbin/modprobe mini_fomount -t mini_fo -o base=/,sto=$STORAGE / $MOUNT_POINTexec /usr/sbin/chroot $MOUNT_PO

Página 26 - <some_directory>/

9.8.2. ExampleWe will show a sample usage of pramfs in this section using normal DRAM on a board with at least 256MBof memory. For pramfs we reserve t

Página 27

a look at the GDB sources and patches that come with the ELDK source. 10.1. Debugging of U-BootWhen U-Boot starts it is running from ROM space. Runnin

Página 28 - 3.10.3. build.sh Usage

(gdb) print/x ((gd_t *)$r2)->relocaddrWith this knowledge, we can instruct gdb to forget the old symbol table and reload the symbols with ourcalcul

Página 29

Sections: Size Address Align.this 00000060 cf030000 2**2.text 000002f4 cf030060 2**2.rodata 00000134 cf0

Página 30

10.2.3. GDB Macros to Simplify Module LoadingThe following GDB macros and scripts help you to load kernel modules into GDB in a half-automatic way. It

Página 31

detach target remote bdi:2001enddefine add-module shell ~/add-symbol-file.sh $arg0 source ~/add-symbol-file.gdbenddocumen

Página 32 - 4. System Setup

10.5. Application Debugging10.5.1. Local DebuggingIn case there is a native GDB available for your target you can use it for application debugging as

Página 33

(gdb) l1 #include <stdio.h>23 int main(int argc, char* argv[])4 {5 printf ("Hello world\n");6

Página 34

12.2.9. ARM Architecture Programming◊ 12.2.10. Power Architecture® Programming◊ 12.2.11. Embedded Topics◊ 12.3. Mailing Lists♦ 12.4. Links♦ 12.5. Tool

Página 35 - 4.8. Configuring a NFS Server

Specifies the target CPU family the user desires to install. If one or more<cpu_family> parameters are specified, only the target components spe

Página 36 - # /sbin/service nfs restart

Jonathan Corbet, Alessandro Rubini, Greg Kroah-Hartman: "Linux Device Drivers", 3rd Edition;Paperback: 636 pages; O'Reilly & Associ

Página 37

Ulrich Drepper: Position Independent Binaries: "Text Relocations"http://people.redhat.com/drepper/textrelocs.html• Ulrich Drepper: "How

Página 38 - 5.3. Configuration

12.2.6. C++ programmingBooksScott Meyers: "Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rdEdition)", Addison-Wesle

Página 39 - 5.4.1. Before You Begin

IBM PDF compiler writers guide on PPC asm tuning etc.:http://www-3.ibm.com/chips/techlib/techlib.nsf/techdocs/852569B20050FF7785256996007558C6• A deve

Página 40

12.4. Links Linux Kernel Resources:The Linux Documentation Project : http://www.tldp.org/• Generic ("official") Linux Kernel sources:git: ht

Página 41 - 5.7. Initial Steps

13. Appendix13.1. BDI2000 Configuration file♦ • 13. Appendix13.1. BDI2000 Configuration file;bdiGDB configuration file for IBM 440SPe Reference Board;

Página 42 - 5.7. Initial Steps 42

WSPR 0x194 0x00000500 ;IVOR4 External InputWSPR 0x195 0x00000600 ;IVOR5 AlignmentWSPR 0x196 0x00000700 ;IVOR6 Program

Página 43 - 5.8. The First Power-On

14.1.5. System Include Files Missing◊ 14.1.6. patch: command not found◊ 14.1.7. ELDK Include Files Missing◊ 14.1.8. Using the ELDK on a 64 bit platfor

Página 44

14.3.19. Combining a Kernel and a Ramdisk into a Multi-File Image◊ 14.3.20. Adding Files to Ramdisk is Non Persistent◊ 14.3.21. Kernel Configuration f

Página 45 - 5.9.1. Information Commands

[Thanks to Rafal Jaworowski for these detailed instructions.] This is a short tutorial how to hostELDK on FreeBSD 5.x and 6.x. The procedure described

Página 46

For the above commands to work correctly, it is crucial that the correct rpm binary gets invoked. In case ofmultiple ELDK installations and RedHat-bas

Página 47

Hints for building U-Boot:FreeBSD normally uses BSD-style 'make' in base, but in order to compile U-Boot'gmake' (GNU make) has to

Página 48 - 5.9.2. Memory Commands

(use "ps -axf" which gives you a nice hierarchy, look for the "install" process, then for"rpm") and then attach to it wi

Página 49 - 5.9.2.3. cmp - memory compare

Yes, this is possible. It requires only minor adjustments. The following example assumes you areusing a SCSI disk drive, but the same can be done with

Página 50 - 5.9.2.5. md - memory display

=> run net_disk14.1.5. System Include Files MissingQuestion:when installing ELDK on Ubuntu 6.06 dapper drake I get the following error messages...

Página 51

bash$ <eldkroot>/bin/rpm -e kernel-headers-ppc_<target>bash$ cd <eldkroot>/ppc_<target>bash$ rm usr/include/asmbash$ tar -xvzf

Página 52

If this is not the case, then fix this problem first. It might just be that you are not using the right crossdebugger in the first place.14.1.10. How

Página 53

.ident "GCC: (GNU) 4.2.2" .section .note.GNU-stack,"",@progbitsThe use of floating point machine instructio

Página 54 - 5.9.3. Flash Memory Commands

Build for SPE v2 support (as needed for example for a P2020 QorIQ processor, using theppc_85xxDP target architecture):$ export CROSS_COMPILE=ppc_85xxD

Página 55

tools/usr/lib/rpm/rpmpopt-4.0.3bash$ tar jxf /tmp/ELDK-update-2.2.0.tar.bz2Then build the ISO image as documented, and try again.14.1.12. Enable S

Página 56

you to solve your problem.Question:Why?Answer:U-Boot expects to see a virgin CPU on many platforms, i. e. the CPU state must match what you seeif the

Página 57

bash$ ${CROSS_COMPILE}gcc -o hello_world hello_world.c You can also call the cross tools using the generic prefix ppc-linux- for example:bash$ ppc-lin

Página 58

14.2.3. Source object has EABI version 4, buttarget has EABI version 0Question:When trying to build U-Boot with an EABI compliant tool chain, I get su

Página 59

Argument:But my board ran fine with bootloader XYZ and/or operating system ABC.Answer:Double-check your configuration that you claim runs properly...A

Página 60

To debug parts of U-Boot that are running from ROM/flash, i. e. before relocation, just use acommand like "powerpc-linux-gdb uboot" as usual

Página 61

Now you have to calculate the address offset between your link address (The value of the TEXT_BASEdefinition in your board/?/config.mk file). In our c

Página 62

But if I build it using gcc-3.4.6 based cross tools, U-Boot on my board boots correctly.The same U-Boot code built by ELDK 4.1 (gcc-4.0) failed, nothi

Página 63

In the example above, the area 40050000 ... 40050100 lies right in the middle of a erase unit(40040000 ... 4005FFFF), so you cannot erase it without e

Página 64 - 5.9.5. Download Commands

You can set the "locally administered" bit to make your own MAC address (no guarantee ofuniqueness, but pretty good odds if you don't d

Página 65

RAM Configuration:Bank #0: 0c000000 8 MBBank #1: 0c800000 8 MBFlash: 2 MB*** Warning - bad CRC, using default environmentIn: serialOut: serial

Página 66

problems is if your PHY is hard configured in duplex mode (for example 100baseTX Full Duplex or10baseT Full Duplex). If such a setup is combined with

Página 67

setenv addip 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off'14.2.17.2. Hush

Página 68

you can use the following directory as the NFS-based root file system:/opt/eldk/ppc_8xx Before the NFS-mounted root file system can work, you must cre

Página 69

(sequence) to (load and) boot an alternative image, etc.Example:=> addr1=0=> addr2=10=> bootm $addr1 || bootm $addr2 || tftpboot $loadaddr $l

Página 70 - 5.9.8. Storage devices

14.2.19. How can I create an uImage from a ELF fileQuestion:I would like to run a standard distribution kernel on my target, but I can find only ELF k

Página 71 - 5.9.9. Miscellaneous Commands

I tried adding some new code to the hellow_world.c demo program. This works well as soon as Ionly add code to the existing hello_world() function, but

Página 72

For recent kernel the "clocks_in_mhz" variable must not be set. If it is present in your environment, youcan delete it as follows:=> sete

Página 73

14.3.1. Linux crashes randomlyQuestion:On my board, Linux crashes randomly or has random exceptions (especially floating point exceptionsif it is a Po

Página 74 - => saveenv

c0182f54 b log_bufHere the virtual address of the buffer is 0xC0182F54For 2.6 kernels "__log_buf" must be used:bash$ grep __log_buf System.m

Página 75

14.3.5. Linux Kernel Ignores my bootargsQuestion:Why doesn't the kernel use the command-line options I set in the "bootargs" environmen

Página 76

What you are looking for is the CONFIG_ROOT_NFS configuration option, which depends onCONFIG_IP_PNP.To enable root filesystem over NFS you must enable

Página 77 - 5.12.2. Timer Demo

Most probably you have one or missing entries in the /dev directory in your root filesystem. If youare using the ELDK's root filesystem over NFS,

Página 78

14.3.11. Ethernet does not work in LinuxQuestion:Ethernet does not work on my board. But everything is fine when I use the ethernet interface inU-Boot

Página 79 - 5.13. U-Boot Image Formats

$ ${CROSS_COMPILE}rpm -i /mnt/cdrom/SRPMS/<source_rpm_file_name>.src.rpmAfter an ELDK source RPM is installed using the above command, its spec

Página 80 - 5.14.1. Boot Count Limit

Question:I expect to see some Linux kernel messages on the console, but there aren't any.Answer:This is absolutely normal when using the ELDK wit

Página 81

# cat /etc/init_ttyFor details, please see "man 4 console_codes" . 14.3.16. BogoMIPS Value too lowQuestion:We are only seeing 263.78 bogomip

Página 82 - 7.2. Passing Kernel Arguments

14.3.18. Ramdisk Greater than 4 MB CausesProblemsQuestion:I built a ramdisk image which is bigger than 4 MB. I run into problems when I try to boot Li

Página 83 - 7.3. Boot Arguments Unleashed

14.3.20. Adding Files to Ramdisk is Non PersistentQuetsion:I want to add some files to my ramdisk, but every time I reboot I lose all my changes. What

Página 84

General setup -> Support for hot-pluggable devices (enable: Y) -> PCMCIA/CardBus support ->PCMCIA/CardBus support (enable: M) -> MPC8XX PC

Página 85

CONFIG_NLS_ISO8859_1=yCONFIG_NLS_ISO8859_15=yWith these options you will see messages like the following when you boot the Linux kernel:...Uniform Mul

Página 86

Command (? for help): pPartition map (with 512 byte blocks) on '/dev/hda' #: type name length base ( size ) 1: Apple_

Página 87 - 7.5. Boot from Flash Memory

Finally, we dedicate all the remaining space to the root partition:Command (? for help): CFirst block: 139328Length in blocks: 1448272Name of partitio

Página 88

The number of cylinders for this disk is set to 1575.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause

Página 89

Hex code (type L to list codes): 82Changed system type of partition 3 to 82 (Linux swap)Command (m for help): pDisk /dev/hda: 16 heads, 63 sectors, 15

Página 90

3.9. ELDK Packages3.9.1. List of ELDT PackagesPackage Name Package Versionautoconf 2.61-8automake 1.10-5bison 2.3-3crosstool-devel 0.43-3dtc 20070802-

Página 91

14.3.24. Boot-Time Configuration of MTD PartitionsInstead of defining a static partition map as described in section Memory Technology Devices you can

Página 92

The "address" of the RTC (127.127.43.0 in the example above) is not an IP address, but actually usedas an index into an internal array of s

Página 93

To configure a root file system on linear cramfs with XIP select: $ cd <xip-linux-root> $ make menuconfig ... File systems --->"

Página 94 - 9.1. Flash Filesystems

XIP kernel + linear cramfs: pImage: 1395952 cramfs: 1081344 total: used: free: shared: buffers: cached: Mem: 16175104 39

Página 95

Answer:This is caused by the semantics of the RTS signal as implemented on the SCC controllers: the CPMwill assert this signal when it wants to send o

Página 96

#/dev/mtd2 0x0000 0x8000 0x20000########################################################################## For LWMON###

Página 97 - 9.1.3. Second Version of JFFS

bash-2.05b# dd if=/dev/zero of=ext2.img bs=1M count=6666+0 records in66+0 records outbash-2.05b# mkfs.ext2 ext2.imgmke2fs 1.27 (8-Mar-2002)ext2.img is

Página 98

Answer:In addition to the kernel support, you need to specify the "nfsvers=3" option to use NFS protocolversion 3 as a rootfilesystem. So in

Página 99 - 9.2.1. Mount Parameters

The regular support is coupled to the linux kernel option CONFIG_UNIX98_PTYS and the devptsvirtual filesystem which has to be mounted on the target. T

Página 100 - 9.3. Adding Swap Space

Created: Sun May 4 13:23:48 2003Image Type: PowerPC Linux RAMDisk Image (gzip compressed)Data Size: 1400121 Bytes = 1367.31 kB = 1.34 MBLoa

Página 101 - 9.3. Adding Swap Space 101

bc 1.06-26bind 9.4.1-8.P1binutils 2.17.90-1binutils-devel 2.17.90-1boa 0.94.14-0.5.rc21busybox 1.7.1-2byacc 1.9.20050813-1bzip2 1.0.4-10bzip2-devel 1.

Página 102

Unmount ramdisk images:As root:bash# umount /mnt/tmpbash# umount /mnt/new6. Compress new ramdisk imagebash$ gzip -v9 new_ramdiskramdisk: 66.6%

Página 103

A list of supported flash chips (and the needed matching entries for the config file) can be found athttp://www.abatron.ch/fileadmin/user_upload/produ

Página 104

memory (at least some versions do/did in the past). This exception is stored in some way within the405 and when you step "rfi" it triggers.

Página 105

(gdb) As you see, initially GDB says the target architecture is "powerpc:403". But the "show arch"command claims it is the "p

Página 106 - Load address: 0x100000

15. GlossaryABI- Application Binary InterfaceThe convention for register usage and C linkage commonly used on desktop Power Architecture® machines.Sim

Página 107 - => printenv addip

CPM- Communications Processor ModuleThe magic communications co-processor in Motorola PowerQUICC devices. It contains SCCs and SMCs, andperforms SDMA

Página 108

ELDK- Embedded Linux Development KitA package which contains everything you need to get startet with an Embedded Linux project on yourhardware:cross d

Página 109

A general purpose DMA engine with relatively limited throughput provided by the microcoded CPM, for usewith external peripherals or memory-to-memory t

Página 110 - $ tar -zxf /tmp/rootfs.tar.gz

PCCardPC Cards are self-contained extension cards especially for laptops and other types of portable computers. Injust about the size of a credit car

Página 111

and ls to vi), plus some other tools to provide network connectivity, allowing to access the system over theinternet using telnet and FTP services.SIU

Página 112

5.3. Configuration♦ 5.4. Installation5.4.1. Before You Begin5.4.1.1. Installation Requirements⋅ 5.4.1.2. Board Identification Data⋅ ◊ 5.4.2. Installat

Página 113 - FAT File System

dtc 20070802-1duma 2.5.8-2e2fsprogs 1.39-11e2fsprogs-devel 1.39-11e2fsprogs-libs 1.39-11ethtool 5-1expat 1.95.8-9expat-devel 1.95.8-9file 4.21-1file-l

Página 114

Generically, this refers to any device capable of implementing a variety of asynchronous serial protocols, suchas RS-232, HDLC and SDLC. In this conte

Página 115

iproute 2.6.20-2iptables 1.3.8-2iputils 20070202-3iscsitarget 0.4.15-1kbd 1.12-22kernel-headers 2.6.24-1kernel-source 2.6.24-1krb5-devel 1.6.1-2.1krb5

Página 116

lvm2 2.02.24-1m4 1.4.8-2mailcap 2.1.23-1make 3.81-6MAKEDEV 3.23-1.2man 1.6e-3mdadm 2.6.2-4microwindows 0.91-2microwindows-fonts 0.91-1mingetty 1.07-5.

Página 117

patch 2.5.4-29.2.2pciutils 2.2.4-3_2pciutils-devel 2.2.4-3_2pcmciautils 014-9_2pcre 7.0-2pcsc-lite 1.3.3-1.0pcsc-lite-devel 1.3.3-1.0pcsc-lite-libs 1.

Página 118 - 9.7. Overlay File Systems

shadow-utils 4.0.18.1-15slang 2.0.7-17slang-devel 2.0.7-17smartmontools 5.38-2strace 4.5.15-1sysfsutils 2.1.0-1sysklogd 1.4.2-9sysvinit 2.86-17tar 1.1

Página 119 - # insmod mini_fo.o

xinetd 2.3.14-12zip 2.31-3zlib 1.2.3-10zlib-devel 1.2.3-10 Note 1: Not all packages will be installed automatically; for example the boa and thttpd we

Página 120 - 9.8.1. Mount Parameters

Then you may switch to a specific release of the ELDK using the "git-checkout" command; for example, toget the files for ELDK release 4.1, p

Página 121 - 10. Debugging

build/cross_rpms/<package_name>/SPECS/... SOURCES/... tar

Página 122 - 10.1. Debugging of U-Boot

3.10.2. Setting Up ELDK Build EnvironmentFor your convenience, the ELDK build environment CD-ROM provides full ELDK build environment. Allyou need to

Página 123 - 10.2. Linux Kernel Debugging

files (see below for details). You may specify which sub-steps of the build step are to be performed.The formal syntax for the usage of build.sh is as

Página 124

5.9.7.1. i2c - I2C sub-system⋅ 5.9.8. Storage devices◊ 5.9.9. Miscellaneous Commands5.9.9.1. date - get/set/reset date & time⋅ 5.9.9.2. echo - ech

Página 125

3.10.4. Format of the cpkgs.lst and tpkgs.lst FilesEach line of these files has the following format:<sub_step_number> <package_name> <

Página 126 - 10.4. Tips and Tricks

m4 1.4 SMCm4 m4-1.4-sol26-sparc-local.gzmake(**) 3.79.1 SMCmake make-3.79.1-sol26-sparc-local.gzncurses 5.2 SMCncurs ncurses-5.2-sol26-sparc-local.gzp

Página 127 - 10.5. Application Debugging

4. System SetupSome tools are needed to install and configure U-Boot and Linux on the target system. Also, especially duringdevelopment, you will want

Página 128

$ cu [email protected] disconnect, type the escape character '~' followed by '.' at the beginning of a line.See also: cu(1), i

Página 129 - 12.2. Further Reading

4.5. Permission Denied ProblemsThe terminal emulation program must have write access to the serial port and to any locking files that are usedto preve

Página 130 - Articles

4.7. Configuration of a BOOTP / DHCP ServerBOOTP resp. DHCP can be used to automatically pass configuration information to the target. The onlything t

Página 131 - 12.2.5. Network Programming

This line exports the /opt/eldk-4.1-2007-01-19/ppc_4xx directory with read and write permissions to all hostson the 192.168.0.0 subnet.After modifying

Página 132

5.9.5.3. loadb - load binary file over serial line (kermit mode)⋅ 5.9.5.4. loads - load S-Record file over serial line⋅ 5.9.5.5. rarpboot- boot image

Página 133 - 12.3. Mailing Lists

Official releases of U-Boot are also available through FTP. Compressed tar archives can downloaded fromthe directory ftp://ftp.denx.de/pub/u-boot/. 5.

Página 134 - 12.5. Tools

5.4. Installation5.4.1. Before You Begin5.4.1.1. Installation RequirementsThe following section assumes that flash memory is used as the storage devic

Página 135 - 13. Appendix

9.8.1. Mount Parameters◊ 9.8.2. Example◊ 10. Debugging10.1. Debugging of U-Boot10.1.1. Debugging of U-Boot Before Relocation◊ 10.1.2. Debugging of U-B

Página 136

5.4.3. Installation using U-BootIf U-Boot is already installed and running on your board, you can use these instructions to download anotherU-Boot ima

Página 137

5.5. Tool InstallationU-Boot uses a special image format when loading the Linux kernel or ramdisk or other images. This imagecontains (among other thi

Página 138 - 14.1. ELDK

=> help? - alias for 'help'askenv - get environment variables from stdinautoscr - run script from memorybase - print or set add

Página 139

run - run commands in an environment variablesaveenv - save environment variables to persistent storagesetdcr - Set an AMCC PPC 4xx DCR's va

Página 140 - ELDK Installation Hangs

I2C: readyDTT: 1 is 43 CDTT: 2 is 62 CDRAM: Auto calibration - 512 MB (ECC not enabled, 533 MHz, CL4)FLASH: 16 MBPCI: Bus Dev VenId DevId Cla

Página 141

5.9. U-Boot Command Line InterfaceThe following section describes the most important commands available in U-Boot. Please note that U-Boot ishighly co

Página 142

The coninfo command (short: conin) displays information about the available console I/O devices.=> coninList of available devices:serial 80000003

Página 143

FFD20000 E FFD40000 E FFD60000 E FFD80000 E FFDA0000 E FFDC0000 E FFDE0000 E FFE00000 E FFE20000 E FFE4

Página 144

'help' prints online help for the monitor commands.Without arguments, it prints a short usage message for all commands.To get detailed help

Página 145

=> => md 0 c00000000: aaaaaaaa aaaaaaaa 55555555 55555555 ...UUUUUUUU00000010: aaaaaaaa aaaaaaaa 55555555 55555555 ...UUUUUUUU0

Página 146

14.2.4. U-Boot crashes after relocation to RAM◊ 14.2.5. Warning - bad CRC, using default environment◊ 14.2.6. Net: No ethernet found◊ 14.2.7. Wrong de

Página 147

=> Like most memory commands the cmp can access the memory in different sizes: as 32 bit (long word), 16 bit(word) or 8 bit (byte) data. If invoked

Página 148 - 14.2. U-Boot

=> md 10000000100000: f48ea306 54ce7392 f19b0a9e b0fe7392 ...T.s...s.00100010: f1746f6b e70b5467 7214fb92 f1746f6b .tok..Tgr...tok00100

Página 149 - -mrelocatable

00100008: f19b0a9e ? 012345670010000c: b0fe7392 ? .=> => md 100000 1000100000: 00000000 aabbccdd 01234567 b0fe7392 ...#Eg..s.00100010:

Página 150

This tests writes to memory, thus modifying the memory contents. It will fail when applied to ROM orflash memory. This command may crash the system w

Página 151 - Net: No ethernet found

=> 5.9.2.9. nm - memory modify (constant address)=> help nmnm [.b, .w, .l] address - memory modify, read and keep address=> The nm command

Página 152

The cp command "knows" about flash memory areas and will automatically invoke the necessary flashprogramming algorithm when the target area

Página 153 - Compiler

FFF00000 E FFF20000 E FFF40000 E FFF60000 E FFF80000 RO FFFA0000 RO FFFC0000 RO FFFE0000 RO => 5.9.3.3. erase -

Página 154 - 14.2.12. Erasing Flash Fails

.. done=> To erase a whole bank of flash memory you can use a command like this one:=> era bank 1Erase Flash Bank # 1 - Warning: 4 protected sec

Página 155 - => erase 40040000 4005FFFF

Buffer write timeout: 5 ms, buffer size: 32 bytes Sector Start Addresses: FF000000 E FF020000 E FF040000 E FF060000 E FF080000

Página 156

=> => era ff900000 ff97ffff- Warning: 4 protected sectors will not be erased! doneErased 4 sectors=> => prot off 1:72Un-Protect Flash Se

Página 157

14.3.26.3. Hints and Notes⋅ 14.3.26.4. Space requirements and RAM saving, an example⋅ 14.3.27. Use SCC UART with Hardware Handshake◊ 14.3.28. How can

Página 158

U-Boot implements two different approaches to define a MTD partition scheme that can be shared easily withthe linux kernel.The first one is to define

Página 159 - 14.2.17.3. Hush shell scripts

For example, on some target system the mtdparts command might display this information:=> mtdpartsdevice nor0 <TQM5200-0>, # parts = 4 #: nam

Página 160 - 14.2.17.4. General rules

defaults:mtdids : nor0=TQM5200-0mtdparts: mtdparts=TQM5200-0:1m(firmware),1536k(kernel),3584k(small-fs),2m(initrd),8m(misc),16m(big-fs)... and combin

Página 161

Data Size: 158 Bytes = 0.15 kB = 0.00 MBLoad Address: 0x00000000Entry Point: 0x00000000Contents: Image 0: 150 Bytes = 0 kB = 0 MBNow you

Página 162

The first argument to bootm is the memory address (in RAM, ROM or flash memory) where the image isstored, followed by optional arguments that depend o

Página 163 - 14.3. Linux

5.9.5.2. dhcp - invoke DHCP client to obtain IP/boot params=> help dhcpdhcp => 5.9.5.3. loadb - load binary file over serial line (kermit mode)=

Página 164

5.9.5.5. rarpboot- boot image via network using RARP/TFTPprotocol=> help rarprarpboot [loadAddress] [bootfilename]=> 5.9.5.6. tftpboot- boot ima

Página 165 - => md 0x00182F54

update=protect off fffc0000 ffffffff;era fffc0000 ffffffff;cp.b ${fileaddr} fffc0000 ${filesize};setenv filesize;saveenvupd=run load;run updatekozio=b

Página 166

5.9.6.3. setenv - set environment variables=> help setenvsetenv name value ... - set environment variable 'name' to 'value ...&ap

Página 167

setenv name=valueinstead ofsetenv name valueThere will be no error message, which lets you believe everything went OK, but it didn't: instead of

Página 168

First, we describe how to install the Cross Development Tools Embedded Linux Development Kit which youprobably need - at least when you use a standard

Página 169

5.9.6.5. bootd - boot default, i.e., run 'bootcmd'=> help bootboot - No help available.=> The bootd (short: boot) executes the default

Página 170 - # cat /etc/blank_off

5.9.9. Miscellaneous Commands5.9.9.1. date - get/set/reset date & time=> help datedate [MMDDhhmm[[CC]YY][.ss]]date reset - without arguments:

Página 171

The sleep command pauses execution for the number of seconds given as the argument:=> date ; sleep 5 ; dateDate: 1900-04-23 (Thursday) Time: 6:

Página 172 - Multi-File Image

bootcmd: This variable defines a command string that is automatically executed when the initialcountdown is not interrupted.This command is only execu

Página 173

mtdparts: This variable (usually defined using the mtdparts command) allows to share a commonMTD partition scheme between U-Boot and the Linux kernel.

Página 174

echo ===== U-Boot settings =====setenv u-boot /tftpboot/TQM860L/u-boot.binsetenv u-boot_addr 40000000setenv load_u-boot 'tftp ${loadaddr} ${u-boo

Página 175

Erasing Flash... doneErased 1 sectorsWriting to Flash... doneProtected 1 sectorsProtected 1 sectors=> Hint: maximum flexibility can be achieved i

Página 176

argv[0] = "40000"argv[1] = "This"argv[2] = "is"argv[3] = "another"argv[4] = "test."argv[5] = "&

Página 177

Some processors have data and/or instruction caches. For some of these processors (e.g. MPC85xx), theoperation of the cache(s) must be considered when

Página 178

5.12.4. Running on core other than core 0For Freescale PowerPC-based multi-core system, the following can be said.U-Boot facilities are not available

Página 179

document should not be regarded as affecting the validity of any trademark or service mark. Naming ofparticular products or brands should not be seen

Página 180

5.14.1. Boot Count LimitThe Open Source Development Labs Carrier Grade Linux Requirements Definition version 2.0(http://www.osdl.org/docs/carrier_grad

Página 181 - 14.3.26.2. Cramfs Filesystem

6.2. Kernel Configuration and CompilationThe katmai board is fully supported by DENX Software Engineering. This means that you will always be ableto b

Página 182 - 14.3.26.3. Hints and Notes

6.3. InstallationFor now it is sufficient to copy the Linux kernel image into the directory used by your TFTP server:bash$ cp arch/ppc/boot/images/uIm

Página 183

Please see also the files Documentation/initrd.txt and Documentation/nfsroot.txt in yourLinux kernel source directory for more information about which

Página 184

=> setenv addip 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off'=> setenv ram_root &apo

Página 185 - 14.3.30. Swapping over NFS

See Documentation/nfsroot.txt in you Linux kernel source directory for more information about theseparameters and other options.7.4.1. Bootlog of tftp

Página 186

serial8250: ttyS0 at MMIO 0x0 (irq = 0) is a 16550Aserial8250: ttyS1 at MMIO 0x0 (irq = 1) is a 16550Aserial8250: ttyS2 at MMIO 0x0 (irq = 37) is a 16

Página 187

Mounting NFS filesystems: [ OK ]Mounting other filesystems: [ OK ]Starting xinetd: [ OK ]DENX ELDK version 4.1 build 2007-01-19Linux 2.6.21.3-

Página 188 - 14.4. Self

From this output you can see the total amount of flash memory, and how it is divided in blocks (Erase Unitsor Sectors). The RO markers show blocks of

Página 189

Verifying Checksum ... OK=> => saveenvSaving Environment to Flash...Un-Protected 1 sectorsUn-Protected 1 sectorsErasing Flash... doneErased

Página 190 - 14.6. BDI2000

3.5.1. Product Packaging◊ 3.5.2. Downloading the ELDK◊ 3.5.3. Initial Installation◊ 3.5.4. Installation and Removal of Individual Packages◊ 3.5.5. Rem

Página 191

PCIE:0 successfully set as rootpointvendor-id 0xaaa0device-id 0xbed0AMCC PowerPC 440SPe Katmai PlatformZone PFN ranges: DMA 0 -> 131

Página 192

TCP cubic registeredNET: Registered protocol family 1NET: Registered protocol family 17ds1307 1-0068: setting the system clock to 2000-04-23 06:17:58

Página 193 - 14.7. Motorola LITE5200 Board

Entry Point: 00000000 Verifying Checksum ... OK=> => cp.b ${ram_ws} ${ramdisk_addr} ${filesize}Copy to Flash... done=> => imi ${ra

Página 194 - 15. Glossary

Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)Memory: 515328k available (1948k kernel code, 616k data, 156k init, 0k highmem)Mount-cac

Página 195

root:~> 8. Building and Using ModulesThis section still needs to be written (this is a wiki, so please feel free to contribute!).In the meantime, p

Página 196

CONFIG_MTD_CFI_AMDSTD=yCONFIG_MTD_ROM=yCONFIG_MTD_katmai=y Note: this configuration uses CFI conformant AMD flash chips; you may need to adjust these

Página 197

mtd0: 00180000 00020000 "kernel"mtd1: 00200000 00020000 "root"mtd2: 00c00000 00020000 "user"mtd3: 00040000 00020000 &quo

Página 198

If the flash device is erased, we can simply mount it, and the creation of the JFFS filesystem is performedautomagically. Note: For simple accesses li

Página 199

# >filebash: file: No space left on device# mv file foomv: cannot create regular file `foo': No space left on deviceYou will have to use rm to

Página 200 - YellowDog

Everything: 24 kilobytes$ ls -l test.cramfs.img-rw-r--r-- 1 wd users 24576 Nov 10 23:44 test.cramfs.imgAs you can see, the CramFs image

Comentários a estes Manuais

Sem comentários