a lot of maintenance

This commit is contained in:
Diogo Cordeiro 2020-09-16 16:09:29 +01:00
parent 727baa9236
commit 88dd2cf9f1
16 changed files with 69 additions and 11028 deletions

View File

@ -2,5 +2,5 @@ cfg_target_canonical="armv11-$cfg_glued_vendor-linux-gnueabi"
cfg_target_linux='arm' cfg_target_linux='arm'
cfg_target_uboot_arch='arm' cfg_target_uboot_arch='arm'
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=cortex-a72 -mtune=cortex-a72 -mfloat-abi=hard -mfpu=neon-fp-armv8' cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=cortex-a72 -mtune=cortex-a72 -mfloat-abi=hard -mfpu=neon-fp-armv8'
cfg_target_gcc_configure_flags='--with-arch=armv8-a --with-cpu=cortex-a72 --with-tune=cortex-a72 --with-fpu=neon-fp-armv8 --with-float=hard' cfg_target_gcc_configure_flags='--with-cpu=cortex-a72 --with-tune=cortex-a72 --with-fpu=neon-fp-armv8 --with-float=hard'
cfg_target_ar_flags='aarch64-elf' cfg_target_ar_flags='aarch64-elf'

View File

@ -1,16 +1,16 @@
version=\ version=\
( (
'2.25.1' '2.35'
) )
url=\ url=\
( (
"http://mirrors.kernel.org/gnu/binutils/binutils-$version.tar.bz2" "http://mirrors.kernel.org/gnu/binutils/binutils-$version.tar.xz"
) )
md5=\ md5=\
( (
'ac493a78de4fee895961d025b7905be4' 'fc8d55e2f6096de8ff8171173b6f5087'
) )
maintainer=\ maintainer=\

View File

@ -1,16 +1,16 @@
version=\ version=\
( (
'4.9.3' '10.2.0'
) )
url=\ url=\
( (
"http://mirrors.kernel.org/gnu/gcc/gcc-$version/gcc-$version.tar.bz2" "http://mirrors.kernel.org/gnu/gcc/gcc-$version/gcc-$version.tar.xz"
) )
md5=\ md5=\
( (
'6f831b4d251872736e8e9cc09746f327' 'e9fd9b1789155ad09bcf3ae747596b50'
) )
build_dir=$pkg_var build_dir=$pkg_var

View File

@ -1,6 +1,6 @@
version=\ version=\
( (
'0.2.5' '1.2.6'
) )
url=\ url=\
@ -10,7 +10,7 @@ url=\
md5=\ md5=\
( (
'8cd41a5ef5a9b50d0fb6abb98af15368' 'b25f9cc18bfad50f7c446c77f4ae00bb'
) )
maintainer=\ maintainer=\

View File

@ -1,11 +1,11 @@
version=\ version=\
( (
'4.4.66' '5.8.7'
) )
url=\ url=\
( (
"https://www.kernel.org/pub/linux/kernel/v4.x/linux-$version.tar.xz" "https://www.kernel.org/pub/linux/kernel/v5.x/linux-$version.tar.xz"
) )
md5=\ md5=\

View File

@ -1,16 +1,16 @@
version=\ version=\
( (
'4.4.66' '5.4'
) )
url=\ url=\
( (
"https://www.kernel.org/pub/linux/kernel/v4.x/linux-$version.tar.xz" "https://www.kernel.org/pub/linux/kernel/v5.x/linux-$version.tar.xz"
) )
md5=\ md5=\
( (
'5353de56bf4621a35afc4384c7e51f30' 'ce9b2d974d27408a61c53a30d3f98fb9'
) )
maintainer=\ maintainer=\

View File

@ -2,19 +2,19 @@
version=\ version=\
( (
'4.4_2017-01-27' '5.4'
) )
url=\ url=\
( (
"http://lsts.pt/glued/rpi-linux-$version.zip" "http://archive.ubuntu.com/ubuntu/pool/universe/l/linux-raspi2/linux-raspi2_$version.0.orig.tar.gz"
) )
md5=\ md5=\
( (
'f31d48a9d2c93509b35e750be489b44c' '0707e4b2cbaf1428055d6615be04559e'
) )
build_dir="rpi-linux-rpi-linux-$version" build_dir="linux-$version"
find_patches find_patches

View File

