• Пожаловаться

Christopher Hallinan: Embedded Linux Primer: A Practical, Real-World Approach

Здесь есть возможность читать онлайн «Christopher Hallinan: Embedded Linux Primer: A Practical, Real-World Approach» весь текст электронной книги совершенно бесплатно (целиком полную версию). В некоторых случаях присутствует краткое содержание. год выпуска: 2006, ISBN: 978-0-13-167984-9, издательство: Prentice Hall, категория: ОС и Сети / на английском языке. Описание произведения, (предисловие) а так же отзывы посетителей доступны на портале. Библиотека «Либ Кат» — LibCat.ru создана для любителей полистать хорошую книжку и предлагает широкий выбор жанров:

любовные романы фантастика и фэнтези приключения детективы и триллеры эротика документальные научные юмористические анекдоты о бизнесе проза детские сказки о религиии новинки православные старинные про компьютеры программирование на английском домоводство поэзия

Выбрав категорию по душе Вы сможете найти действительно стоящие книги и насладиться погружением в мир воображения, прочувствовать переживания героев или узнать для себя что-то новое, совершить внутреннее открытие. Подробная информация для ознакомления по текущему запросу представлена ниже:

libcat.ru: книга без обложки
  • Название:
    Embedded Linux Primer: A Practical, Real-World Approach
  • Автор:
  • Издательство:
    Prentice Hall
  • Жанр:
  • Год:
    2006
  • Язык:
    Английский
  • ISBN:
    978-0-13-167984-9
  • Рейтинг книги:
    4 / 5
  • Избранное:
    Добавить книгу в избранное
  • Ваша оценка:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Embedded Linux Primer: A Practical, Real-World Approach: краткое содержание, описание и аннотация

Предлагаем к чтению аннотацию, описание, краткое содержание или предисловие (зависит от того, что написал сам автор книги «Embedded Linux Primer: A Practical, Real-World Approach»). Если вы не нашли необходимую информацию о книге — напишите в комментариях, мы постараемся отыскать её.

Comprehensive Real-World Guidance for Every Embedded Developer and Engineer This book brings together indispensable knowledge for building efficient, high-value, Linux-based embedded products: information that has never been assembled in one place before. Drawing on years of experience as an embedded Linux consultant and field application engineer, Christopher Hallinan offers solutions for the specific technical issues you're most likely to face, demonstrates how to build an effective embedded Linux environment, and shows how to use it as productively as possible. Hallinan begins by touring a typical Linux-based embedded system, introducing key concepts and components, and calling attention to differences between Linux and traditional embedded environments. Writing from the embedded developer's viewpoint, he thoroughly addresses issues ranging from kernel building and initialization to bootloaders, device drivers to file systems. Hallinan thoroughly covers the increasingly popular BusyBox utilities; presents a step-by-step walkthrough of porting Linux to custom boards; and introduces real-time configuration via CONFIG_RT--one of today's most exciting developments in embedded Linux. You'll find especially detailed coverage of using development tools to analyze and debug embedded systems--including the art of kernel debugging. • Compare leading embedded Linux processors • Understand the details of the Linux kernel initialization process • Learn about the special role of bootloaders in embedded Linux systems, with specific emphasis on U-Boot • Use embedded Linux file systems, including JFFS2--with detailed guidelines for building Flash-resident file system images • Understand the Memory Technology Devices subsystem for flash (and other) memory devices • Master gdb, KGDB, and hardware JTAG debugging • Learn many tips and techniques for debugging within the Linux kernel • Maximize your productivity in cross-development environments • Prepare your entire development environment, including TFTP, DHCP, and NFS target servers • Configure, build, and initialize BusyBox to support your unique requirements

Christopher Hallinan: другие книги автора


Кто написал Embedded Linux Primer: A Practical, Real-World Approach? Узнайте фамилию, как зовут автора книги и список всех его произведений по сериям.

Embedded Linux Primer: A Practical, Real-World Approach — читать онлайн бесплатно полную книгу (весь текст) целиком

Ниже представлен текст книги, разбитый по страницам. Система сохранения места последней прочитанной страницы, позволяет с удобством читать онлайн бесплатно книгу «Embedded Linux Primer: A Practical, Real-World Approach», без необходимости каждый раз заново искать на чём Вы остановились. Поставьте закладку, и сможете в любой момент перейти на страницу, на которой закончили чтение.

