xref: /OK3568_Linux_fs/buildroot/board/freescale/p1025twr/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunThe bootloader is no longer buildable in the latest Freescale/NXP tree or
2*4882a593Smuzhiyunupstream.  As such, retrieve the "Image: SDK V1.2 e500v2 Binary ISO" from
3*4882a593SmuzhiyunNXP downloads and follow the release notes for reflashing.
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunFor programming the kernel and rootfs created by buildroot into the flash.
6*4882a593SmuzhiyunThe fast way is to tftp transfer the files via one of the network interfaces.
7*4882a593SmuzhiyunMake sure your devkit has ipaddr and serverip defined to reach your tftp
8*4882a593Smuzhiyunserver.
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun(Assuming the default u-boot env from NXP)
11*4882a593Smuzhiyun1. Program the DTB to NOR flash
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun    => setenv dtbfile p1025twr.dtb
14*4882a593Smuzhiyun    => run dtbflash
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun2. Program the kernel and rootfs to NOR flash (reusing orignal rootfs
17*4882a593Smuzhiyun   NOR location, as the kernel location is to small)
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun    => tftpboot $loadaddr uImage; protect off 0xeeb80000 +$filesize; erase 0xeeb80000 +$filesize; cp.b $loadaddr 0xeeb80000 $filesize; protect on 0xeeb80000 +$filesize; cmp.b $loadaddr 0xefa80000 $filesize
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun3. Booting your new system
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun    => bootm 0xeeb80000 - 0xefe80000
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun    You can login with user "root".
26