|
Embedded Linux Primer: A Practical, Real-World ApproachIt contains support for the LXT971 Ethernet transceiver, which is also on the EP405. The goal is to minimize any development work by borrowing from others in the spirit of open source. Let's tackle the easy steps first. Copy the board-configuration file to a new file with a name appropriate for your board. We'll call ours EP405.h. These commands are issued from the top-level U-Boot source tree. $ cp .../include/configs/AR405.h .../include/configs/EP405.h Then create the board-specific directory and make a copy of the AR405 board files. We don't know yet whether we need all of them. That step comes later. After copying the files to your new board directory, edit the filenames appropriately for your board name. $ cd board <<< from top level U-Boot source directory $ mkdir ep405 $ cp esd/ar405/* ep405 Now comes the hard part. Jerry Van Baren, a developer and U-Boot contributor, detailed a humorous though realistic process for porting U-Boot in an e-mail posting to the U-Boot mailing list. His complete process, documented in C, can be found in the U-Boot README file ...» | Код для вставки книги в блог HTML
phpBB
текст
|
|