Тёмная тема

Шрифт:

Сбросить

Интервал:

Закладка:

Сделать

; 64 MB per Chip, for a total of 128 MB

; arranged as a single "space" (i.e 1 CS)

; with the following configuration:

; 8 Mb x 16 x 4 banks

; Refresh count 8K

; Row addressing: 8K (A0..12) 13 bits

; Column addressing: 1K (A0..9) 10 bits

; Bank Addressing: 4 (BA0..1) 2 bits

; Key Timing Parameters: (-75E)

; Clockrate (CL=2) 133 MHz

; DO Window 2.5 ns

; Access Window: +/- 75 ns

; DQS - DQ Skew: +0.5 ns

; t(REFI): 7.8 us MAX

;

; Initialization Requirements (General Notes)

; The memory Mode/Extended Mode registers must be

; initialized during the system boot sequence. But before

; writing to the controller Mode register, the mode_en and

; cke bits in the Control register must be set to 1. After

; memory initialization is complete, the Control register

; mode_en bit should be cleared to prevent subsequent access

; to the controller Mode register.

; SDRAM init sequence

; 1) Setup and enable chip selects

; 2) Setup config registers

; 3) Setup TAP Delay

; Setup and enable SDRAM CS

WM32 0x80000034 0x0000001a ;SDRAM CS0, 128MB @ 0x00000000

WM32 0x80000038 0x08000000 ;SDRAM CS1, disabled @ 0x08000000

WM32 0x80000108 0x73722930 ;SDRAM Config 1 Samsung

; Assume CL=2

; bits 0-3: srd2rwp: in clocks (0x6)

; bits 507: swt2rwp: in clocks -> Data sheet suggests

; 0x3 for DDR (0x3)

; bits 8-11: rd_latency -> for DDR 0x7

; bits 13-15: act2rw -> 0x2

; bit 16: reserved

; bits 17-19: pre2act -> 0x02

; bits 20-23: ref2act -> 0x09

; bits 25-27: wr_latency -> for DDR 0x03

; bits 28-31: Reserved

WM32 0x8000010c 0x46770000 ;SDRAM Config 2 Samsung

; bits 0-3: brd2rp -> for DDR 0x4

; bits 4-7: bwt2rwp -> for DDR 0x6

; bits 8-11: brd2wt -> 0x6

; bits 12-15: burst_length -> 0x07 (bl - 1)

; bits 16-13: Reserved

; Setup initial Tap delay

WM32 0x80000204 0x18000000 ; Start in the end of the range (24 = 0x18)

Samsung

WM32 0x80000104 0xf10f0f00 ;SDRAM Control (was 0xd14f0000)

; bit 0: mode_en (1=write)

; bit 1: cke (MEM_CLK_EN)

; bit 2: ddr (DDR mode on)

; bit 3: ref_en (Refresh enable)

; bits 4-6: Reserved

