Commit Graph

2470 Commits

Author SHA1 Message Date
Igor Pečovnik
1221d59233
Build all targets RFC (#1515)
* Introducing build-all-ng
* Implementing REBUILD_IMAGES='board1,board2,...' for rebuilding certain images only
* Add optimisations when building kernels - only cycle trough needed targets. Adding variable for defining whether an image is build, otherwise only BSP is made.
* repository manipulating RFC
* Add bianco deb file that is added by default if repository is clean
* Switch to gpg2 signing method, small bugfix
* Create subdir for debs and debs-beta
* Synaptic bugfix: installing indexing tools https://forum.armbian.com/topic/8021-orange-pi-one-synaptic-package-manager-search-very-slow/?do=findComment&comment=74918
* add all modules by default to Odroid N2, but leave them commented
* Bugfix: not making any builds when selecting kernel_only
* Remove EXTERNAL=yes ... move armbian-config and armbian-firmware into main compilation area, drop others since they are deprecated anyway. This will also enable multi threaded images making
* Move armbian.list to create_sources_list function. Replace NTP by Chrony. Remove armbian-firmware from PACKAGE_LIST and RockPi 4A (#1528)
* Replace NTP by chrony. Remove installion of outdated armbian-firmware from reposity.
* added RockPi 4A
* New format for board config
* Fix Bluetooth dependencies for minimal package - add rfkill to family related installs
* Moving networkd-dispatcher from minimal image
* Cubox-i: update default config
* Improving umount process
* Add purgesource feature
* Add FULL_DESKTOP to install few more applications on top of our desktop - notebooks should * rk3399 default: adjust patches and configuration
* Enable full desktop on most powerfull boards and notebooks

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-01 22:13:13 +02:00
Igor Pečovnik
c042c503b3
Cleanup example config (#1523)
* Cleanup example config
* Update config-example.conf
* removing deprecated function
2019-09-01 00:12:00 +02:00
tbendiksen
1b5096e961 Kernel config changes to allow TCM/Target-core modules for iscsi/targetcli use (#1536) 2019-09-01 00:10:52 +02:00
Igor Pečovnik
405e0781f6
Update boot-odroid-n2.ini
https://forum.odroid.com/viewtopic.php?p=264047
2019-08-29 08:25:56 +02:00
Martin Ayotte
3d45d4e3ee add some USB_SERIAL to mvebu64 NEXT/DEV 2019-08-28 13:49:05 -04:00
Tim Clephas
c7c66a51de Keep next option for odroidxu4 (#1535)
Just use the same parameters as default
2019-08-27 10:48:55 +02:00
Igor Pečovnik
46f70c671e
Odroid XU4: disable NEXT since its identical to default and attach DEV to master (#1531)
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-26 21:15:50 +02:00
Igor Pecovnik
adef3c10d2
Rockchip64: updating remote tag for default branch. Boot test.
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-25 21:38:18 +02:00
Igor Pečovnik
31a077cfbe
Attached cubox-i default to stock, next to 5.2.y
* Attached cubox-i to stock kernel. Tested. Sadly ZRAM has some issues, so it must ramain disabled
* more imx6 updates for cubox/udoo
* Enable HDMI on Cubox-i

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-25 21:35:49 +02:00
Igor Pecovnik
631296f2e6
Odroid N2: attacht to last known working upstream tag since master is currently broken. Remove deprecated patches
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-21 17:24:15 +02:00
zhangn1985
6f4efcb677 enable AUFS for meson64-dev (#1525)
enable AUFS rc and adjust kernel config

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-08-19 14:32:22 +02:00
tonymac32
16464dea2d [ meson64-dev ] update config 2019-08-18 21:40:06 -04:00
Igor Pecovnik
c2383920fb
rockchip64: bump to most recent upstream tag
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-17 22:36:03 +02:00
Igor Pecovnik
90f8f01154
sunxi: slight kernel config adjustments.
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-16 19:25:38 +02:00
Igor Pečovnik
f416c35c16
Adding minimal image (#1504)
* Minimal build setup (#1463)
* Netplan folder check & armbian-tools dependency on expect (and tcl) solved (#1464)
* Prevent netplan configration if it is not installed
* Resolved expect dependecy of armbian-tools
* More packages added for armbian-tools
* Added python3-apt and rsyslog to minimal installation
* Debootstrap variant doesn't play nice. We loose networking and it affects standard builds as well. Removing.
* Python-to-Bash conversion (#1470)
* Remove python3-apt dependency from BSP package, fix netplan error also on Disco and putting back varint=minbase ... tested Disco, Bionic
* Distinguish package list: *-minimal.list and *-desktop.list
* Enable Wireguard back which was removed by mistake. https://github.com/armbian/build/issues/1471
* Having minbase debootstrap variant for all will require further adjustements with current package base - backward compatibility. Minimal image is now Python free but need further testings ...
* Add wireless-regdb and crda to the pakage base, fix Ubuntu keyring warning while debootstrap.
* Add figlet to sort out missing fonts
* Moving few packages here and there. Bugfix when creating a cache package list
* Manually compared base images - they are the same with small insignificant difference. Minimal image has to be futher tuned
* Adjustements for bash powered lsb_release, adding some needed packages
* Fixed (no) network problems on Bionic/Disco
* Add rsync to debootstrap_list and few minor fixes
* Adjust text in lsb_release
* Olimex Micro A20: fix wrong boot config
* Remove duplicate depenedency
* Odroid C1: adjust kernel config
2019-08-16 19:21:12 +02:00
Igor Pecovnik
610dd425d4
bugfix: orangepi Zero+ pointed to wrong u-boot config
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-16 15:29:25 +02:00
tonymac32
1529bbbd18 Merge branch 'master' of https://github.com/armbian/build 2019-08-15 23:16:10 -04:00
tonymac32
92c73ef5d7 Merge branch 'master' of https://github.com/zhangn1985/build into zhangn1985-master 2019-08-15 23:13:40 -04:00
Igor Pečovnik
d6aa58947a
Set serial console as default
This board does not have HDMI so its logical to have boot output on serial
2019-08-15 22:41:02 +02:00
David Rice
0fc2e40cbb [rockchip64-dev] Remove Nouveau/nVidia drivers - [sunxi-dev] create default configs for 5.3 (#1518)
* Remove Nouveau/nVidia drivers

* Create 5.3.0-rc4 config with defaults for new options

* Restore AUFS
2019-08-15 17:06:42 +02:00
Martin Ayotte
1a06bea5f3 add CONFIG_SND_SEQUENCER to Next/Dev (missing reported by MoeIcenowy) 2019-08-15 10:22:57 -04:00
tonymac32
8dd450831e [ meson64-dev ] La Frite correct device tree env variable
La Frite now successfully boots.
2019-08-14 23:12:34 -04:00
Zhang Ning
f49c6f8e2b [meson64-dev] update to 5.3 and refresh all patches
1: update meson 4K support patches:
2, HDMI i2s improvement patches:
3, update vdec patches:
4, update meson audio patches:
5, add meson crypto engine driver
6, remove disabled patches:
7  remove unknown patch or no need
8, remove merged patches:
9, remove unknown patches from khadas should be covered by patches set 2
10, rename patches for better grouping
11, update kernel config accordingly

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-08-15 08:48:52 +08:00
Martin Ayotte
a00375179b switch sunxi-dev to 5.3.0-rc3 2019-08-14 09:23:05 -04:00
Igor Pecovnik
6ce3d22865
Adjust rk3399 DEV to proper upstream tag. Closing https://github.com/armbian/build/issues/1516
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-14 08:29:12 +02:00
tonymac32
c2bf0fac14 [ Meson64-dev ] Bump to u-boot 2019.07, add WIP for La Frite
Also refactor how the if/then's work in the sources.

La Frite does not currently boot, placeholder.
2019-08-13 22:10:10 -04:00
Igor Pecovnik
bbca5b7e9b
Rockchip64: move to current upstream tags. Tested on Rock64Pro, booting PCI slot.
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-13 23:39:27 +02:00
Piotr Szczepanik
8a4cf4e107 [rockchip64-dev] enable DW HDMI I2S AUDIO interface (#1513) 2019-08-11 09:44:43 +02:00
Igor Pečovnik
663a64fce3
Update micro.eos 2019-08-07 23:09:49 +02:00
Werner
414f304b13 [sunxi-dev] add CPU_THERMAL (#1509)
* Update linux-sunxi-dev.config

* Update linux-sunxi64-dev.config
2019-08-06 21:01:18 -04:00
zhangn1985
78d28f8083 rebase sunxi-next to upstream LTS (#1507)
1, format all patches from https://github.com/megous/linux
   `git format-patch 79bf89b88a87f2ebf147f76d8c40183283b49b51...2a7cb228d29c3882c1414c10a44c5f3f59bfa44d`
   and copy them to sunxi-next with prefix `0000-`

2, remove unnecessary patches, due to they are revert of upstream patches:
    4d867e2bd6
    4e674a3000
    b8e05fe47e
    8bb8175edd
    a2888276ee

3, remove fail to apply and no use:
    960ddd63a8

4, remove WireGuard patch:
    1cd13b836c

5, remove meaningless patch:
    f26e36379a

6, remove merged or included by megous/linux patches:
   0112-mfd-axp20x-Add-supported-cells-for-AXP803.patch
   board-bpi-m3-make-ethernet-working.patch
   board-pine-h6-pine-h6-0025-phy-sun4i-usb-add-support-for-missing-USB-PHY-index.patch

7, remove stable release update patches.
   ignored.

8, rebase sunxi-next/sunxi64-next to upstream linux-4.19.y

test result:
   all patches applied, no error.
   orangepipc/orangpioneplus build OK.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-08-06 21:00:05 -04:00
Igor Pecovnik
5194d17539
rk3399: added fixed upstream patches, remove selinux due to broken headers, add latest rtl7156 driver, adjust kernel configuration. Briefly tested on T4. 2019-08-07 00:47:40 +02:00
Martin Ayotte
3de0ca0c49 fix A20-OLinuXino_MICRO-eMMC_config filename 2019-08-06 16:38:25 -04:00
Igor Pecovnik
0cc99ba7af
rockchip64: Add improved driver for RTL8156 2.5GBE USB based NIC.
Removed SE Linux since it breaks kernel headers and added upstream patch

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-06 18:31:59 +02:00
Tony
d8bfdf4803
Merge pull request #1502 from zhangn1985/kvim
merge KVIM1 u-boot blobs to odroidc2-blobs
2019-08-05 01:19:12 -04:00
tonymac32
3006ade998 [ Meson64-dev ] Update config for 5.2 2019-08-05 00:49:20 -04:00
Zhang Ning
36b42f1968 merge KVIM1 u-boot blobs to odroidc2-blobs
less external git.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-08-05 12:42:02 +08:00
Tony
bc4883e5ee
Merge pull request #1480 from zhangn1985/kvim
add support for Khadas VIM1
add HDMI tweaks from Jonas Karlman
small config update
2019-08-05 00:13:05 -04:00
Zhang Ning
d180c40c97 disable lima
when enable lima, it requires mesa upgrade or use fbdev for X11

and lima mesa driver is not ready for daily use.
use fbdev is same as disable lima

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-08-05 10:05:24 +08:00
chwe17
a040785d42 Tinkerboard camera support (#1482)
* fix kernelcrash with config_of_overlay combined with isp1 camera driver,based on:
30a8401c2f

* add basic dtbo infrastucture

* set ov5647 (RPi cam rev 1.3) as default, imx219 (RPi cam V2.1) outputs a blurry green videostream at the moment

* maybe fix powering for camera

* adjust mainline dtbo patch to bsp kernel

* got you! little.. dtbo's are properly built and applied during boot.

* add imx219 overlay to switch between cameras & add ae/awb fix for ov 5647 from asus tinker repo

* patch imx219 up to 96396323fa

* bring back wireguard, otherwise igor gets grumpy :D

* fix camera status
2019-08-04 18:05:50 -04:00
Igor Pecovnik
453554eae4
rockchip64-dev: remove deprecated patches, adjust patch, adjust configuration
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-04 08:00:42 +02:00
lanefu
09f7c70010
Odroidn2 tweaks (#1498)
* prefix uboot boot_scripts with /boot/ path

* load codec modules on desktop build
2019-08-03 14:06:31 -04:00
Igor Pecovnik
f035a82726
mvebu64: update dev to 5.2.y, rockchip64-default: attach to new tag + upstream patch, bump with version due to htop and sunxi kernels update
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-02 23:12:38 +02:00
count-doku
cde23300d8 Enable IIO and add bmp280 sensor module 2019-08-02 13:08:36 +02:00
Igor Pecovnik
34a109fbf9
Typos & small bugfixes, odroidxu4 and mvebu64-default kernel adjustements + upstream kernel patches
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-01 10:33:47 +02:00
Aditya Prayoga
e261c6f828 Move mvebu DEFAULT, NEXT and DEV branch to next kernel (LTS) and U-boot #1426 (#1487)
* Initial Mvebu RFC https://github.com/armbian/build/issues/1426

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

* mvebu: add missing patches

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

* mvebu: change making u-boot targets to standard way, adjust patches and config

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

* helios4: set default branch to use U-Boot 2018.11

Switch over to U-Boot 2018.11 that has been used for some time in next
branch.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: Enable DEV branch

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* u-boot: Add RTC support on Clearfog and Helios4

Added DM driver for mvebu RTC and enable it on Clearfog and Helios4
configuration.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* add boot-marvell.cmd backward compatibility

The patches added missing variable that used on boot-marvell.cmd and
also adjust the some memory addresses to prevent crash due to usage of
fdt_high and initrd_high.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* helios4: Added SPI NOR flash target

Build bootable SPI NOR flash image.
Change the boot order to USB -> SATA -> MMC

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Restore SPI support on U-Boot 2019.04

* mvebu: kernel: Added Wake-On-GPIO and WoL support

The patch set was missing during transition.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* [#1429] SolidRun's ARMADA A388 SOM U-Boot ODT Update

Old versions of U-Boot did not configure correctly the ODT on data
signals of DDR RAM on SolidRun's ARMADA A388 SOMs.

According to SolidRun Knowledge Base, the changes already pushed to
mainline U-Boot. But then it was overwritten when Marvell DDR Training
Tool updated

[URL]
https://developer.solid-run.com/knowledge-base/armada-38x-som-u-boot-odt-update/

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* [#1429] mvebu: u-boot: Add revision id for Armada 38x B0

Added patch for SolidRun U-Boot v2018.01 and
for Helios4 U-Boot v2018.11

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* clearfog: Added SPI NOR flash target

Build bootable SPI NOR flash image.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: clearfog: DEV branch use mainline U-Boot

Also move clearfog base patch into its own board folder.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: enable U-Boot uart target

Normal MMC image can be used for uart boot using following command:

./tools/kwboot -b u-boot-spl.kwb /dev/ttyUSBX

But on Helios4, the SPL failed to continue the booting process if ECC is
enabled, so disable it.

Since the usage of uart boot is more for rescue/debug, disable autoboot.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: NEXT branch use mainline U-Boot

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: fix fancontrol related bug during buster testing

- On kernel 4.19, cpu thermal sensor changed the name from
armada_thermal into f10e4078.thermal. Added this new name to udev rules
- Since DEFAULT branch now use kernel 4.14, update fancontrol
configuration
- Load lm75 kernel module
- On kernel 4.19, cpu temp reading about 20 degree C lower, update
fancontrol configuration.

[URL]
https://forum.armbian.com/topic/10214-clearfogpro-possible-change-in-temperature-reporting-between-414next-and-419dev

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: Override vendor provided fancontrol unit

systemd emit following message on dmesg

systemd[1]: /lib/systemd/system/fancontrol.service:9: PIDFile=
references path below legacy directory /var/run/, updating
/var/run/fancontrol.pid \xe2\x86\x92 /run/fancontrol.pid; please update
the unit file accordingly.

Override and change the value in the unit file to remove the message.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: DEV branch use its own u-boot patch folder

The patches are copied over from u-boot-mvebu-next

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: u-boot: Make clearfog model distinction more obvious

While at it, also change SerDes LANE4 into USB 3.0 on Clearfog Base.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* lib: Use apt-get install instead of dpkg on install_deb_chroot()

dpkg -i does not install dependencies required by the package.
This is needed if the BSP package requires other package that is not
installed during debootstrap.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* config: mvebu: helios4: Move various tweak to family_tweak_bsp()

Various tweak in family_tweaks_s() only applied to SD card image.
Move it to family_tweaks_bsp() so it will also included on the BSP
package and applied to existing user.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* config: mvebu: helios4: Add /etc/modules to BSP

On kernel 4.19, user need to modify the /etc/modules to add lm75 kernel
module. Pack the file into BSP so user no longer needed to modify it.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: kernel: Make zbud as built-in module

To remove the following error:
[    1.705485] zswap: default zpool zbud not available
[    1.705488] zswap: pool creation failed

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* bootscripts: mvebu: Add default value for spi_workaround

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: kernel: Backport armada_thermal changes to 4.14 (#1452)

On kernel 4.19, armada_thermal driver has been fixed to address
Marvell's Errata #132698 (The changes first appear on LK 4.16). The
result is temperature reading is around 20 degree Celsius lower.

Currently armbian-motd apply -20C tweak for both LK 4.14 and LK 4.19
which is incorrect. Instead of adding some logic on what condition to
apply the tweak, it is better to remove the tweak and patch the kernel
instead.

Revert commit b3dd4e9 ("[ mvebu ] Put back Armada temperature tweak in
motd")
which is part of #1421 solution.

[URL]
https://forum.armbian.com/topic/10214-clearfogpro-possible-change-in-temperature-reporting-between-414next-and-419dev/

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: unified fancontrol config

Since LK 4.14 on DEFAULT branch already patched and the temp reading is
same as LK 4.19 on NEXT branch, it is no longer needed to separate
fancontrol configuration file.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* u-boot: helios4: Remove rev id patch

The patch is already applied in helios4 repo, no need to have it in
armbian.
This revert helios4 part of commit 7411c55

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* u-boot: clearfog: enable PCIe support and PCIe reset

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* u-boot: clearfog: add boot-marvell.cmd backward compatibility

The patches added missing variable that used on boot-marvell.cmd and
also adjust the some memory addresses to prevent crash due to usage of
fdt_high and initrd_high.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: tweak regarding temperature setting

Make fan speed similar compared to pre-patched armada-thermal. Target
PWM value around 70 during idle.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* config: sources: clearfog to use u-boot 2018.01 for NEXT branch

This changes also affect Helios4. Moved the shared U-Boot source setting
back to Helios4 for NEXT branch.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* config: boards: build Stretch image for Clearfog and Helios4

Also remove DEV from Helios4 CLI_TARGET

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* kernel: mvebu-next: Disable access to SPI Flash

User need to set spi_workaround=yes to enable SPI Flash access and lost
access to internal SATA.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu-next: adjust kernel config

* mvebu-dev: bump to 5.2 and adjust kernel configuraion. Tested for building.

* Adjust kernel config, add AUFS

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

* mvebu-next: Adjust kernel config, add debug GPIO

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu-dev: separate Clearfog Base U-boot configuration file and patch

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2019-07-31 12:51:00 +02:00
Przemysław Sztoch
4d7d0e16bb ROOTPWD, HOST and rockpi-4a. (#1489)
* More configuration options (ROOTPWD and HOST).

* Prepared for RockPi4A without wifi.
2019-07-30 14:23:48 +02:00
Zhang Ning
45f295d630 meson64-dev: enable BT and lima
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-30 00:25:13 +08:00
Igor Pecovnik
49983682b4
Enable CONFIG_SQUASHFS_XZ where not enabled. Closes https://github.com/armbian/build/issues/1483
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-29 17:58:17 +02:00
Igor Pecovnik
5412aa7d9c
sunxi-dev/sunxi64-dev: update kernel configurations
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-29 17:54:31 +02:00