]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - board/freescale/p1010rdb/readme.txt
configs/firefly_rk3288: remove defconfig
[coffee/buildroot.git] / board / freescale / p1010rdb / readme.txt
1 You'll need to program the files created by buildroot into the flash.
2 The fast way is to tftp transfer the files via one of the network interfaces.
3
4 Alternatively you can transfer the files via serial console with an Ymodem
5 file transfer from your terminal program by using a "loady" command
6 from the u-boot prompt instead of the "tftp ..." commands stated below.
7 Beware that serial console file transfers are quite slow!
8
9 1. Program the DTB to NOR flash
10
11     => tftp $loadaddr p1010rdb-pa.dtb
12     => erase 0xee000000 +$filesize
13     => cp.b $loadaddr 0xee000000 $filesize
14
15 2. Program the kernel to NOR flash
16
17     => tftp $loadaddr uImage
18     => erase 0xee080000 +$filesize
19     => cp.b $loadaddr 0xee080000 $filesize
20
21 3. Program the root filesystem to NOR flash
22
23     => tftp $loadaddr rootfs.jffs2
24     => erase 0xee800000 0xeff5ffff
25     => cp.b $loadaddr 0xee800000 $filesize
26
27 4. Booting your new system
28
29     => setenv norboot 'setenv bootargs root=/dev/mtdblock2 rootfstype=jffs2 console=$consoledev,$baudrate;bootm 0xee080000 - 0xee000000'
30
31     If you want to set this boot option as default:
32
33     => setenv bootcmd 'run norboot'
34     => saveenv
35
36     ...or for a single boot:
37
38     => run norboot
39
40     You can login with user "root".