The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / board / freescale / mpc8315erdb / readme.txt
1
2 ******************** WARNING ********************
3 The compiled U-Boot binary is intended for NAND flash only!
4 It won't work for NOR and will brick that bootloader!
5
6 Also don't go playing around with different U-boot versions or flash targets
7 unless you've got the necessary hardware and/or know-how to unbrick your kit.
8
9 2014.04 is known good for NAND.
10 ******************** WARNING ********************
11
12 You'll need to program the files created by buildroot into the flash.
13 The fast way is to tftp transfer the files via one of the network interfaces.
14
15 Alternatively you can transfer the files via serial console with an Ymodem
16 file transfer from your terminal program by using a "loady" command
17 from the u-boot prompt instead of the "tftp ..." commands stated below.
18 Beware that serial console file transfers are quite slow!
19
20 Remember to set the MPC8315ERDB switches to NAND boot if you want to use
21 your newly built U-Boot.
22
23 1. Program the new U-Boot binary to NAND flash (optional)
24     If you don't feel confident upgrading your bootloader then don't do it,
25     it's unnecessary most of the time.
26
27     => tftp $loadaddr u-boot-nand.bin
28     => nand erase 0 0x80000
29     => nand write $loadaddr 0 0x80000 $filesize
30
31 2. Program the kernel to NAND flash
32
33     => tftp $loadaddr uImage
34     => nand erase 0x100000 0x1e0000
35     => nand write $loadaddr 0x100000 0x1e0000
36
37 3. Program the DTB to NAND flash
38
39     => tftp $loadaddr mpc8315erdb.dtb
40     => nand erase 0x2e0000 0x20000
41     => nand write $loadaddr 0x2e0000 0x20000
42
43 4. Program the root filesystem to NAND flash
44
45     => tftp $loadaddr rootfs.jffs2
46     => nand erase 0x400000 0x1c00000
47     => nand write $loadaddr 0x400000 $filesize
48
49 5. Booting your new system
50
51     => setenv nandboot 'setenv bootargs root=/dev/mtdblock3 rootfstype=jffs2 console=$consoledev,$baudrate;nand read $fdtaddr 0x2e0000 0x20000;nand read $loadaddr 0x100000 0x1e0000;bootm $loadaddr - $fdtaddr'
52
53     If you want to set this boot option as default:
54
55     => setenv bootcmd 'run nandboot'
56     => saveenv
57
58     ...or for a single boot:
59
60     => run nandboot
61
62     You can login with user "root".