Commit 68e88b142095237bbc5df47eebbd5c1a4cd7e7d2

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

buildroot 수정

README.md
... ... @@ -175,18 +175,22 @@
175 175 ---------------------------
176 176  
177 177 start size desc
178   - ---------- ---------- ------------------
179   - 00-MB 64-MB reserved area
180   - 64-MB 192-MB partition#0, ext4 : BOOT0
181   - 256-MB 2048-MB partition#1, ext4 : APP
182   - 2304-MB all partition#2, ext4 : DATA
183   -
184   - ------------------------------------------
185   - 00-MB 64-MB reserved area
186   - ------------------------------------------
187   - start size start size
188   - U-boot : 1KB 640KB ( 0x2 0x500 )
189   - Logo : 1MB 4.5MB ( 0x800 0x2400 )
190   - DTB : 5.5MB 128KB ( 0x2C00 0x100 )
191   - KERNEL : 6MB 7MB ( 0x3000 0x3800 )
192   - RAMDISK : 14MB 32MB ( 0x7000 0x10000 )
  178 + ---------- ---------- ----------------------------
  179 + 00-MB 128-MB raw area
  180 + 128-MB 128-MB partition#0, ext4 : BOOT0
  181 + 256-MB 256-MB partition#1, ext4 : SYSTEM
  182 + 512-MB 512-MB partition#2, ext4 : FALINUX
  183 + 1024-MB all partition#3, ext4 : PRIME
  184 +
  185 +
  186 + -----------------------------------------------------
  187 + 00-MB 128-MB raw area
  188 + -----------------------------------------------------
  189 + start size start size
  190 + -----------------------------------------------------
  191 + U-boot : 1KB 640KB ( 0x2 0x500 )
  192 + Logo : 1MB 4.5MB ( 0x800 0x2400 )
  193 + DTB : 5.5MB 128KB ( 0x2C00 0x100 )
  194 + KERNEL : 6MB 7MB ( 0x3000 0x3800 )
  195 + RAMDISK : 14MB 64MB ( 0x7000 0x20000 )
  196 +
... ...
bootloader/u-boot_2015_04/include/configs/mx6s_prime_oven.h
... ... @@ -185,7 +185,7 @@
185 185 "loadaddr=0x12000000\0" \
186 186 "boot_fdt=try\0" \
187 187 "bootdelay=1\0" \
188   - "ramargs=console=ttymxc0,115200 root=/dev/ram0 rw --no-log initrd=0x1E000000,32M ramdisk=65536\0" \" \
  188 + "ramargs=console=ttymxc0,115200 root=/dev/ram0 rw --no-log initrd=0x1E000000,64M ramdisk=131072\0" \" \
189 189 "mmcargs=console=ttymxc0,115200 root=/dev/mmcblk3p2 rw --no-log rootfstype=ext4 rootdelay=5 rootwait\0" \
190 190 "bootargs_ram=setenv bootargs ${ramargs} ${video_lvds} ${video_vmalloc} eth0ip=${ipaddr} eth0netmask=${netmask} eth0gw=${gatewayip} ${arg_option} autorun=${autoexec}\0" \
191 191 "bootargs_mmc=setenv bootargs ${mmcargs} ${video_lvds} ${video_vmalloc} eth0ip=${ipaddr} eth0netmask=${netmask} eth0gw=${gatewayip} ${arg_option} autorun=${autoexec}\0" \
... ... @@ -205,15 +205,15 @@
205 205 "uboot_file=u-boot.imx\0" \
206 206 "dtb_file=imx6s-prime-oven.dtb\0" \
207 207 "kernel_file=uImage\0" \
208   - "ramdisk_file=ramdisk-prime_oven-64M.gzM.gz\0" \" \
  208 + "ramdisk_file=ramdisk-prime_oven-128M.gzM.gz\0" \" \
209 209 "logo_file=init.bmp\0" \
210 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" \
211 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" \
212 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" \
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;0000; 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 0x20000; if ext4ls mmc ${mmcdev}:1 boot; then ext4write mmc ${mmcdev}:1 0x1E000000 /boot/${ramdisk_file} ${filesize}; fi;0000; if ext4ls mmc ${mmcdev}:1 boot; then ext4write mmc ${mmcdev}:1 0x1E000000 /boot/${ramdisk_file} ${filesize}; fi;\0" \" \
214 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" \
215 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" \
216   - "bootram=mmc dev ${mmcdev}; mmcinfo; mmc read 0x11F00000 2C00 100; mmc read 0x12000000 3000 3800; mmc read 0x1E000000 7000 10000; bootm 0x12000000 - 0x11F000000000; bootm 0x12000000 - 0x11F00000\0" \" \
  216 + "bootram=mmc dev ${mmcdev}; mmcinfo; mmc read 0x11F00000 2C00 100; mmc read 0x12000000 3000 3800; mmc read 0x1E000000 7000 20000; bootm 0x12000000 - 0x11F000000000; bootm 0x12000000 - 0x11F00000\0" \" \
217 217 "bootload= echo ; echo Loading a bootable image ...; mmc dev ${mmcdev}; " \
218 218 "if ext4load mmc ${mmcdev}:1 0x11F00000 /boot/${dtb_file}; then " \
219 219 "echo Device Tree image patition area loader; " \
... ... @@ -236,11 +236,11 @@
236 236 "echo ; " \
237 237 "else " \
238 238 "echo Ramdisk image raw area loader; " \
239   - "mmc read 0x1E000000 7000 10000; " \
  239 + "mmc read 0x1E000000 2000 10000; " \
