Commit 78c3a18d3f8c233d7ea605051d62f8276fd7ad94

Authored by 장형기
1 parent ddff1e8910
Exists in master and in 2 other branches fhd, fhd-demo

uboot

bootloader/u-boot_2015_04/include/configs/mx6s_prime_oven.h
@@ -185,9 +185,10 @@ @@ -185,9 +185,10 @@
185 "loadaddr=0x12000000\0" \ 185 "loadaddr=0x12000000\0" \
186 "boot_fdt=try\0" \ 186 "boot_fdt=try\0" \
187 "bootdelay=1\0" \ 187 "bootdelay=1\0" \
188 - "bootargs=console=ttymxc0,115200 root=/dev/ram0 rw --no-log initrd=0x1E000000,32M ramdisk=65536 video=${video_lvds} ${video_vmalloc} eth0ip=${ipaddr} eth0netmask=${netmask} eth0gw=${gatewayip} ${arg_option} autorun=${autoexec}\0" \  
189 - "bootargs_ram=setenv bootargs console=ttymxc0,115200 root=/dev/ram0 rw --no-log initrd=0x1E000000,32M ramdisk=65536 ${video_lvds} ${video_vmalloc} eth0ip=${ipaddr} eth0netmask=${netmask} eth0gw=${gatewayip} ${arg_option} autorun=${autoexec}\0" \  
190 - "bootargs_mmc=setenv bootargs console=ttymxc0,115200 root=/dev/mmcblk3p2 rw --no-log rootfstype=ext4 rootdelay=5 rootwait ${video_lvds} ${video_vmalloc} eth0ip=${ipaddr} eth0netmask=${netmask} eth0gw=${gatewayip} ${arg_option} autorun=${autoexec}\0" \ 188 + "ramargs=console=ttymxc0,115200 root=/dev/ram0 rw --no-log initrd=0x1E000000,32M ramdisk=65536\0" \
  189 + "mmcargs=console=ttymxc0,115200 root=/dev/mmcblk3p2 rw --no-log rootfstype=ext4 rootdelay=5 rootwait\0" \
  190 + "bootargs_ram=setenv bootargs ${ramargs} ${video_lvds} ${video_vmalloc} eth0ip=${ipaddr} eth0netmask=${netmask} eth0gw=${gatewayip} ${arg_option} autorun=${autoexec}\0" \
  191 + "bootargs_mmc=setenv bootargs ${mmcargs} ${video_lvds} ${video_vmalloc} eth0ip=${ipaddr} eth0netmask=${netmask} eth0gw=${gatewayip} ${arg_option} autorun=${autoexec}\0" \
