Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit bc93c8e

Browse files
committed
Update master to v1.2 release (note: requires OS images that use the
revised partitioning scheme - see #64 for details)
1 parent 51779b0 commit bc93c8e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+1479
-586
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
buildroot/output/
22
buildroot/dl/
3+
*.qm

BUILDME.sh

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
# Bash script to rebuild recovery
44

@@ -11,11 +11,21 @@ if [ -e output/build ]; then
1111
rm -rf output/build/recovery* || true
1212
fi
1313

14-
# Redownload firmware from raspberrypi/firmware master HEAD to update to latest
15-
if [ $1 = "update-firmware" ]; then
16-
rm -rf output/build/rpi-firmware-master
17-
rm -rf dl/rpi-firmware-master.tar.gz
18-
fi
14+
for i in $*; do
15+
# Redownload firmware from raspberrypi/firmware master HEAD to update to latest
16+
if [ $i = "update-firmware" ]; then
17+
rm -rf output/build/rpi-firmware-master
18+
rm -rf dl/rpi-firmware-master.tar.gz
19+
echo "rpi-firmware Git HEAD @ "`git ls-remote --heads https://github.com/raspberrypi/firmware | sed -n 2p` > rpi-firmware-head &
20+
fi
21+
22+
# Redownload userland from raspberrypi/userland master HEAD to update to latest
23+
if [ $i = "update-userland" ]; then
24+
rm -rf output/build/rpi-userland-master
25+
rm -rf dl/rpi-userland-master.tar.gz
26+
echo "rpi-userland Git HEAD @ "`git ls-remote --heads https://github.com/raspberrypi/firmware | sed -n 2p` > rpi-userland-head &
27+
fi
28+
done
1929

2030
# Let buildroot build everything
2131
make
@@ -28,12 +38,13 @@ cp output/images/rootfs.cpio.lzo ../output/recovery.rfs
2838
cp output/images/rpi-firmware/start_cd.elf ../output/recovery.elf
2939
cp output/images/rpi-firmware/bootcode.bin ../output
3040

31-
# Add build-date timestamp to files$
32-
33-
rm ../output/BUILT* || true
34-
touch ../output/"BUILT-"$(date +"%Y-%m-%d")
41+
# Create build-date timestamp file containing Git HEAD info for build
42+
rm -f ../output/BUILT* || true
43+
echo "NOOBS Git HEAD @ "`git rev-parse --verify HEAD` > "../output/"BUILT-"$(date +"%Y-%m-%d")"
44+
cat rpi-userland-head >> "../output/"BUILT-"$(date +"%Y-%m-%d")"
45+
cat rpi-firmware-head >> "../output/"BUILT-"$(date +"%Y-%m-%d")"
3546

3647
cd ..
3748

3849
clear
39-
echo Build complete. Copy files in \'output\' directory onto a clean FAT formatted SD card to use.
50+
echo "Build complete. Copy files in 'output' directory onto a clean FAT formatted SD card to use."

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ To add a new translation:
9696
- Add to recovery/recovery.pro `TRANSLATIONS += translation_<languagecode>.ts`
9797
- Run `lupdate recovery.pro` which extracts strings from the source code and generates/updates the .ts files.
9898
- The .ts can then be send to the translator, opened in Qt Linguist and filled in.
99-
- Turn the .ts XML file into a binary .qm file by running `lrelease translation_code.ts`
100-
- The .qm file needs to be added to "icons.qrc". This file contains a list with resource files that will be embedded into the
101-
application's executable during build.
102-
103-
Can add a flag icon to the "icons" folder and add that flag to "icons.qrc" as well.
99+
- Add a line for the .ts file in to "icons.qrc", but substitute .ts extension with .qm. This file contains a list
100+
of resource files that will be embedded into the application's executable during build.
101+
- Add a flag icon for your language from http://www.famfamfam.com/lab/icons/flags/ flag icon collection or if it
102+
doesn't have the one you need, you may use some other small png icon for it. Copy the icon file to the "icons"
103+
folder and add a line for it into "icons.qrc" as well.
104104

105105

106106
### Legal compliance

buildroot/.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Automatically generated file; DO NOT EDIT.
3-
# Buildroot 2013.05-git-gafb231e-dirty Configuration
3+
# Buildroot 2013.05-git-00063-gbf7d7fb-dirty Configuration
44
#
55
BR2_HAVE_DOT_CONFIG=y
66
BR2_arm=y
@@ -368,7 +368,7 @@ BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
368368
# BR2_PACKAGE_DIRECTFB is not set
369369
# BR2_PACKAGE_FBDUMP is not set
370370
# BR2_PACKAGE_FBGRAB is not set
371-
# BR2_PACKAGE_FBSET is not set
371+
BR2_PACKAGE_FBSET=y
372372

373373
#
374374
# fbterm requires a toolchain with C++, WCHAR and locale support

buildroot/kernelconfig-recovery

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CONFIG_EXPERIMENTAL=y
2-
CONFIG_LOCALVERSION="rescue"
2+
CONFIG_LOCALVERSION="-rescue"
33
# CONFIG_LOCALVERSION_AUTO is not set
44
CONFIG_SYSVIPC=y
55
CONFIG_POSIX_MQUEUE=y
@@ -105,7 +105,9 @@ CONFIG_THERMAL_BCM2835=y
105105
CONFIG_FB=y
106106
CONFIG_FB_BCM2708=y
107107
CONFIG_FRAMEBUFFER_CONSOLE=y
108-
CONFIG_LOGO=y
108+
CONFIG_IKCONFIG=y
109+
CONFIG_IKCONFIG_PROC=y
110+
# CONFIG_LOGO is not set
109111
# CONFIG_LOGO_LINUX_MONO is not set
110112
# CONFIG_LOGO_LINUX_VGA16 is not set
111113
CONFIG_HIDRAW=y
@@ -120,6 +122,11 @@ CONFIG_MMC_SDHCI_PLTFM=y
120122
CONFIG_MMC_SDHCI_BCM2708=y
121123
CONFIG_MMC_SDHCI_BCM2708_DMA=y
122124
CONFIG_LEDS_GPIO=y
125+
CONFIG_LEDS_TRIGGERS=y
126+
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
127+
CONFIG_LEDS_GPIO=y
128+
CONFIG_NEW_LEDS=y
129+
CONFIG_LEDS_CLASS=y
123130
# CONFIG_IOMMU_SUPPORT is not set
124131
CONFIG_EXT4_FS=y
125132
CONFIG_FANOTIFY=y

buildroot/package/arora/arora.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
ARORA_SITE=git://github.com/Arora/arora.git
88
ARORA_VERSION=master
9+
ARORA_LICENSE = GPLv2
10+
ARORA_LICENSE_FILES = LICENSE.GPL2
911
ARORA_INSTALL_STAGING=NO
1012
ARORA_DEPENDENCIES=qt
1113

buildroot/package/directfb-examples/directfb-examples.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ DIRECTFB_EXAMPLES_VERSION = 1.6.0
88
DIRECTFB_EXAMPLES_SITE = http://www.directfb.org/downloads/Extras
99
DIRECTFB_EXAMPLES_SOURCE = DirectFB-examples-$(DIRECTFB_EXAMPLES_VERSION).tar.gz
1010
DIRECTFB_EXAMPLES_LICENSE = MIT
11-
DIRECTFB_EXAMPLES_LICENSE_FILE = COPYING
11+
DIRECTFB_EXAMPLES_LICENSE_FILES = COPYING
1212
DIRECTFB_EXAMPLES_INSTALL_STAGING = YES
1313
DIRECTFB_EXAMPLES_DEPENDENCIES = directfb
1414

buildroot/package/divine/divine.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
DIVINE_VERSION = 83cafc257a42b9465cd9d6185bf66b8c1b7ed704
99
DIVINE_SITE = git://git.directfb.org/git/directfb/extras/DiVine.git
1010
DIVINE_LICENSE = LGPLv2.1+
11-
DIVINE_LICENSE_FILE = COPYING
11+
DIVINE_LICENSE_FILES = COPYING
1212
DIVINE_INSTALL_STAGING = YES
1313
DIVINE_DEPENDENCIES = directfb
1414
DIVINE_CONFIG_SCRIPTS = divine-config

buildroot/package/dosfstools/dosfstools.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#############################################################
66

77
DOSFSTOOLS_VERSION = 3.0.16
8-
DOSFSTOOLS_SITE = http://fossies.org/linux/misc
8+
DOSFSTOOLS_SITE = http://daniel-baumann.ch/files/software/dosfstools
99
DOSFSTOOLS_LICENSE = GPLv3+
1010
DOSFSTOOLS_LICENSE_FILES = COPYING
1111
DOSFSTOOLS_LDFLAGS = $(TARGET_LDFLAGS)

buildroot/package/fb-test-app/fb-test-app.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
FB_TEST_APP_VERSION = v1.0.0
88
FB_TEST_APP_SITE = http://github.com/prpplague/fb-test-app/tarball/$(FB_TEST_APP_VERSION)
99
FB_TEST_APP_LICENSE = GPLv2
10-
FB_TEST_APP_LICENSE_FILE = COPYING
10+
FB_TEST_APP_LICENSE_FILES = COPYING
1111

1212
define FB_TEST_APP_BUILD_CMDS
1313
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all

0 commit comments

Comments
 (0)