240 240 "echo ; " \
241 241 "fi; " \
242 242 "bootm 0x12000000 - 0x11F00000; \0" \
243   - "bootload_fw=mmc dev 1; mmc read 0x11F00000 2C00 100; mmc read 0x12000000 3000 3800; mmc read 0x1E000000 7000 10000; bootm 0x12000000 - 0x11F00000; 0000; bootm 0x12000000 - 0x11F00000; \0" \" \
  243 + "bootload_fw=mmc dev 1; mmc read 0x11F00000 2C00 100; mmc read 0x12000000 3000 3800; mmc read 0x1E000000 7000 20000; bootm 0x12000000 - 0x11F00000; 0000; bootm 0x12000000 - 0x11F00000; \0" \" \
244 244 "fw=env default -a; saveenv; setenv mmcdev 1; run bootcmd_fw; \0" \
245 245 "bootcmd_fw=run bootargs_ram bootload_fw \0" \
246 246 "bootcmd=run bootargs_mmc bootload\0"
... ...
buildroot/buildroot-2016.08.1/board/falinux/common/post_image.sh
... ... @@ -14,7 +14,7 @@ echo ----------------------------------------------
14 14 IMAGE_SIZE_BYTE=`du -b ${BINARIES_DIR}/rootfs.ext2 | awk '{print $1}'`
15 15 IMAGE_SIZE=`echo ${IMAGE_SIZE_BYTE}/1024/1024 | bc`
16 16  
17   -CP_DIR="/tftpboot/prime-oven /nfs/prime-oven"
  17 +CP_DIR="../../release /tftpboot/prime-oven /nfs/prime-oven"
18 18 TFTP_FILENAME=ramdisk
19 19 if [ -n "${FA_PRODUCT}" ]
20 20 then
... ... @@ -30,6 +30,9 @@ for DEST_DIR in ${CP_DIR}
30 30 do
31 31 mkdir -p ${DEST_DIR}
32 32 cp ${BINARIES_DIR}/rootfs.ext2.gz ${DEST_DIR}/${TFTP_FILENAME}
  33 + if [ -f ${BINARIES_DIR}/rootfs.tar ]; then
  34 + cp ${BINARIES_DIR}/rootfs.tar ${DEST_DIR}/
  35 + fi