191 "ethaddr=00:FA:15:12:02:02\0" \ 192 "ethaddr=00:FA:15:12:02:02\0" \
192 "eth1addr=00:FA:15:12:02:04\0" \ 193 "eth1addr=00:FA:15:12:02:04\0" \
193 "serverip=192.168.10.131\0" \ 194 "serverip=192.168.10.131\0" \
@@ -209,7 +210,7 @@ @@ -209,7 +210,7 @@
209 "uboot=tftpboot 0x12000000 ${tftpbase}/${uboot_file}; mmc dev ${mmcdev}; mmc write 0x12000000 2 500; if ext4ls mmc ${mmcdev}:1 boot; then ext4writ mmc ${mmcdev}:1 0x12000000 /boot/${uboot_file} ${filesize}; fi;\0" \ 210 "uboot=tftpboot 0x12000000 ${tftpbase}/${uboot_file}; mmc dev ${mmcdev}; mmc write 0x12000000 2 500; if ext4ls mmc ${mmcdev}:1 boot; then ext4writ mmc ${mmcdev}:1 0x12000000 /boot/${uboot_file} ${filesize}; fi;\0" \
210 "kernel=tftpboot 0x12000000 ${tftpbase}/${kernel_file}; mmc dev ${mmcdev}; mmc write 0x12000000 3000 3800; if ext4ls mmc ${mmcdev}:1 boot; then ext4write mmc ${mmcdev}:1 0x12000000 /boot/${kernel_file} ${filesize}; fi;\0" \ 211 "kernel=tftpboot 0x12000000 ${tftpbase}/${kernel_file}; mmc dev ${mmcdev}; mmc write 0x12000000 3000 3800; if ext4ls mmc ${mmcdev}:1 boot; then ext4write mmc ${mmcdev}:1 0x12000000 /boot/${kernel_file} ${filesize}; fi;\0" \
211 "dtb=tftpboot 0x11F00000 ${tftpbase}/${dtb_file}; mmc dev ${mmcdev}; mmc write 0x11F00000 2C00 400; if ext4ls mmc ${mmcdev}:1 boot; then ext4write mmc ${mmcdev}:1 0x11F00000 /boot/${dtb_file} ${filesize}; fi;\0" \ 212 "dtb=tftpboot 0x11F00000 ${tftpbase}/${dtb_file}; mmc dev ${mmcdev}; mmc write 0x11F00000 2C00 400; if ext4ls mmc ${mmcdev}:1 boot; then ext4write mmc ${mmcdev}:1 0x11F00000 /boot/${dtb_file} ${filesize}; fi;\0" \
212 - "ramdisk=tftpboot 0x1E000000 ${tftpbase}/${ramdisk_file}; mmc dev ${mmcdev}; mmc write 0x1E000000 7000 10000; if ext4ls mmc ${mmcdev}:1 boot; then ext4write mmc ${mmcdev}:1 0x1E000000 /boot/${ramdisk_file} ${filesize}; fi;10000; if ext4ls mmc ${mmcdev}:1 boot; then ext4write mmc ${mmcdev}:1 0x1E000000 /boot/${ramdisk_file} ${filesize}; fi;\0" \" \ 213 + "ramdisk=tftpboot 0x1E000000 ${tftpbase}/${ramdisk_file}; mmc dev ${mmcdev}; mmc write 0x1E000000 7000 0x10000; if ext4ls mmc ${mmcdev}:1 boot; then ext4write mmc ${mmcdev}:1 0x1E000000 /boot/${ramdisk_file} ${filesize}; fi;10000; if ext4ls mmc ${mmcdev}:1 boot; then ext4write mmc ${mmcdev}:1 0x1E000000 /boot/${ramdisk_file} ${filesize}; fi;\0" \" \
213 "logo=tftpboot 0x12000000 ${tftpbase}/${logo_file}; mmc dev ${mmcdev}; mmc write 0x12000000 800 2400; if ext4ls mmc ${mmcdev}:1 boot; then ext4write mmc ${mmcdev}:1 0x12000000 /boot/${logo_file} ${filesize}; fi;\0" \ 214 "logo=tftpboot 0x12000000 ${tftpbase}/${logo_file}; mmc dev ${mmcdev}; mmc write 0x12000000 800 2400; if ext4ls mmc ${mmcdev}:1 boot; then ext4write mmc ${mmcdev}:1 0x12000000 /boot/${logo_file} ${filesize}; fi;\0" \
214 "loadsplash=echo ; mmc dev ${mmcdev}; if ext4load mmc ${mmcdev}:1 0x12000000 /boot/${logo_file}; then echo Boot Logo image patition area loader; else echo Boot Logo image raw area loader; mmc read 0x12000000 800 2400; fi; bmp info 0x12000000; bmp display 0x12000000 0 0; echo ;\0" \ 215 "loadsplash=echo ; mmc dev ${mmcdev}; if ext4load mmc ${mmcdev}:1 0x12000000 /boot/${logo_file}; then echo Boot Logo image patition area loader; else echo Boot Logo image raw area loader; mmc read 0x12000000 800 2400; fi; bmp info 0x12000000; bmp display 0x12000000 0 0; echo ;\0" \
215 "bootram=mmc dev ${mmcdev}; mmcinfo; mmc read 0x11F00000 2C00 100; mmc read 0x12000000 3000 3800; mmc read 0x1E000000 7000 10000; bootm 0x12000000 - 0x11F00000\0" \ 216 "bootram=mmc dev ${mmcdev}; mmcinfo; mmc read 0x11F00000 2C00 100; mmc read 0x12000000 3000 3800; mmc read 0x1E000000 7000 10000; bootm 0x12000000 - 0x11F00000\0" \
bootloader/u-boot_2015_04/make.sh
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 OUTPUT_DIR="../output-u-boot_2015_04" 3 OUTPUT_DIR="../output-u-boot_2015_04"
4 if [ -z "${CP_DIR}" ] 4 if [ -z "${CP_DIR}" ]
5 then 5 then
6 - CP_DIR="/tftpboot/prime-oven /nfs/prime-oven" 6 + CP_DIR="../../release /tftpboot/prime-oven /nfs/prime-oven"
7 fi 7 fi
8 8
9 defconfig="imx6s_prime_oven_defconfig" 9 defconfig="imx6s_prime_oven_defconfig"
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/mk-mmc-part.sh
1 #!/bin/sh 1 #!/bin/sh
2 2
3 -BDEV=/dev/mmcblk0 3 +BDEV=/dev/mmcblk3
4 4
5 PART1=p1 5 PART1=p1
6 PART2=p2 6 PART2=p2
7 PART3=p3 7 PART3=p3
  8 +PART4=p4
  9 +
  10 +echo /dev/null >/proc/sys/kernel/hotplug
