Browse Source

Newest buildroot, small flash.sh fixes, disabled ccache, removed gst-opengl.

Thomas Buck 8 years ago
parent
commit
4199f2e968
3 changed files with 13 additions and 7 deletions
  1. 1
    1
      buildroot
  2. 1
    3
      configs/raspi_defconfig
  3. 11
    3
      flash.sh

+ 1
- 1
buildroot

1
-Subproject commit 2b23ab47ad4c4ac2f7916673be518704af5dbde7
1
+Subproject commit 318a4d84892e60e84cd1176f88e202c228feb624

+ 1
- 3
configs/raspi_defconfig View File

1
 BR2_arm=y
1
 BR2_arm=y
2
 BR2_arm1176jzf_s=y
2
 BR2_arm1176jzf_s=y
3
 BR2_DL_DIR="$(HOME)/.buildroot-dl"
3
 BR2_DL_DIR="$(HOME)/.buildroot-dl"
4
-BR2_CCACHE=y
5
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y
4
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y
6
 BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
5
 BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
7
 BR2_TOOLCHAIN_BUILDROOT_CXX=y
6
 BR2_TOOLCHAIN_BUILDROOT_CXX=y
9
 BR2_TARGET_GENERIC_ISSUE="Welcome to the CamCorder"
8
 BR2_TARGET_GENERIC_ISSUE="Welcome to the CamCorder"
10
 BR2_TARGET_GENERIC_ROOT_PASSWD="camcorder"
9
 BR2_TARGET_GENERIC_ROOT_PASSWD="camcorder"
11
 BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
10
 BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
11
+BR2_TARGET_GENERIC_GETTY_TERM="xterm"
12
 BR2_SYSTEM_DHCP="eth0"
12
 BR2_SYSTEM_DHCP="eth0"
13
 BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL)/board/raspi/rootfs_overlay"
13
 BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL)/board/raspi/rootfs_overlay"
14
 BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL)/board/raspi/post_build.sh"
14
 BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL)/board/raspi/post_build.sh"
30
 BR2_PACKAGE_GST1_PLUGINS_GOOD=y
30
 BR2_PACKAGE_GST1_PLUGINS_GOOD=y
31
 BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA=y
31
 BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA=y
32
 BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2=y
32
 BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2=y
33
-BR2_PACKAGE_GST1_PLUGINS_BAD=y
34
-BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL=y
35
 BR2_PACKAGE_GST_OMX=y
33
 BR2_PACKAGE_GST_OMX=y
36
 BR2_PACKAGE_RPI_FIRMWARE=y
34
 BR2_PACKAGE_RPI_FIRMWARE=y
37
 # BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set
35
 # BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set

+ 11
- 3
flash.sh View File

11
 	sudo umount $fs
11
 	sudo umount $fs
12
 done
12
 done
13
 
13
 
14
+sudo sync
15
+
14
 echo Overwriting old partition table
16
 echo Overwriting old partition table
15
 sudo dd if=/dev/zero of=$1 bs=1024 count=1024
17
 sudo dd if=/dev/zero of=$1 bs=1024 count=1024
16
 
18
 
19
+sudo sync
20
+
17
 if [ -e output/images/u-boot.sd ] ; then
21
 if [ -e output/images/u-boot.sd ] ; then
18
 	echo Recreating new partition table
22
 	echo Recreating new partition table
19
 	sed 's/#.*//' << EOF | tr -d " \t"  | sudo fdisk $1
23
 	sed 's/#.*//' << EOF | tr -d " \t"  | sudo fdisk $1
46
 EOF
50
 EOF
47
 
51
 
48
 	echo Creaeting boot filesystem
52
 	echo Creaeting boot filesystem
49
-	sudo mkfs.vfat -F 32 -n boot "$1"1
53
+	sudo mkfs.vfat -F 32 -n boot "$1"1 << EOF
54
+y
55
+EOF
50
 
56
 
51
 	echo Mounting boot filesystem
57
 	echo Mounting boot filesystem
52
 	sudo mkdir -p /media/boot
58
 	sudo mkdir -p /media/boot
71
 
77
 
72
 if [ -e output/images/rootfs.tar ] ; then
78
 if [ -e output/images/rootfs.tar ] ; then
73
 	echo Creating root filesystem
79
 	echo Creating root filesystem
74
-	sudo mkfs.ext4 "$1"2 -L rootfs
80
+	sudo mkfs.ext4 "$1"2 -L rootfs << EOF
81
+y
82
+EOF
75
 
83
 
76
 	echo Mounting root filesystem
84
 	echo Mounting root filesystem
77
 	sudo mkdir -p /media/rootfs
85
 	sudo mkdir -p /media/rootfs
96
 	echo Could not find a suitable root filesystem!
104
 	echo Could not find a suitable root filesystem!
97
 fi
105
 fi
98
 
106
 
99
-eject $1
107
+sudo eject $1
100
 
108
 

Loading…
Cancel
Save