xref: /rk3399_rockchip-uboot/board/dbau1x00/README (revision 14d0a02a168b36e87665b8d7f42fa3e88263d26d)
14cfaf55eSwdenkBy Thomas.Lange@corelatus.se 2004-Oct-05
25da627a4Swdenk----------------------------------------
34cfaf55eSwdenkDbAu1xx0 are development boards from AMD containing
44cfaf55eSwdenkan Alchemy AU1xx0 series cpu with mips32 core.
54cfaf55eSwdenkExisting cpu:s are Au1000, Au1100, Au1500 and Au1550
65da627a4Swdenk
75da627a4SwdenkLimitations & comments
85da627a4Swdenk----------------------
94cfaf55eSwdenkSupport was originally big endian only.
104cfaf55eSwdenkI have not tested, but several u-boot users report working
114cfaf55eSwdenkconfigurations in little endian mode.
125da627a4Swdenk
135da627a4SwdenkI named the board dbau1x00, to allow
145da627a4Swdenksupport for all three development boards
154cfaf55eSwdenk( dbau1000, dbau1100 and dbau1500 ).
164cfaf55eSwdenkNow there is a new board called dbau1550 also, which
174cfaf55eSwdenkshould be supported RSN.
185da627a4Swdenk
194cfaf55eSwdenkI only have a dbau1000, so my testing is limited
204cfaf55eSwdenkto this board.
215da627a4Swdenk
225da627a4SwdenkThe board has two different flash banks, that can
235da627a4Swdenkbe selected via dip switch. This makes it possible
245da627a4Swdenkto test new bootloaders without thrashing the YAMON
254cfaf55eSwdenkboot loader delivered with board.
264cfaf55eSwdenk
274cfaf55eSwdenkNOTE! When you switch between the two boot flashes, the
284cfaf55eSwdenkbase addresses will be swapped.
29*14d0a02aSWolfgang DenkHave this in mind when you compile u-boot. CONFIG_SYS_TEXT_BASE has
304cfaf55eSwdenkto match the address where u-boot is located when you
314cfaf55eSwdenkactually launch.
325da627a4Swdenk
335da627a4SwdenkEthernet only supported for mac0.
345da627a4Swdenk
354cfaf55eSwdenkPCMCIA only supported for slot 0, only 3.3V.
365da627a4Swdenk
374cfaf55eSwdenkPCMCIA IDE tested with Sandisk Compact Flash and
385da627a4SwdenkIBM microdrive.
395da627a4Swdenk
405da627a4Swdenk###################################
415da627a4Swdenk########     NOTE!!!!!!   #########
425da627a4Swdenk###################################
435da627a4SwdenkIf you partition a disk on another system (e.g. laptop),
445da627a4Swdenkall bytes will be swapped on 16bit level when using
454cfaf55eSwdenkPCMCIA and running cpu in big endian mode!!!!
465da627a4Swdenk
475da627a4SwdenkThis is probably due to an error in Au1000 chip.
485da627a4Swdenk
495da627a4SwdenkSolution:
505da627a4Swdenk
515da627a4Swdenka) Boot via network and partition disk directly from
525da627a4Swdenkdbau1x00. The endian will then be correct.
535da627a4Swdenk
545da627a4Swdenkb) Partition disk on "laptop" and fill it with all files
555da627a4Swdenkyou need. Then write a simple program that endian swaps
565da627a4Swdenkwhole disk,
575da627a4Swdenk
585da627a4SwdenkExample:
595da627a4SwdenkOriginal "laptop" byte order:
605da627a4SwdenkB0 B1 B2 B3 B4 B5 B6 B7 B8 B9...
615da627a4Swdenk
625da627a4SwdenkDbau1000 byte order will then be:
635da627a4SwdenkB1 B0 B3 B2 B5 B4 B7 B6 B9 B8...
64