Pārlūkot izejas kodu

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

Thomas Buck 8 gadus atpakaļ
vecāks
revīzija
4199f2e968
3 mainītis faili ar 13 papildinājumiem un 7 dzēšanām
  1. 1
    1
      buildroot
  2. 1
    3
      configs/raspi_defconfig
  3. 11
    3
      flash.sh

+ 1
- 1
buildroot

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

+ 1
- 3
configs/raspi_defconfig Parādīt failu

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

+ 11
- 3
flash.sh Parādīt failu

@@ -11,9 +11,13 @@ for fs in `grep $1 /proc/mounts|cut -d ' ' -f 1` ; do
11 11
 	sudo umount $fs
12 12
 done
13 13
 
14
+sudo sync
15
+
14 16
 echo Overwriting old partition table
15 17
 sudo dd if=/dev/zero of=$1 bs=1024 count=1024
16 18
 
19
+sudo sync
20
+
17 21
 if [ -e output/images/u-boot.sd ] ; then
18 22
 	echo Recreating new partition table
19 23
 	sed 's/#.*//' << EOF | tr -d " \t"  | sudo fdisk $1
@@ -46,7 +50,9 @@ elif [ -d output/images/rpi-firmware ] ; then
46 50
 EOF
47 51
 
48 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 57
 	echo Mounting boot filesystem
52 58
 	sudo mkdir -p /media/boot
@@ -71,7 +77,9 @@ fi
71 77
 
72 78
 if [ -e output/images/rootfs.tar ] ; then
73 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 84
 	echo Mounting root filesystem
77 85
 	sudo mkdir -p /media/rootfs
@@ -96,5 +104,5 @@ else
96 104
 	echo Could not find a suitable root filesystem!
97 105
 fi
98 106
 
99
-eject $1
107
+sudo eject $1
100 108
 

Notiek ielāde…
Atcelt
Saglabāt