8 11
9 umount ${BDEV}${PART1} 12 umount ${BDEV}${PART1}
10 umount ${BDEV}${PART2} 13 umount ${BDEV}${PART2}
11 umount ${BDEV}${PART3} 14 umount ${BDEV}${PART3}
  15 +umount ${BDEV}${PART4}
12 16
  17 +echo ""
13 echo "==== make partitions ===============================" 18 echo "==== make partitions ==============================="
14 -## start stop desc  
15 -## ---------- ---------- ------------------  
16 -## 00-MB 64-MB reserved area  
17 -## 64-MB 192-MB partition#0, ext4 : BOOT0  
18 -## 256-MB 2048-MB partition#1, ext4 : APP  
19 -## 2304-MB all partition#2, ext4 : DATA 19 +## start stop size desc
  20 +## ---------- -------- ------- --------------
  21 +## 00-MB 64-MB 64-MB raw area
  22 +## 64-MB 128-MB 64-MB partition#0, ext4 : BOOT0
  23 +## 128-MB 512-MB 384-MB partition#1, ext4 : SYSTEM
  24 +## 512-MB 1024-MB 512-MB partition#2, ext4 : FALINUX
  25 +## 1024-MB all partition#3, ext4 : PRIME
20 ## 26 ##
  27 +sleep 1
21 fdisk ${BDEV} << EOF 28 fdisk ${BDEV} << EOF
22 o 29 o
23 n 30 n
24 p 31 p
25 1 32 1
26 2048 33 2048
27 -8191 34 +4095
28 n 35 n
29 p 36 p
30 2 37 2
31 -8192  
32 -73727 38 +4096
  39 +16383
33 n 40 n
34 p 41 p
35 3 42 3
36 -73728 43 +16384
  44 +32767
  45 +n
  46 +p
  47 +32768
37 48
38 -t  
39 -1  
40 -b  
41 -t  
42 -2  
43 -b 49 +p
44 w 50 w
45 EOF 51 EOF
46 52
47 ## format partitions 53 ## format partitions
  54 +echo ""
48 echo "==== format partitions =============================" 55 echo "==== format partitions ============================="
  56 +sleep 1
