History log of /src/distrib/utils/embedded/conf/rpi.conf |
Revision | | Date | Author | Comments |
1.40 |
| 19-Nov-2022 |
yamt | Update a few www.raspberrypi.com URLs
|
1.39 |
| 01-Dec-2020 |
rin | G/C unused.
|
1.38 |
| 27-May-2020 |
jmcneill | Fix kernel= order, add pi0w conditional and comments
|
1.37 |
| 27-May-2020 |
jmcneill | Conditionally boot kernel.img or kernel7.img depending on board
|
1.36 |
| 18-May-2020 |
jmcneill | Separate devicetree .dts -> .dtb building from kernel builds. They are now part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This defaults to yes for earmv[67]* and aarch64, and no everywhere else.
|
1.35 |
| 16-Dec-2019 |
skrll | Update to new RaspberryPi firware
commit 0c01dbefba45a08c47f8538d5a071a0fba6b7e83 Author: popcornmix <popcornmix@gmail.com> Date: Wed Dec 11 15:30:08 2019 +0000
and include firmware for RPI4
Firmware has bee updated to support mainline linux kernels as described in https://github.com/raspberrypi/linux/issues/3237
|
1.34 |
| 12-Dec-2017 |
jmcneill | branches: 1.34.4; Fix spelling in error message
|
1.33 |
| 11-Dec-2017 |
jmcneill | Add missing RPI FDT build goop, from nick.
|
1.32 |
| 28-Nov-2017 |
kre | Be more precise about exactly what fails when something does.
Relying upon set -e to abort things is sort of OK (it is not a recommended option to use in general - too many odd special cases), but only if user can work out from the "build failed" what actually went wrong.
Tested only on amd64 build (for this, i386 is the same) - if anyone has problems on builds for other systems, please let me know. However the changes affect only failure paths, the most likely problem would be for a build to fail to halt on an error, and I hope I have avoided that. There should be no difference at all to error-free builds.
|
1.31 |
| 09-Nov-2017 |
skrll | Trailing whitespace
|
1.30 |
| 31-Jul-2017 |
jmcneill | Create a config.txt for RPI and set 'enable_uart=1' and 'force_turbo=0'. This config gives us a stable core_freq clock that is used to drive the SD HOST and AUX UART devices.
More information on config.txt settings for the UART can be found here:
https://www.raspberrypi.org/documentation/configuration/uart.md
|
1.29 |
| 19-Apr-2015 |
hubertf | Cleanup: make_filesystems is not used any longer, purge remains
|
1.28 |
| 06-Apr-2015 |
jmcneill | Add support for auto-growing the root partition. Enable it for rpi.img.
|
1.27 |
| 06-Mar-2015 |
skrll | Add RPI2 to kernels build for both earmv[67].
Use the earmv6 built kernels to create an image that can be used on both RPI and RPI2
|
1.26 |
| 12-Feb-2015 |
jmcneill | actually write cpufreq changes to ${mnt}/etc/rc.local instead of /tmp/a
|
1.25 |
| 06-Feb-2015 |
jmcneill | By default, RPI firmware sets the max CPU frequency to 600MHz. This can be overridden by setting arm_freq in config.txt, but the default freq at boot is still 600MHz.
Add logic to rc.local to compare the current vs. max CPU frequency; if they differ, set the target frequency to the maximum.
|
1.24 |
| 28-Nov-2013 |
skrll | branches: 1.24.4; Put console=fb back as autodetect is bunged up.
|
1.23 |
| 16-Sep-2013 |
ast | After discussions with cristos regarding the previous commit, he convinced me it was sufficient to define GZIP_CMD only in distrib/utils/embedded/mkimage and not again in the config files beagleboard.conf, rpi.conf, and rpi_inst.conf similar to how the other variables $src, $release, $mnt, ... are only defined there.
|
1.22 |
| 14-Sep-2013 |
ast | Fix build release of evbarm which had been failing in mkimage beagleboard_smp with the elusive message:
"gzip: can't stat: gzip: No such file or directory"
This was due to GZIP=gzip being defined in mkimage; we now use:
GZIP_CMD=${TOOL_GZIP:-gzip} # ${GZIP} is special to gzip(1)
as distrib/sets/sets.subr already does in these files as well:
distrib/utils/embedded/mkimage distrib/utils/embedded/conf/beagleboard.conf distrib/utils/embedded/conf/rpi.conf distrib/utils/embedded/conf/rpi_inst.conf
|
1.21 |
| 01-Aug-2013 |
jmcneill | use console auto detection, ok nick
|
1.20 |
| 24-Mar-2013 |
jmcneill | turn on devpubd
|
1.19 |
| 20-Feb-2013 |
riz | branches: 1.19.4; Use "gzip -dc" instead of "zcat" - some versions of zcat don't grok gzip.
|
1.18 |
| 17-Feb-2013 |
jmcneill | gzcat -> zcat
|
1.17 |
| 10-Feb-2013 |
jmcneill | dont use echo -n
|
1.16 |
| 09-Feb-2013 |
christos | handle renaming and uncompressing the kernel
|
1.15 |
| 09-Feb-2013 |
jmcneill | add missing }
|
1.14 |
| 08-Feb-2013 |
christos | change to take the full kernel path
|
1.13 |
| 03-Feb-2013 |
christos | switch to makefs
|
1.12 |
| 23-Jan-2013 |
skrll | cmdline needs to be a line! hi jak.
|
1.11 |
| 21-Jan-2013 |
jakllsch | branches: 1.11.2; Specify the root device in cmdline.txt, also, it's 'Pi', not 'PI'.
|
1.10 |
| 21-Jan-2013 |
skrll | kernel.img is for rpi only
|
1.9 |
| 16-Jan-2013 |
christos | - Add support for xsets - Factor out common evbarm code
|
1.8 |
| 15-Jan-2013 |
christos | now that we compute sizes correctly, reduce the extra to how much free space we want.
|
1.7 |
| 15-Jan-2013 |
christos | make autosizing work (kind of)
|
1.6 |
| 15-Jan-2013 |
christos | first step at autosizing, still does not work.
|
1.5 |
| 13-Jan-2013 |
christos | append to rc.conf, don't overwrite
|
1.4 |
| 13-Jan-2013 |
christos | add the comp set
|
1.3 |
| 13-Jan-2013 |
christos | use variables for the fdisk command too
|
1.2 |
| 13-Jan-2013 |
christos | Autosize label
|
1.1 |
| 13-Jan-2013 |
christos | Adjust mkimage to handle RPI. From skrll@
|
1.11.2.3 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.11.2.2 |
| 23-Jan-2013 |
yamt | sync with head
|
1.11.2.1 |
| 21-Jan-2013 |
yamt | file rpi.conf was added on branch yamt-pagecache on 2013-01-23 00:04:28 +0000
|
1.19.4.3 |
| 23-Jun-2013 |
tls | resync from head
|
1.19.4.2 |
| 25-Feb-2013 |
tls | resync with head
|
1.19.4.1 |
| 20-Feb-2013 |
tls | file rpi.conf was added on branch tls-maxphys on 2013-02-25 00:24:47 +0000
|
1.24.4.4 |
| 06-Aug-2015 |
snj | Pull up following revision(s) (requested by skrll in ticket #909): distrib/sets/lists/etc/mi: revision 1.237 distrib/sets/lists/tests/mi: revision 1.613 distrib/utils/embedded/conf/armv7.conf: revisions 1.1, 1.2 distrib/utils/embedded/conf/beagleboard.conf: delete distrib/utils/embedded/conf/evbarm.conf: revisions 1.21, 1.22 distrib/utils/embedded/conf/rpi.conf: revisions 1.28, 1.29 distrib/utils/embedded/conf/rpi_inst.conf: revisions 1.7, 1.8 distrib/utils/embedded/conf/usermode.conf: revision 1.5 distrib/utils/embedded/conf/x86.conf: revision 1.5 distrib/utils/embedded/files/resize_disklabel: revision 1.1 distrib/utils/embedded/mkimage: revisions 1.49, 1.55-1.59 etc/defaults/rc.conf: revision 1.133 etc/etc.evbarm/Makefile.inc: revisions 1.72, 1.76 etc/rc.d/Makefile: revision 1.93 via patch etc/rc.d/resize_root: revisions 1.1-1.3 etc/rc.d/root: revision 1.5 sbin/resize_ffs/Makefile: revision 1.5 sbin/resize_ffs/resize_ffs.8: revisions 1.14-1.16 sbin/resize_ffs/resize_ffs.c: revisions 1.39-1.44 share/man/man5/rc.conf.5: revision 1.158, 1.159 tests/sbin/resize_ffs/Makefile: revision 1.4 tests/sbin/resize_ffs/common.sh: revision 1.14 tests/sbin/resize_ffs/t_check.sh: revision 1.1 tests/sbin/resize_ffs/t_grow.sh: revision 1.9 tests/sbin/resize_ffs/t_grow_swapped.sh: revision 1.3 tests/sbin/resize_ffs/t_shrink.sh: revision 1.8 tests/sbin/resize_ffs/t_shrink_swapped.sh: revision 1.2 fix image building: - round up the total size of the disk image - fix fdisk offset for netbsd ffs images -- Make get_dev_size work on regular files too. -- Use `!= -1' instead of `== 0' out of paranoia. -- - Add -c to check to see if grow/shrink is required - Divide by DEV_BSIZE when returning size of file. - Update manpage -- New sentence, new line. Sort option descriptions. -- Add resize_root boot operation. If resize_root=YES in rc.conf then the system attempts to resize the root file system to fill it's partition prior to mounting read-write. Useful for things like AMI file system images. May eventually be used by arm images after coming up with similar solution for increasing the parition size. -- - Add new tests for -c check flag in resize_ffs -- Bump date for previous. it's -> its -- Handle case in grow() where last cylinder group is too small for ufs2. Align with code in shrink(). -- factor out geometry calculation and use this also in CheckOnly mode. be a bit more verbose in Verbose mode. -- Add support for auto-growing the root partition. Enable it for rpi.img. -- initialize resize before pulling in board config -- add KEYWORD: interactive, honour resize_root_flags and resize_root_postcmd rc vars -- if the -p flag is specified, display a progress bar while growing the file-system -- show resize_ffs progress bar when resizing root partition -- fix typo in previous; pass -y unconditionally to resize_ffs, not -p -- Rename beagleboard.img to armv7.img. The new image includes the same kernels as beagleboard.img plus support for Raspberry Pi 2, ODROID-C1, Cubieboard2, Cubietruck, Hummingbird A31, and Banana Pi. -- Properly spell X' name. From X(7): The X.Org Foundation requests that the following names be used when referring to this software: X X Window System X Version 11 X Window System, Version 11 X11 -- Add some documentation: Tell what this does, and what it expects from conf files -- Cleanup: make_filesystems is not used any longer, purge remains -- More cleanup: Instead of first overwriting the *_evbarm functions with own code, and then calling them from the regular functions, directly put the code into the regular functions. No more functions from evbarm.conf are used now. Some variables are still used! -- define TOOL_MKUBOOTIMAGE for mkimage -- fix mkubootimage
|
1.24.4.3 |
| 11-Mar-2015 |
snj | Pull up following revision(s) (requested by skrll in ticket #582): distrib/utils/embedded/conf/rpi.conf: revision 1.27 etc/etc.evbarm/Makefile.inc: revision 1.70 sys/arch/arm/broadcom/bcm2835_intr.c: revision 1.5-1.7 sys/arch/arm/broadcom/bcm2835_obio.c: revision 1.23, 1.24 sys/arch/arm/broadcom/bcm2835_space.c: revision 1.8 sys/arch/arm/broadcom/bcm2835reg.h: revision 1.14 sys/arch/arm/broadcom/bcm2835var.h: revision 1.2 sys/arch/arm/broadcom/files.bcm2835: revision 1.24 sys/arch/arm/cortex/a9_mpsubr.S: revision 1.30 sys/arch/arm/cortex/armperiph.c: revision 1.8, 1.9 sys/arch/arm/cortex/gtmr.c: revision 1.9 sys/arch/arm/cortex/gtmr_var.h: revision 1.5 sys/arch/arm/cortex/mpcore_var.h: revision 1.3 sys/arch/arm/include/cpu.h: revision 1.84 sys/arch/evbarm/conf/RPI2: revision 1.1, 1.2 sys/arch/evbarm/conf/RPI2_INSTALL: revision 1.1 sys/arch/evbarm/conf/RPI: revision 1.59, 1.60 sys/arch/evbarm/conf/mk.rpi: revision 1.4 sys/arch/evbarm/conf/std.rpi: revisions 1.16-1.19 via patch sys/arch/evbarm/rpi/genassym.cf: revision 1.2 sys/arch/evbarm/rpi/rpi.h: revision 1.4 sys/arch/evbarm/rpi/rpi2_start.S: revision 1.1 sys/arch/evbarm/rpi/rpi_machdep.c: revision 1.57, 1.58 via patch sys/arch/evbarm/rpi/rpi_start.S: revision 1.13 Move some options into std.rpi -- Add __HAVE_MM_MD_CACHE_ALIASING Pull up following revision(s) (requested by skrll in ticket #582): Fix TPIDRPRW_IS_CURLWP builds. -- A MULTIPROCESSOR kernel requires TPIDRPRW_IS_CURCPU. -- Use TPIDRPRW_IS_CURLWP as it's a slight code reduction and performance improvement. Initial RPI2 support - it doesn't work yet. The generic timer gets messed up somehow. This commit changes the KVA layout of the RPI. -- Make this compile where gtmr isn't used. -- Spin up the non-boot CPUs, but don't allow cpu_boot_secondary_processors to see them for now. RPI2 nows works well with only the boot cpu. -- Appease a KASSERT - will be remove when MULTIPROCESSOR RPI2 is fixed. -- Add RPI2 to kernels build for both earmv[67]. Use the earmv6 built kernels to create an image that can be used on both RPI and RPI2 -- Add an RPI2_INSTALL
|
1.24.4.2 |
| 14-Feb-2015 |
snj | Pull up following revision(s) (requested by jmcneill in ticket #511): distrib/utils/embedded/conf/rpi.conf: revision 1.26 actually write cpufreq changes to ${mnt}/etc/rc.local instead of /tmp/a
|
1.24.4.1 |
| 08-Feb-2015 |
snj | Pull up following revision(s) (requested by jmcneill in ticket #496): distrib/utils/embedded/conf/rpi.conf: revision 1.25 By default, RPI firmware sets the max CPU frequency to 600MHz. This can be overridden by setting arm_freq in config.txt, but the default freq at boot is still 600MHz. Add logic to rc.local to compare the current vs. max CPU frequency; if they differ, set the target frequency to the maximum.
|
1.34.4.1 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|