Commit graph

7492 commits

Author SHA1 Message Date
Igor Pecovnik
384d333e76
Rockpi4: Change parition table to GPT
This should enable direct booting from NvME

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-10 22:39:09 +02:00
Igor Pecovnik
a61ad8fa4c
Add GPT parition table support Leave unchanged / mbr by default since GPT doesn't works everywhere. 2020-06-10 22:32:03 +02:00
The-going
069afc183a
Fix file encoding of the locale generator (#2000)
This is a minimal fix for the correct display
of characters in the applications, especially the console.

For example, if the locale-gen command is only for one locale
locale-gen ru_RU.UTF-8
Then the console application MC instead of a line in the frame outputs:

@
@@@@@@@@@@@@@@@@@@
@   README.md
@@@@@@@@@@@@@@@@@@
@
@

Setting variables to LC_ALL=C LANG=C is not necessary in this construction.
The line with the editor is not needed.
The 'locale-gen en_US.UTF-8 xx_XX.UTF-8' command
will fix this file itself.
2020-06-10 18:38:10 +02:00
The-going
bce24a2e8d
delete Checking out sources from compile_uboot() (#1999)
At this point the repository is already clean,
and the next line is not needed.

Fix issues #1952
2020-06-10 12:37:20 -04:00
David Pottage
5d88511bb3
Add earlycon for early verbose boot messages. (#1871)
* Add earlycon for early verbose boot messages.
* Update boot-cubox.cmd
* Update boot-rockchip.cmd
* Update boot-rockpis.cmd
* Update boot-sunxi.cmd
* Update boot-udoo.cmd

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-06-10 18:31:50 +02:00
The-going
dc95a3f9a3
Fixed checking the target git sources (#1998)
* Exit if you can't create a directory
  Otherwise the entire folder structure will crash

* git rev-parse --git-dir will always return ".git" line
  if we are in the git repository folder.

When there is a symbolic link in the path, some functions
will not return what is expected. This condition is always true.
$(git rev-parse --show-toplevel) != $(pwd)

This commit fixes this threat
2020-06-10 18:15:08 +02:00
wahlm
ddad2293c2
SUNXI(64): define DRM_SUN4I as module (#2012) 2020-06-10 08:01:24 +02:00
Piotr Szczepanik
442fd248c3
Downgraded DDR blob for RockPi 4 to fix 1GB model boot issue (#2010) 2020-06-08 08:47:46 +02:00
5kft
9e51b2af08
[ sunxi-current ] add upstream patches 2020-06-07 07:02:27 -07:00
Piotr Szczepanik
df0083d395
Enabled HDMI audio for OrangePi 4 (#2009) 2020-06-06 19:52:47 +02:00
MarkoBursic
4fc10487f4
tested, working (#2008)
Author: @martinayotte
2020-06-05 10:08:03 +02:00
gymnodemi
2629dab612
Fixed RAM size for renegade (roc-rk3328-cc) in dev and current (#2006) 2020-06-04 21:04:34 +02:00
guidol70
7196353ac9
delete additional modules-line in nanopia64.csc (#2007)
these modules arent in the image and also wouldnt be used for sound & network, because other modules are doing this work.
This - now deleted - module-line does generate a error-message in the onscreen-boot-log (not in dmesg) and can be read via :
systemctl status systemd-modules-load.service

result of this command:
Jun 04 13:07:49 npi-a64 systemd-modules-load[531]: Failed to find module 'sunxi_codec'
Jun 04 13:07:49 npi-a64 systemd-modules-load[531]: Failed to find module 'sunxi_i2s'
Jun 04 13:07:49 npi-a64 systemd-modules-load[531]: Failed to find module 'sunxi_sndcodec'
Jun 04 13:07:49 npi-a64 systemd-modules-load[531]: Failed to find module '8723bs'

without this module-line /etc/modules should be empty and the error-message is gone away
the 8723bs seems to be a artifact of teh former PineA64 image where the NanoPi A64 was forrmerly build of.
Maybe also the other 3 modules.
2020-06-04 13:12:40 +02:00
Werner
72e9782493
Revert "Implement a possible workaround for initird corruption (#2004)" (#2005)
This reverts commit a1a20f4572.
2020-06-03 23:30:43 +02:00
5kft
c5b787f4ab
[ sunxi-current ] add upstream patches 2020-06-03 07:21:07 -07:00
Igor Pecovnik
436a5681b5
Proper fix for ramdisk corruption seen on Focal / Bullseye
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-03 08:45:30 +02:00
Igor Pecovnik
abaae64c80
Merge branch 'master' of https://github.com/armbian/build 2020-06-02 16:42:23 +02:00
Igor Pecovnik
2fa2b61c21
Disable console on Nanopi M1 mUSB since its broken
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-02 16:42:13 +02:00
Igor Pečovnik
a1a20f4572
Implement a possible workaround for initird corruption (#2004)
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-02 16:40:41 +02:00
Igor Pecovnik
5e7199f567
Few more changes to the images build list
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-31 17:43:27 +02:00
Igor Pecovnik
9cda37d460
Disable useless patch
We don't need to enable UARTS and OTG by default on all Nanopi boards. This seems to cause instability on M1

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-30 20:07:19 +02:00
Igor Pečovnik
3c1366e95b
Move master to next release trunk 2020-05-30 10:30:42 +02:00
Igor Pecovnik
1736c5dbf2
Changes to build targets
Build targets fine tuning

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-30 10:17:24 +02:00
Werner
7c6fc4ec73
Allwinner H6 - Remove CPU soft-cap (#1996)
No longer necessary due to the recently added thermal trips
2020-05-29 13:11:46 +02:00
Igor Pečovnik
9c6ef73c5b
Add vendor name to the board description (#1997)
* Add vendor name to the board desctiption, move Cubieboard 1 to supported
2020-05-29 12:22:38 +02:00
Igor Pecovnik
256d08fe11
Bugfix: fdisk package is absent in older versions
Redistribute accordingly https://github.com/armbian/build/pull/1992 and bump with fscache version.

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-29 09:36:48 +02:00
5kft
f81c444b34
[ sunxi-dev ] update thermal-zone configuration for H6 2020-05-28 16:57:55 -07:00
5kft
ddfb860c7a
[ sunxi-current ] update thermal-zone configuration for H6 2020-05-28 16:57:39 -07:00
Igor Pečovnik
0832201958
Rework of image signing. (#1995)
* Rework of image signing. We compress the image first, then signing and shaing that.

Based on @belfastraven work https://github.com/belfastraven/build/blob/pre-new-doc/lib/debootstrap.sh

* Uncompressed images can be removed

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-28 15:52:44 +02:00
zciendor
a0d6f21ac7
various minor fixes (#1993)
* fix permisson denied error happening in line 79

`mktemp` creates files with `-rw-------` (on Ubuntu bionic at least), which causes `line 79` to throw a permission denied error if the file isn't world readable.

* fixes umount error caused by single quotes

* force metadata duplication for btrfs root

Without this change metadata duplication is automatically turned off for `mkfs.btrfs` when the **build system** has a SSD drive.
However, since Armbian image is most likely flashed to a SD card afterwards, the drive type of the build host system should not be the deciding factor.
Metadata duplication is a good idea (better reliability) to have on a SD card.

From `man mkfs.btrfs`:
```
-m|--metadata <profile>
           Specify the profile for the metadata block groups. Valid values are raid0, raid1, raid5, raid6, raid10, single or dup, (case does not matter).

           A single device filesystem will default to DUP, unless a SSD is detected. Then it will default to single.
```
2020-05-28 10:52:54 +02:00
zciendor
a5815c6350
bullseye: armbian-resize-filesystem fails on first run due to missing fdisk (#1992)
* armbian-resize-filesystem fails on first run due to missing fdisk

The `fdisk` package is missing in the `minimal` image, in bullseye at leat. Maybe other, future minimal images as well.
This will cause the `armbian-resize-filesystem` script to fail on first boot, which contains several
`fdisk` references. This could be fixed in the `bullseye` specific section, but since fdisk is so
essential for Armbian, it's probably best to list it in the general, mandatory packages to make sure it's available in every image in any case.
2020-05-28 10:50:56 +02:00
zciendor
f63d07e7ec
make sure cryptsetup-initramfs is installed in any case (#1991)
* fix for https://github.com/armbian/build/issues/1584

Since Debian buster the final `update-initramfs` call must be made
on the finished image where the final root device is mounted, else
`cryptsetup-initramfs` hooks fail to detect the root device.

* Merge remote-tracking branch 'upstream/master'

* make sure cryptsetup-initramfs is installed in any case if CRYPTROOT_SSH_UNLOCK is configured

Before Debian **bullseye**, `cryptsetup-initramfs` was a hard dependency of the `cryptsetup` package. Not anymore.
Therefore we need to install `cryptsetup-initramfs` explicitly, else CRYPTROOT_SSH_UNLOCK won't work.
2020-05-28 10:48:32 +02:00
5kft
4d62ef270d Merge branch 'master' of https://github.com/armbian/build 2020-05-27 12:23:40 -07:00
5kft
6fe3196d50
[ sunxi-current ] add upstream patches 2020-05-27 12:22:18 -07:00
Igor Pečovnik
6eaba6bfd0
Adjust board statuses (#1989)
* Adjust CONF, CSC and WIP statuses

* add table

* Typo
2020-05-27 20:31:49 +02:00
Jayantajit Gogoi
7efb5014a2
Enable vcc_sd regulator on boot for NanoPi R2S (#1990)
NanoPi R2S has the same issue as ROC-RK3328-CC.
With working GPIO, during init the GPIO state s reset.
This causes the sdmmc regulator to shut down, preventing detection.
Removing and replacing the card will allow it to be detected, but that should not be necessary.
Fix this by setting the regulator on at boot.

Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Link: 75aa567803
Signed-off-by: Jayantajit Gogoi <jayanta.gogoi525@gmail.com>
2020-05-26 22:20:31 +02:00
Igor Pečovnik
fe36958241
Add Odroid C4 legacy build (#1983) 2020-05-25 19:22:16 +02:00
Muhammed YILDIRIM
d7a05b5781
sed regexp fix (#1984)
This definitely needs to change only `/var/log/`, not every `log` folder.
2020-05-25 19:21:53 +02:00
Ash
a3ee59032b
Set Rock Pi S dev targets as stable (#1988) 2020-05-25 19:18:44 +02:00
Miouyouyou
5ffefd40ab
[RFC] RK3288 : Add HDMI resolutions (#1887)
* patch: kernel: rockchip-dev: Handle more resolutions with HDMI (β)

The added patch add more PLL configurations, in order to satisfy
more HDMI frequencies requirements.
This should allow users to benefit from more resolutions.

However, this is fairly untested. I only tested it on my 1080p
screen and, yeah, it works but so does the kernel without this
patch.

Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>

* patch: kernel: rockchip-dev: Handle more resolutions with HDMI (β)

Now with proper patches names.

Anyway :

The added patch add more PLL configurations, in order to satisfy
more HDMI frequencies requirements.
This should allow users to benefit from more resolutions.

However, this is fairly untested. I only tested it on my 1080p
screen and, yeah, it works but it also does without this
patch.

So could anyone test this with the following configurations ?

* [ ] A HDMI 4K screen
* [ ] A HDMI 1366x768 screen resolution
* [ ] A VGA screen with a VGA to HDMI adapter
* [ ] A DVI screen with a DVI to HDMI adapter

Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>

* Using the patches provided by @Kwiboo for HDMI

This provides me way more resolutions, including interlaced modes.

I don't see 4K modes, though the screen attached can't do it,
so I still don't know if that can help provided 4K modes on mainline
kernels.

Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>

* Support for 4K screens

Using fixes provided by @czak

Tested and approved by @czak too !

Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
2020-05-24 23:08:01 +02:00
Igor Pečovnik
e5876ba032
Adjust hostapd patches to apply without errors (#1985)
* Adjust hostapd patches to apply without errors
* Cleanup FUZZ from patch
* Fix patch
* Disable broken feature
2020-05-24 20:31:27 +02:00
xwiggen
93b690c22f
Require fping for armbianmonitor -u (#1986) 2020-05-24 15:58:43 +02:00
5kft
c7032ccdc2
[ sunxi-dev ] add correct H3 and H5 thermal zones and cooling maps 2020-05-23 09:27:41 -07:00
5kft
cc55d03a7b
[ sunxi-current ] add correct H3 and H5 thermal zones and cooling maps 2020-05-22 17:49:57 -07:00
Igor Pečovnik
faac552921
Workaround for Snap-less Chromium on Focal by downloading it from Debian (#1982)
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-22 00:26:27 +02:00
briaeros
3e671feb99
Espressobin: Activation of HIDDEV (#1980)
Some UPS (eaton, APS, ...) use usb generic  HID to communicates.

Co-authored-by: alpha <alpha@oni.bria007.homelinux.net>
2020-05-22 00:25:51 +02:00
Jagmn
c92fdd1161
[h3] Fix SPDIF clock multiplier settings (#1981)
There have been intermittent issues with SPDIF output on H3 & H2+ devices.
    Digging into the H2+ & H3 datasheets I encountered an important clue on
    table 8.7.2.2: s_clk needs to be 4x24.576 MHz or 4x22.5782 Mhz.
    Probably due to how SPDIF is a huge oversample of the audio frequency.

Co-authored-by: George Lander <lander@jagmn.com>
2020-05-22 00:24:33 +02:00
Igor Pečovnik
99f6bef7de
Attach Meson64 CURRENT to 5.6.y and make DEV = CURRENT at this point. (#1956)
* Attach Meson64 CURRENT to 5.6.y and make DEV = CURRENT at this point.

There is a lot of changes to 5.7.y and can be done after release or by someone that feels a need for this right now.

* Delete meson64_fclk_div3.patch

this fix has been upstream for some time, I had issues with it on 5.4, which is why it had been removed there.

* [ meson64 current ] kconfig tweak

disable Rockchip SoC drivers

* [ meson64 current ] remove rockchip patches

* [ meson64 current ] disable CMA patch GX

* [ meson64 current] add libretech cc audio patch

This brings the dts even with the khilman 5.8/integ branch which includes all of the audio changes.  The kernel is registering audio devices, however nothing comes out.  committed in case someone wants to spend time debugging/testing theories.

* fix permissions

was editing from another machine, accidental change of permissions in the patch

* Set default mixer settings

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* [ meson64 current ] GXL audio commit

This moves to the mainline patches and covers le potato and la frite.  Adjusted asound config to handle a commonized sound card name.

* [ meson64 current ] add gxbb audio WIP

Playback is too fast, a clock setting is off somewhere.

* Update kernel configs

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

Co-authored-by: Tony <tonymckahan@gmail.com>
2020-05-22 00:17:08 +02:00
Grimorka
3da7f698ce
Enable external RTC (#1979)
* Update linux-rockchip64-dev.config

* Update linux-rockchip64-current.config
2020-05-21 18:35:05 +02:00
Igor Pecovnik
f8496ad914
workaround: s5p6818 attach to last know working tag
There are some changes in the recent version that breaks network driver

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-21 10:35:25 +02:00