49 57
50 -mkfs.ext4 -F ${BDEV}${PART1} -L BOOT0  
51 -mkfs.ext4 -F ${BDEV}${PART2} -L APP  
52 -mkfs.ext4 -F ${BDEV}${PART3} -L DATA 58 +mkfs.ext4 -j -F ${BDEV}${PART1} -L BOOT0
  59 +mkfs.ext4 -j -F ${BDEV}${PART2} -L SYSTEM
  60 +mkfs.ext4 -j -F ${BDEV}${PART3} -L FALINUX
  61 +mkfs.ext4 -j -F ${BDEV}${PART4} -L PRIME
53 62
  63 +sleep 1
  64 +mount ${BDEV}${PART1} /mnt/mmc
  65 +mkdir /mnt/mmc/boot
  66 +chmod 777 /mnt/mmc/boot
  67 +sync
  68 +sleep 1
  69 +echo /sbin/mdev >/proc/sys/kernel/hotplug
  70 +/sbin/mdev -s
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.prime_oven/.buildroot_version
1 -2017. 03. 08. (수) 16:44:24 KST 1 +2017. 03. 08. (수) 19:54:56 KST
release/imx_usb
No preview for this file type
release/imx_usb.conf
@@ -0,0 +1,11 @@ @@ -0,0 +1,11 @@
  1 +#vid:pid, config_file
  2 +0x066f:0x3780, mx23_usb_work.conf
  3 +0x15a2:0x004f, mx28_usb_work.conf
  4 +0x15a2:0x0052, mx50_usb_work.conf
  5 +0x15a2:0x0054, mx6_usb_work.conf
  6 +0x15a2:0x0061, mx6_usb_work.conf
  7 +0x15a2:0x0063, mx6_usb_work.conf
  8 +0x15a2:0x0041, mx51_usb_work.conf
  9 +0x15a2:0x004e, mx53_usb_work.conf
  10 +0x15a2:0x006a, vybrid_usb_work.conf
  11 +0x066f:0x37ff, linux_gadget.conf
release/mx6_usb_work.conf
@@ -0,0 +1,30 @@ @@ -0,0 +1,30 @@
  1 +mx6_qsb
  2 +#hid/bulk,[old_header,]max packet size, {ram start, ram size}(repeat valid ram areas)
  3 +hid,1024,0x10000000,1G,0x00907000,0x31000
  4 +#file:dcd,plug,load nnn,jump [nnn/header/header2]
  5 +#jump nnn - header is after last downloaded word
  6 +# entire file is loaded before jump, needs load nnn as well
  7 +# i.e. file:load nnn,jump nnn
  8 +#jump header - only length parameter is downloaded
  9 +#header - uses existing header(error if none), but clears plug and dcd values unless plug also specified
  10 +#header2 - uses 2nd header found(error if none)
  11 +#plug - without jump uses header but clears plug flag to stop after plug execution
  12 +#load nnn - load entire file to address
  13 +#../u-boot-imx6/u-boot.bin:dcd,plug,jump header
  14 +#:modify,020e02a8,7,1
  15 +#:modify,020e00bc,7,4
  16 +#:read,020e02a8
  17 +#:read,020e00bc
  18 +#:read,020c4078
  19 +#:modify,020c407c,0,0f000000
  20 +#:modify,020c4080,0,c00
  21 +#:read,020c4084
  22 +#../imx_utils/mx6_ddr_init_xm.bin:dcd
  23 +#../u-boot-imx6/u-boot.bin:load 0x13effc00
  24 +#../u-boot-imx6/u-boot.imx:load 0x13f00000
  25 +#../u-boot-dirk/u-boot.imx:load 0x13f00000
  26 +#u-boot-6w.bin:load 0x13effc00
  27 +#u-boot_1103.bin:load 0x13effc00
  28 +#u-boot_1103.bin:jump header
  29 +#../imx_utils/mx6_ecspi_ram_write_xm.bin:clear_dcd,plug
  30 +#../imx6_obds/output/mx61/bin/diag-obds-mx61qsb-rev1.bin:jump header
release/u-boot.imx
No preview for this file type