; bit 7: hi_addr (XLA[4:7] as row/col

; must be set to '1' 'cuz we need 13 RA bits

; for the Micron chip above

; bit 8: reserved

; bit 9: drive_rule - 0x0

; bit 10-15: ref_interval, see UM 0x0f

; bits 16-19: reserved

; bits 20-23: dgs_oe[3:0] (not sure)

; but I think this is req'd for DDR 0xf

; bits 24-28: Resv'd

; bit 29: 1 = soft refresh

; bit 30 1 = soft_precharge

; bit 31: reserved

WM32 0x80000104 0xf10f0f02 ;SDRAM Control: precharge all

WM32 0x80000104 0xf10f0f04 ;SDRAM Control: refresh

WM32 0x80000104 0xf10f0f04 ;SDRAM Control: refresh

WM32 0x80000100 0x018d0000 ; SDRAM Mode Samsung

; bits 0-1: MEM_MBA - selects std or extended MODE reg 0x0

; bits 2-13: MEM_MA (see DDR DRAM Data sheet)

; bits 2-7: Operating Mode -> 0x0 = normal

; bits 8-10: CAS Latency (CL) -> Set to CL=2 forDDR (0x2)

; bit 11: Burst Type: Sequential for PMC5200 ->0x0

; bits 12-14: Set to 8 for MPC5200 -> 0x3

; bit 15: cmd = 1 for MODE REG WRITE

WM32 0x80000104 0x710f0f00 ;SDRAM Control: Lock Mode Register (was0x514f0000)

; *********** Initialize the serial port ***********

; Pin Configuration

WM32 0x80000b00 0x00008004 ; UART1

; Reset PSC

WM8 0x80002008 0X10 ; Reset - Select MR1

WM16 0x80002004 0 ; Clock Select Register - 0 enables both Rx &

Tx Clocks

WM32 0x80002040 0 ; SICR - UART Mode

WM8 0x80002000 0x13 ; Write MR1 (default after reset)

; 8-bit, no parity

WM8 0x80002000 0x07 ; Write MR2 (after MR1) (one stop bit)

WM8 0x80002018 0x0 ; Counter/Timer Upper Reg (115.2KB)

WM8 0x8000201c 0x12 ; Counter/Timer Lower Reg (divider = 18)

; Reset and enable serial port Rx/Tx

WM8 0x80002008 0x20

WM8 0x80002008 0x30

WM8 0x80002008 0x05

;

; define maximal transfer size

TSZ4 0x80000000 0x80003FFF ;internal registers

;

; define the valid memory map

MMAP 0x00000000 0x07FFFFFF ;Memory range for SDRAM

MMAP 0xFF000000 0xFFFFFFFF ;ROM space

MMAP 0xE00E0000 0xE00EFFFF ; PowerPC Logic

MMAP 0x80000000 0x8fffffff ; Default MBAR

MMAP 0xC0000000 0XCFFFFFFF ; Linux Kernal

[TARGET]

CPUTYPE 5200 ;the CPU type

JTAGCLOCK 0 ;use 16 MHz JTAG clock

WORKSPACE 0x80008000 ;workspace for fast download

WAKEUP 1000 ;give reset time to complete

STARTUP RESET

MEMDELAY 2000 ;additional memory access delay

BOOTADDR 0xfff00100

REGLIST ALL

BREAKMODE SOFT ; or HARD

POWERUP 1000

WAKEUP 500

MMU XLAT

PTBASE 0x000000f0

[HOST]

IP 192.168.1.9

FORMAT ELF

LOAD MANUAL ;load code MANUAL or AUTO after reset

PROMPT uei>

[FLASH]

CHIPTYPE AM29BX16 ;Flash type (AM29F | AM29BX8 | AM29BX16 | I28BX8 |I28BX16)

CHIPSIZE 0x00400000 ;The size of one flash chip in bytes

BUSWIDTH 16 ;The width of the flash memory bus in bits (8 | 16 |32)

WORKSPACE 0x80008000 ;workspace in internal SRAM

FILE u-boot.bin

FORMAT BIN 0xFFF00000

ERASE 0xFFF00000 ;erase a sector of flash

ERASE 0xFFF10000 ;erase a sector of flash

ERASE 0xFFF20000 ;erase a sector of flash

ERASE 0xFFF30000 ;erase a sector of flash

ERASE 0xFFF40000 ;erase a sector of flash

[REGS]

FILE $reg5200.def

Примечания

1

See Appendix A, "GNU Public License," for the complete text of the license.

2

Most professional development managers agree: You can download Linux without charge, but there is a cost (often a substantial one) for development and deployment of any OS on an embedded platform. See Section 1.3.1, "Free Versus Freedom," for a discussion of cost elements.

Читать дальше
Тёмная тема

Шрифт:

Сбросить

Интервал:

Закладка:

Сделать

Похожие книги на «Embedded Linux Primer: A Practical, Real-World Approach»

Представляем Вашему вниманию похожие книги на «Embedded Linux Primer: A Practical, Real-World Approach» списком для выбора. Мы отобрали схожую по названию и смыслу литературу в надежде предоставить читателям больше вариантов отыскать новые, интересные, ещё не прочитанные произведения.


Отзывы о книге «Embedded Linux Primer: A Practical, Real-World Approach»

Обсуждение, отзывы о книге «Embedded Linux Primer: A Practical, Real-World Approach» и просто собственные мнения читателей. Оставьте ваши комментарии, напишите, что Вы думаете о произведении, его смысле или главных героях. Укажите что конкретно понравилось, а что нет, и почему Вы так считаете.