xref: /OK3568_Linux_fs/buildroot/board/freescale/t1040_t2080/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1For the bootloader, NXP has stablized at SDK2.0 (final release). It is
2suggested to download the prebuilt from NXP downloads and follow the
3release notes for reflashing.
4
5To program the kernel and rootfs created by buildroot into the flash. The
6fast way is to tftp transfer the files via one of the network interfaces.
7Make sure your devkit has ipaddr, netmask, and serverip defined to reach your
8tftp server. Verify bootargs are reasonable (console=ttyS0,115200).
9
10------------------------------------------------------------------------------
11
12Devkit: T1040RDB
13
14(Assuming the default u-boot env from NXP)
151. Program the DTB to NOR flash
16
17    => tftpboot $loadaddr t1040d4rdb.dtb; protect off 0xe8800000 +$filesize; erase 0xe8800000 +$filesize; cp.b $loadaddr 0xe8800000 $filesize; protect on 0xe8800000 +$filesize; cmp.b $loadaddr 0xe8800000 $filesize
18
192. Program the kernel and rootfs to NOR flash
20
21    => tftpboot $loadaddr uImage; protect off 0xe8020000 +$filesize; erase 0xe8020000 +$filesize; cp.b $loadaddr 0xe8020000 $filesize; protect on 0xe8020000 +$filesize; cmp.b $loadaddr 0xe8020000 $filesize
22    => tftpboot $loadaddr rootfs.cpio.uboot; protect off 0xe9300000 +$filesize; erase 0xe9300000 +$filesize; cp.b $loadaddr 0xe9300000 $filesize; protect on 0xe9300000 +$filesize; cmp.b $loadaddr 0xe9300000 $filesize
23
243. Booting your new system
25
26    => boot
27
28    You can login with user "root".
29------------------------------------------------------------------------------
30
31Devkit: T2080 QDS or RDB
32
33(Assuming the default u-boot env from NXP)
341. Netboot the kernel/rootfs/dtb
35
36    => tftp 0x1000000 uImage && tftp 0x2000000 rootfs.cpio.uboot
37
38    RDB => tftp 0x3000000 t2080rdb.dtb
39     or
40    QDS => tftp 0x3000000 t2080qds.dtb
41
422. Booting your new system
43
44    => bootm 0x1000000 0x2000000 0x3000000
45
46    You can login with user "root".
47
483. If flashing is desired, a similar approach to the T1040 can be followed
49   with updated addresses for the flash layout.  Example is in the NXP default
50   env.
51------------------------------------------------------------------------------
52