@ -1,6 +1,6 @@
version=\ version=\
( (
'1.0.2e' '1.1.1f'
) )
url=\ url=\
@ -10,7 +10,7 @@ url=\
md5=\ md5=\
( (
'5262bfa25b60ed9de9f28d5d52d77fc5' '3f486f2f4435ef14b81814dbbc7b48bb'
) )
requires=\ requires=\
@ -23,6 +23,7 @@ configure()
./Configure linux-generic32 --cross-compile-prefix="$cfg_target_canonical-" \ ./Configure linux-generic32 --cross-compile-prefix="$cfg_target_canonical-" \
--prefix="$cfg_dir_toolchain_sysroot/usr" \ --prefix="$cfg_dir_toolchain_sysroot/usr" \
--openssldir="$cfg_dir_toolchain_sysroot/usr" \ --openssldir="$cfg_dir_toolchain_sysroot/usr" \
--libdir=lib \
shared shared
} }

View File

@ -1,6 +1,6 @@
version=\ version=\
( (
'0.2.2' '1.2.5'
) )
url=\ url=\
@ -10,7 +10,7 @@ url=\
md5=\ md5=\
( (
'8acf839bfef2364a05fbd6be5f8edf9a' 'ed46f09b9c0fa2d49015f6431bc5ea7b'
) )
maintainer=\ maintainer=\

View File

@ -1,11 +1,15 @@
version=\ version=\
( (
'2017-02-02' '1.20200212',
'2019.07',
'3.98ubuntu12'
) )
url=\ url=\
( (
"http://lsts.pt/glued/rpi-boot-firmware-$version.zip" "http://archive.ubuntu.com/ubuntu/pool/multiverse/l/linux-firmware-raspi2/linux-firmware-raspi2_$version.orig.tar.gz",
"http://archive.ubuntu.com/ubuntu/pool/main/u/u-boot/u-boot_$version+dfsg.orig.tar.xz",
"http://archive.ubuntu.com/ubuntu/pool/main/f/flash-kernel/flash-kernel_$version.tar.xz"
) )
maintainer=\ maintainer=\
@ -16,7 +20,9 @@ maintainer=\
md5=\ md5=\
( (
'eb42664fce4d73f167064e697dfacb76' '5b35887b1026fafe8174f473679d175a',
'5b35887b1026fafe8174f473679d175a',
'5b35887b1026fafe8174f473679d175a'
) )
target_install() target_install()

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -4,8 +4,8 @@ cfg_services0='dropbear network storage upgrade syslog ptpd'
cfg_services1='' cfg_services1=''
cfg_services2='dune' cfg_services2='dune'
cfg_modules='' cfg_modules=''
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi exiftool libusb' cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware bison binutils openssl linux/rpi exiftool libusb'
cfg_target_linux_kernel='arch/arm/boot/bzImage' cfg_target_linux_kernel='arch/arm/boot/zImage'
cfg_ptpd_interface='eth0' cfg_ptpd_interface='eth0'
cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1' cfg_eth_ext_gw='10.0.0.1'

View File

@ -1,2 +1,35 @@
# Core. # Please DO NOT modify this file; if you need to modify the boot config, the
arm_freq=1000 # "usercfg.txt" file is the place to include user changes. Please refer to
# the README file for a description of the various configuration files on
# the boot partition.
# The unusual ordering below is deliberate; older firmwares (in particular the
# version initially shipped with bionic) don't understand the conditional
# [sections] below and simply ignore them. The Pi4 doesn't boot at all with
# firmwares this old so it's safe to place at the top. Of the Pi2 and Pi3, the
# Pi3 uboot happens to work happily on the Pi2, so it needs to go at the bottom
# to support old firmwares.
[pi4]
kernel=uboot_rpi_4.bin
max_framebuffers=2
[pi2]
kernel=uboot_rpi_2.bin
[pi3]
kernel=uboot_rpi_3.bin
[all]
arm_64bit=1
device_tree_address=0x03000000
# The following settings are "defaults" expected to be overridden by the
# included configuration. The only reason they are included is, again, to
# support old firmwares which don't understand the "include" command.
enable_uart=1
cmdline=cmdline.txt
include syscfg.txt
include usercfg.txt

View File

@ -1,4 +0,0 @@
::sysinit:/sbin/services sysinit
::restart:/sbin/init
::respawn:-/usr/sbin/dropbear -F
::shutdown:/sbin/services syshalt

View File

@ -1,2 +0,0 @@
ttyAMA0 root:root 660 >terminal
ttyUSB[0-9]* root:root 660 */sbin/mdev-ttyusb