p1010 笔记

Address Start    Address End        Memory type            Attributes
0x0000_0000    0x3fff_ffff                DDR                         1G Cacheable
0xa000_0000     0xdfff_ffff               PCI Express Mem   1G non-cacheable
0xee00_0000     0xefff_ffff               NOR Flash              32M non-cacheable
0xffc2_0000        0xffc5_ffff              PCI IO range           256K non-cacheable
0xffa0_0000        0xffaf_ffff              NAND Flash            1M cacheable
0xffb0_0000        0xffbf_ffff              Board CPLD            1M non-cacheable
0xffd0_0000        0xffd0_3fff           L1 for Stack              16K Cacheable TLB0
F0xffe0_0000      0xffef_ffff             CCSR                        1M non-cacheable

 

Known Software Issues and Limitations
1.  NAND ECC is not supported.
2.  SD interface not supported because of static mux implementation.
 
   P1010RDB Board Bringup, Rev 1.0                Freescale Semiconductor  4-2
3.  Please refer to the pin mux limitations which restricts the peripherals in some modes only.
4.  DDR 16 bit interface is not supported in NAND boot (required for P1014 personality)
If    P1010RDB is booted with NAND boot in P1014 mode, it will work with all the P1014
features except that the DDR will not get configured in 16bit mode.
5.  USB-ULPI is not supported

 

1.  Mount the ISO image on your machine:
$ sudo mount –o loop QorIQ_SDK_V1_01_20110709_systembuilder.iso
/mnt/cdrom
2.  As a non-root user, install the System Builder:
/mnt/cdrom/install

2.2.1  Setup Host Environment 
1. $ cd <systembuilder_install_path>
2.  Run the preparation script:  
For Ubuntu8.04:
        $ ./scripts/ubuntu804-oe.sh
For Ubuntu9.10 and Ubuntu 10.04:
       $ ./scripts/ubuntu-oe.sh
For RHEL 5 and CentOS 5:
       $ ./scripts/rhel5-oe.sh

2.2.2  Create a PDK project  
 1. $ cd  <system_builder_installation_path>
 2. $ ./scripts/create-config.py --config-file=fsl-<bsp>/sample-create-config.ini -j 4 -t 2
For this SDK release, <bsp> can be set as the following:
mpc8572ds, p1010rdb, p1022ds, p1024rdb, p1025rdb, p2020ds, p1020mbg, p1020utm, p2020rdb,
p1021rdb, p1020rdb

2.2.3  Setup cross-compile environment and build images
1  $ cd <system_builder_installation_path>
2.  Load bitbake.rc to setup your shell environment for bitbake. You must load the environment file
before building a project. Use the appropriate command for your shell to load a file into the
environment. For example, in bash shell:
   $ source build_<bsp>_release/bitbake.rc
3.  $ bitbake devel-image

2.   Create a new custom collection, for example, mycollection.
$ mkdir –p mycollection/recipes/u-boot
3.  Add the amend.inc file to the collection.
$ echo "UBOOT_MACHINE = \"<validvalue>_config\"" >
mycollection/recipes/u-boot/amend.inc
Note: Refer the u-boot configuration from START_HERE.
4.  Update the project configuration .
$ ./scripts/create-config.py --config-file=fsl-<bsp>/sample-create-config.ini --override-collection mycollection -j 4 -t 2
As the project folder already exists, you will be prompted as following.
Directory build_<bsp>_release already exists! Overwrite files and continue anyway?
[y/n]
Enter ‘y’ or ‘Y’ to continue. 
5.  Clean up the existing U-BOOT work area and rebuild it U-BOOT
   $ bitbake -c clean u-boot
   $ bitbake u-boot

2.2.5  Configure and rebuild Kernel
1.  $ cd <system_builder_installation_path>
2.  Get a new and clean kernel tree.
$ bitbake -c configure -f virtual/kernel
3.  Configure Kernel as follows:
$ bitbake -c menuconfig virtual/kernel

2.  Create a new custom collection, for example mycollection and put the updated defconfig to
mycollection/recipes/linux/files directory
$ mkdir –p mycollection/recipes/linux/files
$ cp defconfig mycollection/recipes/linux/files
NOTE: Existing kernel configuration files are in <systembuilder_install_path>/<Kernel-
Common-Collection-Dir>/recipes/linux/.
$ ./scripts/create-config.py --config-file=fsl-<bsp>/sample-create-config.ini --override-collection mycollection -j 4 -t 2

 

[root@P1010RDB root]# cat /proc/mtd
[root@P1010RDB root]# flash_eraseall -j /dev/mtd8
[root@P1010RDB root]# mount -t jffs2 /dev/mtdblock8 /mnt/
 
 

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值