This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubootfororionsocs [2011/07/13 10:53] – 89.234.168.65 | ubootfororionsocs [2011/07/17 15:04] (current) – 82.234.233.9 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== U-Boot support for Orion SoCs |
===== Overview ===== | ===== Overview ===== | ||
- | The Orion family of SoCs includes the following machines: | + | See our [[uboot|U-Boot main page]]. |
- | * Buffalo/ | + | ===== To-do list ===== |
- | * Buffalo/ | + | |
- | * Buffalo/ | + | |
- | * Lacie ED Mini V2 | + | |
- | * Lacie Internet Space V1 (V2 uses kirkwood) | + | |
- | * Lacie 2Big | + | |
- | * Lacie 5Big | + | |
- | * Lacie d2 Network | + | |
- | * Lacie Big Disk Network | + | |
- | * Marvell Orion-2 Development Board, Marvell Orion-VoIP FXO, Marvell Orion-VoIP GE, Marvell Orion-NAS Reference Design, Marvell Orion-1-90 AP GE Reference Design | + | |
- | * Maxtor Shared Storage II | + | |
- | * QNAP TS-109/ | + | |
- | * QNAP TS-409 | + | |
- | * Technologic Systems TS-78xx | + | |
- | ===== The u-boot-lacie git repo ===== | + | * adapt orion5x / edminiv2 |
- | + | * add initial support for net5big | |
- | [[http:// | + | |
- | + | | |
- | | + | |
- | * **testing** is master plus patches that have not yet made it into any custodian' | + | |
- | + | ||
- | WARNING: testing is **// | + | |
- | + | ||
- | ===== Update from LaCie to mainline ===== | + | |
- | + | ||
- | + | ||
- | | + | |
- | | | __ _ / ___(_) ___ | + | |
- | | | | + | |
- | | |___ (_| | |___| | __/ | + | |
- | |_____\__, | + | |
- | | + | |
- | | | | | | __ ) ___ ___ | |_ | + | |
- | | | | |___| _ \ / _ \ / _ \| __| | + | |
- | | |_| |___| |_) | (_) | (_) | |_ | + | |
- | \___/ |____/ \___/ \___/ \__| | + | |
- | ** MARVELL BOARD: ASTON_NS REV: 222 LE | + | |
- | Hold rear button - long : FAIL | + | |
- | + | ||
- | + | ||
- | U-Boot 1.1.4 (Jan 17 2011 - 21:48:29) Marvell version: 3.4.16 | + | |
- | + | ||
- | U-Boot code: 06000000 -> 060701D0 | + | |
- | + | ||
- | Soc: 88F6281 A0 (DDR2) | + | |
- | CPU running @ 800Mhz L2 running @ 400Mhz | + | |
- | SysClock = 200Mhz , TClock = 166Mhz | + | |
- | + | ||
- | DRAM CAS Latency = 3 tRP = 3 tRAS = 9 tRCD=3 | + | |
- | DRAM CS[0] base 0x00000000 | + | |
- | DRAM Total size 256MB 16bit width | + | |
- | [512kB@f8000000] Flash: 512 kB | + | |
- | Addresses 98M - 0M are saved for the U-Boot usage. | + | |
- | Mem malloc Initialization (98M - 97M): Done | + | |
- | | + | |
- | + | ||
- | + | ||
- | CPU : Marvell Feroceon (Rev 1) | + | |
- | + | ||
- | Streaming disabled | + | |
- | Write allocate disabled | + | |
- | + | ||
- | + | ||
- | USB 0: host mode | + | |
- | PEX 0: interface detected no Link. | + | |
- | Net: | + | |
- | Waiting for LUMP (3) | + | |
- | + | ||
- | Abort | + | |
- | no lump receive; continuing | + | |
- | The LaCie stock U-Boot comes with a huge limitation. The boot sequence is hardcoded within the U-Boot binary. At reset, U-Boot reinitialize the boot environment variables with the built-in ones. As a consequence, | + | |
- | + | ||
- | This section present step by step how to update the stock U-Boot with a mainline version. Both a serial or a network console can be used to connect to U-Boot. For this how-to, the netconsole way is preferred because the user don't have to build/buy a serial cable. | + | |
- | + | ||
- | | + | |
- | + | ||
- | $ ./clunc -i < | + | |
- | + | ||
- | | + | |
- | + | ||
- | $ wget ftp:// | + | |
- | + | ||
- | * Configure some U-Boot network environment variables. In the following example, replace '' | + | |
- | + | ||
- | Marvell>> | + | |
- | + | ||
- | * Flash the new U-Boot image. | + | |
- | + | ||
- | Marvell>> | + | |
- | Using egiga0 device | + | |
- | TFTP from server 192.168.0.13; | + | |
- | Filename ' | + | |
- | Load address: 0x2000000 | + | |
- | Loading: ########################################## | + | |
- | done | + | |
- | Bytes transferred = 214220 (344cc hex) | + | |
- | Un-Protect Flash Monitor space | + | |
- | + | ||
- | **Warning** | + | |
- | If U-Boot Endiannes is going to change (LE->BE or BE->LE), Then Env parameters should be overriden.. | + | |
- | Override Env parameters? (y/n) n | + | |
- | Erase 0 - 125 sectors... | + | |
- | ................................................................. | + | |
- | ............................................................. | + | |
- | Copy to Flash... done | + | |
- | Protect Flash Monitor space | + | |
- | + | ||
- | * Restart. | + | |
- | + | ||
- | Marvell>> | + | |
- | + | ||
- | * Install the U-Boot **netconsole** tool. | + | |
- | Note that U-Boot mainline don't provide a magic packet mechanism to configure the IP address. It means that [[CLUNC|clunc]] becomes useless from this point. The netconsole configuration rely on some environment variables: **ipaddr**, **ncip**, **stdin**, **stdout** and **stderr** (for more information, | ||
- | |||
- | * Connect to U-Boot via netconsole and interrupt boot process (Ctrl-C). | ||
- | |||
- | $ ./ | ||
- | | ||
- | U-Boot 2010.12-00216-g5bbbf69 (Jan 24 2011 - 21:38:00) LaCie Network Space v2 | ||
- | | ||
- | SoC: | ||
- | DRAM: 256 MiB | ||
- | SF: Detected MX25L4005A with page size 256, total 512 KiB | ||
- | SF: disable write protection | ||
- | *** Warning - bad CRC, using default environment | ||
- | | ||
- | In: serial | ||
- | Out: | ||
- | Err: | ||
- | Net: | ||
- | 88E1116 Initialized on egiga0 | ||
- | Hit any key to stop autoboot: | ||
- | ns2> | ||
- | |||
===== Links ===== | ===== Links ===== | ||
- | |||
- | * [[http:// | ||
- | * [[http:// | ||
- | * [[http:// | ||
- |