xref: /openbmc/u-boot/board/varisys/cyrus/README (revision 5f5620ab)
1*87e29878SAndy FlemingRebuilding u-boot for Cyrus
2*87e29878SAndy Fleming
3*87e29878SAndy FlemingThe Cyrus defconfigs are Cyrus_P5020_defconfig and Cyrus_P5040_defconfig.
4*87e29878SAndy Fleming
5*87e29878SAndy FlemingThey currently disable size optimization in order to avoid a relocation
6*87e29878SAndy Flemingbug in some versions of GCC. As the output size is a constant, the size
7*87e29878SAndy Flemingoptimization is not currently important.
8*87e29878SAndy Fleming
9*87e29878SAndy FlemingCyrus boots off a microSD card in a slot on the motherboard. This requires
10*87e29878SAndy Flemingthat the u-boot is built for the Pre-Boot Loader on the P5020/P5040.
11*87e29878SAndy FlemingIn order to reflash u-boot, you must download u-boot.pbl, then write it
12*87e29878SAndy Flemingonto the card. To do that from u-boot:
13*87e29878SAndy Fleming
14*87e29878SAndy Fleming> tftp 1000000 u-boot.pbl
15*87e29878SAndy Fleming> mmc write 1000000 8 672
16*87e29878SAndy Fleming
17*87e29878SAndy FlemingIf you want to do this via a card reader in linux:
18*87e29878SAndy Fleming
19*87e29878SAndy Fleming> dd if=u-boot.pbl of=/dev/sdX bs=512 oseek=8
20