xref: /OK3568_Linux_fs/buildroot/board/freescale/t1040_t2080/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunFor the bootloader, NXP has stablized at SDK2.0 (final release). It is
2*4882a593Smuzhiyunsuggested to download the prebuilt from NXP downloads and follow the
3*4882a593Smuzhiyunrelease notes for reflashing.
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunTo program the kernel and rootfs created by buildroot into the flash. The
6*4882a593Smuzhiyunfast way is to tftp transfer the files via one of the network interfaces.
7*4882a593SmuzhiyunMake sure your devkit has ipaddr, netmask, and serverip defined to reach your
8*4882a593Smuzhiyuntftp server. Verify bootargs are reasonable (console=ttyS0,115200).
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun------------------------------------------------------------------------------
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunDevkit: T1040RDB
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun(Assuming the default u-boot env from NXP)
15*4882a593Smuzhiyun1. Program the DTB to NOR flash
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun    => 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*4882a593Smuzhiyun
19*4882a593Smuzhiyun2. Program the kernel and rootfs to NOR flash
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun    => 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*4882a593Smuzhiyun    => 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*4882a593Smuzhiyun
24*4882a593Smuzhiyun3. Booting your new system
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun    => boot
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun    You can login with user "root".
29*4882a593Smuzhiyun------------------------------------------------------------------------------
30*4882a593Smuzhiyun
31*4882a593SmuzhiyunDevkit: T2080 QDS or RDB
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun(Assuming the default u-boot env from NXP)
34*4882a593Smuzhiyun1. Netboot the kernel/rootfs/dtb
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun    => tftp 0x1000000 uImage && tftp 0x2000000 rootfs.cpio.uboot
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun    RDB => tftp 0x3000000 t2080rdb.dtb
39*4882a593Smuzhiyun     or
40*4882a593Smuzhiyun    QDS => tftp 0x3000000 t2080qds.dtb
41*4882a593Smuzhiyun
42*4882a593Smuzhiyun2. Booting your new system
43*4882a593Smuzhiyun
44*4882a593Smuzhiyun    => bootm 0x1000000 0x2000000 0x3000000
45*4882a593Smuzhiyun
46*4882a593Smuzhiyun    You can login with user "root".
47*4882a593Smuzhiyun
48*4882a593Smuzhiyun3. If flashing is desired, a similar approach to the T1040 can be followed
49*4882a593Smuzhiyun   with updated addresses for the flash layout.  Example is in the NXP default
50*4882a593Smuzhiyun   env.
51*4882a593Smuzhiyun------------------------------------------------------------------------------
52