33 36 done
34 37  
35 38 #rm -Rf ${TARGET_DIR}
... ...
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/app
... ... @@ -1 +0,0 @@
1   -/mnt/mmcblk3p2
2 0 \ No newline at end of file
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/fstab
1 1 # <file system> <mount pt> <type> <options> <dump> <pass>
2   -/dev/root / ext2 rw,noauto 0 1
  2 +/dev/root / ext2 rw,noauto 0 1
3 3 proc /proc proc defaults 0 0
4 4 devpts /dev/pts devpts defaults,gid=5,mode=620 0 0
5 5 tmpfs /dev/shm tmpfs mode=0777 0 0
... ...
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/falinux
... ... @@ -0,0 +1 @@
  1 +/mnt/mmcblk3p3
0 2 \ No newline at end of file
... ...
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/prime
... ... @@ -0,0 +1 @@
  1 +/mnt/mmcblk3p4
0 2 \ No newline at end of file
... ...
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/mk-mmc-part.sh
... ... @@ -18,9 +18,9 @@ echo &quot;&quot;
18 18 echo "==== make partitions ==============================="
19 19 ## start stop size desc
20 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
  21 +## 00-MB 128-MB 128-MB raw area
  22 +## 128-MB 256-MB 128-MB partition#0, ext4 : BOOT0
  23 +## 256-MB 512-MB 256-MB partition#1, ext4 : SYSTEM
24 24 ## 512-MB 1024-MB 512-MB partition#2, ext4 : FALINUX
25 25 ## 1024-MB all partition#3, ext4 : PRIME
26 26 ##
... ... @@ -30,12 +30,12 @@ o
30 30 n
31 31 p
32 32 1
33   -2048
34   -4095
  33 +4096
  34 +8191
35 35 n
36 36 p
37 37 2
38   -4096
  38 +8192
39 39 16383
40 40 n
41 41 p
... ...
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.prime_oven/.buildroot_version
1   -2017. 03. 08. (수) 19:54:56 KST
  1 +2017. 03. 09. (목) 15:27:09 KST
... ...
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/system
... ... @@ -0,0 +1 @@
  1 +/mnt/mmcblk3p2
