This is an old revision of the document!
PCB | 2Big-NAS-V2R |
---|---|
1108 150 Rev B2 | |
PLD | CPLD rev7 20120320 |
Func | Designator | Description | Part | Notes |
---|---|---|---|---|
CPU | IC23 | Marvell Kirkwood 88F6282 | 88F6282A1C200 | |
ROM | IC15 | 4Gb (512Mx8) NAND Flash | HY27UF084G2B-TPCB | |
RAM | IC4,18 | 1Gb (128Mx8) DDR3 DRAM | K4B1G0846G-BCH9 | as 128Mx16 |
RTC | IC28? | Maxim DS1337 | DS1337 | |
NIC | IC3 | Marvell Alaska 88E1518 GbE transceiver | 88E1518-NNB2 | |
eSATA | IC16 | JMicron JMB360 PCIe to SATA II Host Controller | JMB360 | |
PLD | IC24 | Altera MAX EPM3064A PLD | EPM3064ATC100-7N / EPM3064ATI100-10N | |
E2 | IC2 | 8Kb (1Kx8) I2C EEPROM | HT24LC08 | |
REG | IC17,19 | MPS MP2365 3A Buck Regulator, 1.4MHz | MP2365 | |
REG | IC22 | Marvell 88PG847B 4.5A Current-Limited Buck Regulator, 1MHz | 88PG847B | |
REG | IC34 | TI TPS51100 3A DDR Termination Regulator | TPS51100 |
J2 | JTAG & UART | |
---|---|---|
1 | 3V3 | |
2 | GND | |
3 | TMS | IC24-15 |
4 | TCK | IC24-62 |
5 | TDO | IC24-73 |
6 | TDI | IC24-4 |
7 | RX | IC23-? |
8 | TX | IC23-? |
JTAG ↔ EPM3064A PLD
UART ↔ 88F6282 CPU
Serial Console Boot: _ ____ _ | | __ _ / ___(_) ___ | | / _V | | | |/ _ \ | |__ | (_| | |___| | __/ |____| \__,_|\____|_|\___| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: L2BIG_DDR3 REV: 1 LE Hold front button - long : FAIL U-Boot 1.1.4 (Mar 21 2012 - 11:02:55) Marvell version: 3.5.9 LaCie 2.0.6 U-Boot code: 06000000 -> 0607FFF0 BSS: -> 060D14C0 Soc: 88F6282 A1CPU running @ 2000Mhz L2 running @ 500Mhz SysClock = 500Mhz , TClock = 200Mhz DRAM (DDR3) CAS Latency = 7 tRP = 8 tRAS = 20 tRCD=8 DRAM CS[0] base 0x00000000 size 256MB DRAM Total size 256MB 16bit width Addresses 98M - 0M are saved for the U-Boot usage. Mem malloc Initialization (98M - 97M): Done NAND:512 MB Flash: 0 kB CPU : Marvell Feroceon (Rev 1) Streaming disabled Write allocate disabled USB 0: host mode PEX 0: PCI Express Root Complex Interface PEX interface detected Link X1 PEX 1: interface detected no Link. SCSI: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: 64bit ncq pm led clo pmp pio slum part scanning bus for devices... Invaild port number 2 Invaild port number 3 Net: egiga0 [PRIME] egiga0 no link Waiting for LUMP (3) no lump receive; continuing Hit any key to stop autoboot: 0 Reset IDE: Marvell Serial ATA Adapter Marvell Serial ATA Adapter Integrated Sata device found PCIe SATA:ffffffff Booting Nexus layout from disk 0... ** Bad partition 3 ** Booting Nexus layout from disk 1... ** Bad partition 3 ** Booting Nexus rescue from NAND... Loading from NAND 512MB 3,3V 8-bit, offset 0x100000 Reading data from 0x100000 -- 100% complete. Image Name: Linux-2.6.31.14-svn7170 Created: 2012-04-06 17:10:52 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 8755908 Bytes = 8.4 MB Load Address: 00008000 Entry Point: 00008000 Reading data from 0x959800 -- 100% complete. ## Booting image at 00800000 ... Image Name: Linux-2.6.31.14-svn7170 Created: 2012-04-06 17:10:52 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 8755908 Bytes = 8.4 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK bootargs from environment variables : button=0 bootfail=1 console=ttyS0,115200 root=/dev/mtdblock2 cap=gpt,lba64 Starting kernel ... Uncompressing Linux.............................................................................................. ................................................................................................................. ................................................................................................................. ...................................... done, booting the kernel. [ 0.000000] Linux version 2.6.31.14-svn7170 (root@sbs2_node0.lacie.com) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #1 Fri Apr 6 17:10:41 UTC 2012 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: nas2big [ 0.000000] Using UBoot passing parameters structure [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: button=0 bootfail=1 console=ttyS0,115200 root=/dev/mtdblock2 cap=gpt,lba64 [ 0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Memory: 256MB = 256MB total [ 0.000000] Memory: 248192KB available (10860K code, 370K data, 140K init, 0K highmem) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:128 [ 21.474960] Console: colour dummy device 80x30 [ 21.474985] Calibrating delay loop... 1998.84 BogoMIPS (lpj=9994240) [ 21.744937] Mount-cache hash table entries: 512 [ 21.745200] CPU: Testing write buffer coherency: ok [ 21.746783] NET: Registered protocol family 16 [ 21.748691] Feroceon L2: Enabling L2 [ 21.748723] Feroceon L2: Cache support initialised. [ 21.749092] [ 21.749095] CPU Interface [ 21.749098] ------------- [ 21.749102] SDRAM_CS0 ....base 00000000, size 256MB [ 21.749110] SDRAM_CS1 ....disable [ 21.749114] SDRAM_CS2 ....disable [ 21.749119] SDRAM_CS3 ....disable [ 21.749123] PEX0_MEM ....base e8000000, size 128MB [ 21.749131] PEX0_IO ....base f2000000, size 1MB [ 21.749139] INTER_REGS ....base f1000000, size 1MB [ 21.749145] NFLASH_CS ....base fa000000, size 2MB [ 21.749153] SPI_CS ....base f4000000, size 16MB [ 21.749163] BOOT_ROM_CS ....no such [ 21.749174] DEV_BOOTCS ....no such [ 21.749187] CRYPT_ENG ....base f0000000, size 2MB [ 21.749200] [ 21.749201] Marvell Development Board (LSP Version KW_LSP_5.0.3)-- net2big_v2 Soc: MV88F1155 Rev 1 LE [ 21.749212] [ 21.749215] Detected Tclk 200000000 and SysClk 500000000 [ 21.750363] Register Marvell USB EHCI Host controller #0 [ 21.751109] Kirkwood PCIe port 0: [ 21.751114] link up [ 21.751117] Kirkwood PCIe port 1: [ 21.751121] link down, ignoring [ 21.751125] PCI: bus0 uses PCIe port 0 [ 21.751425] pci 0000:00:01.0: PME# supported from D3hot [ 21.751433] pci 0000:00:01.0: PME# disabled [ 21.751464] PCI: bus0: Fast back to back transfers disabled [ 21.757510] bio: create slab <bio-0> at 0 [ 21.757788] SCSI Scattered Spinup: Enabled [ 21.757794] o Maximum Disk Spinup: 1 [ 21.757798] o Disk Spinup timeout: 10 [ 21.758178] SCSI subsystem initialized [ 21.759798] NET: Registered protocol family 2 [ 21.759874] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [ 21.760042] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 21.760235] TCP bind hash table entries: 8192 (order: 3, 32768 bytes) [ 21.760334] TCP: Hash tables configured (established 8192 bind 8192) [ 21.760340] TCP reno registered [ 21.760408] NET: Registered protocol family 1 [ 21.764882] Switched to NOHz mode on CPU #0 [ 22.012486] cpufreq: Init kirkwood cpufreq driver [ 22.013023] gpio-hd-power gpio-hd-power: GPIO Hard Disk power device initialized [ 22.013133] gpio-usb gpio-usb: USB GPIO's initialized [ 22.014474] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 22.014492] Registering unionfs 2.5.10 (for 2.6.31.14) [ 22.014688] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 22.015373] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 22.015719] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled [ 22.016042] SGI XFS Quota Management subsystem [ 22.016065] msgmni has been set to 485 [ 22.016154] alg: No test for cipher_null (cipher_null-generic) [ 22.016203] alg: No test for ecb(cipher_null) (ecb-cipher_null) [ 22.016245] alg: No test for digest_null (digest_null-generic) [ 22.016287] alg: No test for compress_null (compress_null-generic) [ 22.021424] alg: No test for stdrng (krng) [ 22.082012] alg: No test for hmac(digest_null) (hmac(digest_null-generic)) [ 22.110582] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 22.110593] io scheduler noop registered [ 22.110598] io scheduler anticipatory registered (default) [ 22.110603] io scheduler deadline registered [ 22.110638] io scheduler cfq registered [ 22.121097] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 22.121840] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A [ 22.121858] console [ttyS0] enabled [ 22.565637] brd: module loaded [ 22.569142] sata_mv sata_mv.0: version 1.28 [ 22.573463] sata_mv sata_mv.0: slots 32 ports 2 [ 22.578495] scsi0 : sata_mv [ 22.581605] scsi1 : sata_mv [ 22.584603] ata1: SATA max UDMA/133 irq 21 [ 22.588755] ata2: SATA max UDMA/133 irq 21 [ 22.593044] PCI: enabling device 0000:00:01.0 (0146 -> 0147) [ 22.598822] ahci 0000:00:01.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode [ 22.606965] ahci 0000:00:01.0: flags: 64bit ncq pm led clo pmp pio slum part [ 22.614563] scsi2 : ahci [ 22.617352] ata3: SATA max UDMA/133 abar m512@0xe0010000 port 0xe0010100 irq 9 [ 22.624760] INIT Marvell Ethernet Driver: mv_netdev [ 22.629841] Loading Marvell Ethernet Driver: [ 22.634131] o Cached descriptors in DRAM [ 22.638257] o DRAM SW cache-coherency [ 22.642108] o 2 Giga ports supported [ 22.645874] o Single RX Queue support - ETH_DEF_RXQ=0 [ 22.651116] o Single TX Queue support - ETH_DEF_TXQ=0 [ 22.656362] o TCP segmentation offload (TSO) supported [ 22.661694] o Large Receive offload (LRO) supported [ 22.666764] o Receive checksum offload supported [ 22.671573] o Transmit checksum offload supported [ 22.676470] o Network Fast Processing (Routing) supported - (Disabled) [ 22.683197] o Proc tool API enabled [ 22.686873] o SKB Reuse supported - (Disabled) [ 22.691508] o SKB Recycle supported - (Disabled) [ 22.696316] o Rx descripors: q0=128 [ 22.700009] o Tx descripors: q0=532 [ 22.703699] o Loading network interface(s): [ 22.709012] o register under mv_netdev platform [ 22.714541] o eth0, ifindex = 2, GbE port = 0 [ 22.719295] [ 22.719297] Warning: Giga 1 is Powered Off [ 22.724902] [ 22.726410] mvFpRuleDb (ce58a000): 2048 entries, 8192 bytes [ 22.732148] console [netcon0] enabled [ 22.735837] netconsole: network logging started [ 22.740982] NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit) [ 22.749475] Scanning device for bad blocks [ 23.006107] Creating 4 MTD partitions on "orion_nand": [ 23.011265] 0x000000000000-0x000000100000 : "u-boot" [ 23.016827] 0x000000100000-0x000001100000 : "uImage" [ 23.022222] 0x000001100000-0x000009100000 : "root" [ 23.027512] 0x000009100000-0x000020000000 : "unused" [ 23.033682] mice: PS/2 mouse device common for all mice [ 23.039195] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 23.046707] at24 0-0050: 512 byte 24c04 EEPROM (writable) [ 23.053887] rtc-ds1307 0-0068: rtc core: registered ds1337 as rtc0 [ 23.060420] g762 0-003e: device successfully initialized [ 23.065980] gpio-fan gpio-fan: GPIO fan initialized [ 23.071618] cpuidle: using governor ladder [ 23.076018] cpuidle: using governor menu [ 23.080227] Registered led device: net2big-v2:blue:power [ 23.085675] Registered led device: net2big-v2:red:power [ 23.091007] Registered led device: net2big-v2:blue:sata0 [ 23.096470] Registered led device: net2big-v2:red:sata0 [ 23.101811] Registered led device: net2big-v2:blue:sata1 [ 23.107257] Registered led device: net2big-v2:red:sata1 [ 23.112599] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver [ 23.119033] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver [ 23.125501] ata1: SATA link down (SStatus 0 SControl F300) [ 23.131121] ata3: SATA link down (SStatus 0 SControl 300) [ 23.174887] mv_xor mv_xor.0: Marvell XOR: ( xor cpy ) [ 23.214881] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy ) [ 23.254881] mv_xor mv_xor.2: Marvell XOR: ( xor cpy ) [ 23.294881] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy ) [ 23.300744] TCP cubic registered [ 23.303985] NET: Registered protocol family 17 [ 23.308524] Bridge firewalling registered [ 23.312550] NET: Registered protocol family 5 [ 23.317083] RPC: Registered udp transport module. [ 23.321807] RPC: Registered tcp transport module. [ 23.328128] rtc-ds1307 0-0068: setting system clock to 2013-06-06 00:40:24 UTC (1370479224) [ 23.474877] ata2: SATA link down (SStatus 0 SControl F300) [ 23.480420] Freeing init memory: 140K [ 23.484474] Freeing initramfs memory: 5872K init started: BusyBox v1.19.2 (2012-04-06 16:52:36 UTC) ==== Initializing system base ______ _____ _____ _____ _ _ _____ | ___ \ ___/ ___/ __ \ | | | ___| | |_/ / |__ \ `--.| / \/ | | | |__ | /| __| `--. \ | | | | | __| | |\ \| |___/\__/ / \__/\ |_| | |___ \_| \_\____/\____/ \____/\___/\____/ /sbin/gen-api-xml: line 28: can't create /www/api/external/system_info: nonexistent directory Starting 'S00modules'... [ 23.777385] md: linear personality registered for level -1 [ 23.794715] md: raid0 personality registered for level 0 [ 23.814959] md: raid1 personality registered for level 1 [ 23.835014] md: raid10 personality registered for level 10 [ 24.015039] raid6: int32x1 123 MB/s [ 24.185042] raid6: int32x2 170 MB/s [ 24.354915] raid6: int32x4 192 MB/s [ 24.525079] raid6: int32x8 224 MB/s [ 24.528839] raid6: using algorithm int32x8 (224 MB/s) [ 24.537092] xor: measuring software checksum speed [ 24.584865] arm4regs : 1819.200 MB/sec [ 24.634864] 8regs : 1091.600 MB/sec [ 24.684862] 32regs : 1408.800 MB/sec [ 24.689060] xor: using function: arm4regs (1819.200 MB/sec) [ 24.698780] async_tx: api initialized (async) [ 24.721205] md: raid6 personality registered for level 6 [ 24.726594] md: raid5 personality registered for level 5 [ 24.731928] md: raid4 personality registered for level 4 OK Starting 'S20buttons-manager'... OK Starting 'S30klaxon'... OK Starting 'S70klaxon_env'... OK Starting 'S80driveplug'... OK Please press Enter to activate this console. BusyBox v1.19.2 (2012-04-06 16:52:36 UTC) built-in shell (ash) Enter 'help' for a list of built-in commands. Hi there, You are now in the Rescue. If you want to : 1/ Reset your counter, invoke "reset_boot_count" sh: rescue.jeeves.bootfrom: unknown operand 2/ Repair your product (will erase both rootfs bank), invoke "update " 3/ Wipe your drive (will totally wipe the drive), invoke "wipe " 4/ Mount the user data, invoke "mount_user_data mount" Then reboot your product. NASRescue / #
U-Boot 2013.04 (Jun 12 2013 - 22:55:24) 2Big NAS SoC: Kirkwood 88F6282_?? DRAM: 256 MiB WARNING: Caches not enabled NAND: 512 MiB SF: Unsupported manufacturer 00 *** Warning - spi_flash_probe() failed, using default environment In: serial Out: serial Err: serial Error: unknown version 4 for EEPROM data Net: egiga0 Warning: failed to set MAC address PHY reset timed out Hit any key to stop autoboot: 0 2bigNAS>
2bigNAS> i2c probe Valid chip addresses: 3E 50 51 52 53 64 68
Address | Part | Description |
---|---|---|
0x3E | G762 | Fan controller |
0x50 - 0x53 | HT24LC08 | 1KB EEPROM |
0x64 | Debug Port/Serial ROM ? | |
0x68 | DS1337 | RTC |
Offset | Size | Value | Description |
---|---|---|---|
0x000 | 1 | 0x00 | |
0x001 | 1 | 0x04 | EEPROM version |
0x002 | 6 | unique | MAC address; big endian |
0x008 | 6 ? | 0xFF | |
0x00E | 1 ? | 0x01 | |
0x00F | 74 ? | ASCII | Text |
0x0C5 | 1 ? | 0x01 | hmmm… |
Remainder | 0xFF |
2bigNAS> i2c read 0x50 0x0 0x100 0x800000 2bigNAS> i2c read 0x51 0x0 0x100 0x800100 2bigNAS> i2c read 0x52 0x0 0x100 0x800200 2bigNAS> i2c read 0x53 0x0 0x100 0x800300 2bigNAS> md.b 0x800000 0x400 00800000: 00 04 My MA CA dd re ss ff ff ff ff ff ff 01 53 ...............S 00800010: 6c 65 65 70 20 6d 6f 64 65 20 64 69 73 61 62 6c leep mode disabl 00800020: 65 64 0a 53 65 74 20 6c 65 64 20 6d 6f 64 65 3a ed.Set led mode: 00800030: 20 73 79 73 74 65 6d 5f 6f 66 66 0a 53 65 74 20 system_off.Set 00800040: 6c 65 64 20 6d 6f 64 65 3a 20 73 79 73 74 65 6d led mode: system 00800050: 5f 73 74 61 72 74 75 70 0a ff ff ff ff ff ff ff _startup........ 00800060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 00800070: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 00800080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 00800090: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 008000a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 008000b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 008000c0: ff ff ff ff ff 01 ff ff ff ff ff ff ff ff ff ff ................ 008000d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 008000e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 008000f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ : : : : : : : : : 008003c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 008003d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 008003e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 008003f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
Sheeva CPU core has 13 address windows:
Desc | Size | Base | Notes | Num | State |
---|---|---|---|---|---|
SDRAM CS0 | 256MB | 0x00000000 | dis | ||
SDRAM CS1 | 256MB | 0x10000000 | dis | ||
SDRAM CS2 | 256MB | 0x20000000 | dis | ||
SDRAM CS3 | 256MB | 0x30000000 | dis | ||
PEX0 MEM | 128M | 0x90000000 | 0 | en | |
PEX1 MEM | 128M | 0x98000000 | 6282 only | 1 | en |
PEX0 I/O | 16M | 0xF0000000 | 2 | en | |
INTER REGS | 1M? | 0xF1000000 | 8 | en | |
PEX1 I/O | 16M | 0xF2000000 | 6282 only | 3 | en |
DEVICE CS2 | 1M | 0xF4000000 | Boot ROM | 9 | dis |
DEVICE CS1 | 16M | 0xF8000000 | SPI | 5 | en |
DEVICE CS0 | 8M | 0xF9000000 | NAND | 4 | en |
CRYPT ENG | 64K | 0xFB000000 | 7 | en | |
DEVICE CS3 | 16M | 0xFF000000 | Boot device | 0xA | dis |
* from func. spec. *
reserved | 0xA0000000 - 0xBFFFFFFF | |
PCIe I/O | 64KB | 0xC0000000 - 0xC000FFFF |
reserved | 0xC0010000 - 0xC001FFFF | |
reserved | 0xC0020000 - 0xC800FFFF | |
Security SRAM | 64KB (2KB) | 0xC8010000 - 0xC801FFFF |
reserved | 0xC8020000 - 0xCFFFFFFF | |
Internal Registers | 1MB | 0xD0000000 - 0xD00FFFFF |
reserved | 0xD0100000 - 0xD7FFFFFF | |
NAND Flash | 128MB | 0xD8000000 - 0xDFFFFFFF |
reserved | 0xE0000000 - 0xE7FFFFFF | |
SPI Flash | 128MB | 0xE8000000 - 0xEFFFFFFF |
BootROM | 128MB | 0xF0000000 - 0xF7FFFFFF |
Boot device | 128MB | 0xF8000000 - 0xFFFFFFFF |
Bloody hell…
= Trying to find ENV in NAND =
I think it uses /* Use the new NAND code. */ in mv_kw.h And it also #undef CFG_ENV_IS_IN_FLASH which is interesting... Think only need ENV_SIZE and ENV_OFFSET when in NAND
#define CFG_ENV_OFFSET 0xA0000 (640 << 10) /* environment starts here */ #define CFG_ENV_SECT_SIZE 0x20000 (128 << 10) /* environment take 1 block */ #define CFG_ENV_SIZE 0x20000 (CFG_ENV_SECT_SIZE) /* environment take 1 block */ #define CFG_NBOOT_BASE 0 #define CFG_NBOOT_LEN 0x01000 (4 << 10) /* Reserved 4KB for boot strap */ #define CFG_MONITOR_LEN 0xA0000 (640 << 10) /* Reserve 4 * 128KB + ENV = 640KB for Monitor */ #define CFG_MONITOR_BASE 0 #define CFG_MONITOR_IMAGE_OFFSET 0 /* offset of the monitor from the u-boot image */ #define CFG_MONITOR_IMAGE_DST 0x60000?(TEXT_BASE) /* Load NUB to this addr */ #define CFG_ENV_ADDR 0xA0000 (CFG_ENV_OFFSET)
./tools/doimage -T nand -D 0x06000000 -E 0x6070000 -P 2048 -R dramregs_533ddr3_2big_A.txt u-boot-nas2big-revB-2.0.7.bin u-boot-nas2big-revB-2.0.7-nand.kwb