[1/2] configs: add sample for freescale p1010rdb

Submitted by Gustavo Zacarias on April 19, 2013, 7:13 p.m.


Message ID 1366398788-6575-1-git-send-email-gustavo@zacarias.com.ar
State Accepted
Commit 326c21bcc26954e285eedb6f6945708132d77e19
Headers show

Commit Message

Gustavo Zacarias April 19, 2013, 7:13 p.m.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 board/freescale/p1010rdb/linux-3.8.config | 143 ++++++++++++++++++++++++++++++
 board/freescale/p1010rdb/readme.txt       |  63 +++++++++++++
 configs/freescale_p1010rdb_defconfig      |  32 +++++++
 3 files changed, 238 insertions(+)
 create mode 100644 board/freescale/p1010rdb/linux-3.8.config
 create mode 100644 board/freescale/p1010rdb/readme.txt
 create mode 100644 configs/freescale_p1010rdb_defconfig

Patch hide | download patch | download mbox

diff --git a/board/freescale/p1010rdb/linux-3.8.config b/board/freescale/p1010rdb/linux-3.8.config
new file mode 100644
index 0000000..5cdb413
--- /dev/null
+++ b/board/freescale/p1010rdb/linux-3.8.config
@@ -0,0 +1,143 @@ 
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_HWMON is not set
+# CONFIG_NET_DMA is not set
diff --git a/board/freescale/p1010rdb/readme.txt b/board/freescale/p1010rdb/readme.txt
new file mode 100644
index 0000000..96293b7
--- /dev/null
+++ b/board/freescale/p1010rdb/readme.txt
@@ -0,0 +1,63 @@ 
+******************** WARNING ********************
+The compiled U-Boot binary is intended for NOR flash only!
+It won't work for NAND or SPI and will brick those bootloaders!
+Also don't go playing around with different U-boot versions or flash targets
+unless you've got the necessary hardware and/or know-how to unbrick your kit.
+2012.10 is known good for NOR, but BAD for NAND and SPI.
+******************** WARNING ********************
+You'll need to program the files created by buildroot into the flash.
+The fast way is to tftp transfer the files via one of the network interfaces.
+Alternatively you can transfer the files via serial console with an Ymodem
+file transfer from your terminal program by using a "loady" command
+from the u-boot prompt instead of the "tftp ..." commands stated below.
+Beware that serial console file transfers are quite slow!
+Remember to set the P1010RDB switches to NOR boot if you want to use
+your newly built U-Boot.
+1. Program the new U-Boot binary to NOR flash (optional)
+    If you don't feel confident upgrading your bootloader then don't do it,
+    it's unnecessary most of the time.
+    => tftp $loadaddr u-boot.bin
+    => protect off 0xeff80000 +$filesize
+    => erase 0xeff80000 +$filesize
+    => cp.b $loadaddr 0xeff80000 $filesize
+2. Program the DTB to NOR flash
+    => tftp $loadaddr p1010rdb.dtb
+    => erase 0xee000000 +$filesize
+    => cp.b $loadaddr 0xee000000 $filesize
+3. Program the kernel to NOR flash
+    => tftp $loadaddr uImage
+    => erase 0xee080000 +$filesize
+    => cp.b $loadaddr 0xee080000 $filesize
+4. Program the root filesystem to NOR flash
+    => tftp $loadaddr rootfs.jffs2
+    => erase 0xee800000 0xeff5ffff
+    => cp.b $loadaddr 0xee800000 $filesize
+5. Booting your new system
+    => setenv norboot 'setenv bootargs root=/dev/mtdblock2 rootfstype=jffs2 console=$consoledev,$baudrate;bootm 0xee080000 - 0xee000000'
+    If you want to set this boot option as default:
+    => setenv bootcmd 'run norboot'
+    => saveenv
+    ...or for a single boot:
+    => run norboot
+    You can login with user "root".
diff --git a/configs/freescale_p1010rdb_defconfig b/configs/freescale_p1010rdb_defconfig
new file mode 100644
index 0000000..a36f07c
--- /dev/null
+++ b/configs/freescale_p1010rdb_defconfig
@@ -0,0 +1,32 @@ 
+# Architecture
+# Filesystem
+# BR2_TARGET_ROOTFS_TAR is not set
+# Lock to 3.8 headers to avoid breaking with newer kernels
+# Kernel
+# Serial port config
+# Bootloader