0 2 \ No newline at end of file
... ...
buildroot/buildroot-2016.08.1/configs/_imx6s_prime_oven_defconfig
... ... @@ -0,0 +1,77 @@
  1 +BR2_arm=y
  2 +BR2_cortex_a9=y
  3 +BR2_ARM_ENABLE_NEON=y
  4 +BR2_ARM_ENABLE_VFP=y
  5 +BR2_ARM_FPU_NEON=y
  6 +BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabre/patches"
  7 +BR2_TOOLCHAIN_EXTERNAL=y
  8 +BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
  9 +BR2_TOOLCHAIN_EXTERNAL_PATH="$(BR_TOOLCHAIN_PATH)/usr"
  10 +BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="$(BR_TOOLCHAIN_PREFIX)"
  11 +BR2_TOOLCHAIN_EXTERNAL_GCC_4_9=y
  12 +BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14=y
  13 +BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
  14 +BR2_TOOLCHAIN_EXTERNAL_CXX=y
  15 +BR2_TARGET_GENERIC_HOSTNAME="imx6s"
  16 +BR2_TARGET_GENERIC_ISSUE="Welcome to falinux"
  17 +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
  18 +BR2_TARGET_GENERIC_ROOT_PASSWD="root"
  19 +BR2_SYSTEM_BIN_SH_BASH=y
  20 +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
  21 +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
  22 +BR2_PACKAGE_BUSYBOX_WATCHDOG=y
  23 +BR2_PACKAGE_ALSA_UTILS=y
  24 +BR2_PACKAGE_ALSA_UTILS_AMIXER=y
  25 +BR2_PACKAGE_ALSA_UTILS_APLAY=y
  26 +BR2_PACKAGE_DOSFSTOOLS=y
  27 +BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
  28 +BR2_PACKAGE_E2TOOLS=y
  29 +BR2_PACKAGE_MMC_UTILS=y
  30 +BR2_PACKAGE_FBSET=y
  31 +BR2_PACKAGE_FB_TEST_APP=y
  32 +BR2_PACKAGE_FBV=y
  33 +BR2_PACKAGE_QT5=y
  34 +BR2_PACKAGE_QT5BASE_LICENSE_APPROVED=y
  35 +BR2_PACKAGE_QT5BASE_CONCURRENT=y
  36 +BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM=y
  37 +BR2_PACKAGE_QT5BASE_WIDGETS=y
  38 +BR2_PACKAGE_QT5BASE_DEFAULT_QPA="linuxfb"
  39 +BR2_PACKAGE_QT5BASE_FONTCONFIG=y
  40 +BR2_PACKAGE_QT5BASE_GIF=y
  41 +BR2_PACKAGE_QT5BASE_JPEG=y
  42 +BR2_PACKAGE_QT5BASE_PNG=y
  43 +BR2_PACKAGE_QT5BASE_ICU=y
  44 +BR2_PACKAGE_QT5BASE_TSLIB=y
  45 +BR2_PACKAGE_QT5MULTIMEDIA=y
  46 +BR2_PACKAGE_QJSON=y
  47 +BR2_PACKAGE_FREESCALE_IMX=y
  48 +BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q=y
  49 +BR2_PACKAGE_IMX_GPU_VIV=y
  50 +BR2_PACKAGE_I2C_TOOLS=y
  51 +BR2_PACKAGE_MEMTESTER=y
  52 +BR2_PACKAGE_LIBIMXVPUAPI=y
  53 +BR2_PACKAGE_LIBGLIB2=y
  54 +BR2_PACKAGE_ETHTOOL=y
  55 +BR2_PACKAGE_IPERF=y
  56 +BR2_PACKAGE_IW=y
  57 +BR2_PACKAGE_LRZSZ=y
  58 +BR2_PACKAGE_OPENSSH=y
  59 +BR2_PACKAGE_WGET=y
  60 +BR2_PACKAGE_WHOIS=y
  61 +BR2_PACKAGE_WIRELESS_TOOLS=y
  62 +BR2_PACKAGE_WIRELESS_TOOLS_LIB=y
  63 +BR2_PACKAGE_WPA_SUPPLICANT=y
  64 +BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
  65 +BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY=y
  66 +BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y
  67 +BR2_PACKAGE_WPA_SUPPLICANT_EAP=y
  68 +BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT=y
  69 +BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG=y
  70 +BR2_PACKAGE_WPA_SUPPLICANT_WPS=y
  71 +BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
  72 +BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO=y
  73 +BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
  74 +BR2_TARGET_ROOTFS_EXT2=y
  75 +BR2_TARGET_ROOTFS_EXT2_BLOCKS=131072
  76 +BR2_TARGET_ROOTFS_EXT2_GZIP=y
  77 +# BR2_TARGET_ROOTFS_TAR is not set
... ...
buildroot/buildroot-2016.08.1/configs/imx6s_prime_oven_qt5_defconfig
... ... @@ -18,6 +18,8 @@ BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
18 18 BR2_TARGET_GENERIC_ROOT_PASSWD="root"
19 19 BR2_SYSTEM_BIN_SH_BASH=y
20 20 BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
  21 +BR2_TARGET_TZ_INFO=y
  22 +BR2_TARGET_LOCALTIME="Asia/Seoul"
21 23 BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
22 24 BR2_PACKAGE_BUSYBOX_WATCHDOG=y
23 25 BR2_PACKAGE_ALSA_UTILS=y
... ... @@ -74,4 +76,3 @@ BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
74 76 BR2_TARGET_ROOTFS_EXT2=y
75 77 BR2_TARGET_ROOTFS_EXT2_BLOCKS=131072
76 78 BR2_TARGET_ROOTFS_EXT2_GZIP=y
77   -# BR2_TARGET_ROOTFS_TAR is not set
... ...
release/ramdisk-prime_oven-128M.gz
No preview for this file type
release/ramdisk-prime_oven-64M.gz
No preview for this file type
release/rootfs.tar
No preview for this file type
release/u-boot.imx
No preview for this file type
release/uImage
No preview for this file type