Commit Graph

230 Commits

Author SHA1 Message Date
Dongjin Kim
e4fe8d5f57 fixup: Use 'gzip' to compress method for 'initramfs'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I6dfc1bda3cf312f325801b3b84bcf000298e3325
2024-11-21 15:17:11 +09:00
phillip.choi
283818ed65 ODROID-M1: Change default kernel version
Current default kernel version of ODROID-M1 is 4.19.219.
Change default kernel version to 5.10.0 for focal distro,
or 6.1.0 for other distro.

Signed-off-by: phillip.choi <phillip.choi@hardkernel.com>
Change-Id: I9179434d0f1db1700a2015ebe98dfb39d38ead11
2024-11-19 10:58:11 +09:00
phillip.choi
aa8f25b1cf custom: Edit NPU custom files to support ODROID-M1/M1S/M2
Support ODROID-M1/M1S/M2 models using the same custom scripts. The basic
structure is almost the same as before, however, minor changes are as follows:

- Remove rga udev rule because same rule is already loaded on the
  startup
- Rename S15-add-repository to S25-add-repository to resolve dependency
  with key-signing at S20-install-packages
- Install packages and edit files differently based on the models.

Signed-off-by: phillip.choi <phillip.choi@hardkernel.com>
Change-Id: I15d658534bf2666cc12f1cd75431825210d09e05
2024-11-19 10:58:11 +09:00
Dongjin Kim
3ba8a8c4b6 ODROID-M1: replace ARM Mali X11 user space driver package
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Idb0716904d2a2efae2c835b10890063c2a7d61d0
2024-10-29 18:49:23 +09:00
Dongjin Kim
6f7a98f3ea ODROID-M2: Add new board ODROID-M2 with Rockchip SoC RK3588S2
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I30343abbc2614804a57abdc550da5f3465b22ef1
2024-10-07 12:53:08 +09:00
Dongjin Kim
9557100c43 ODROID-M1S: replace ARM Mali X11 user space driver package
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I9c6847b1acde87cbd7b75577581541b303f7a185
2024-09-19 11:12:59 +09:00
Dongjin Kim
86fdbaac40 custom: fix build configuration
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I7bea58078e0ca19ac97e3ba299fb01480b6d76ee
2024-09-19 11:12:59 +09:00
Dongjin Kim
ed56824137 custom: Add new build target for Kiosk with Chromium browser
Change-Id: I875338485b5d921d3409ae18f7b22d604d015c51
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2024-09-19 11:10:02 +09:00
Dongjin Kim
79b528e3da functions: fix to increase default BOOT partition size to 512MB
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I484ceffe29284b181947842dddc25c8320e5b26a
2024-07-18 18:12:27 +09:00
Dongjin Kim
4dddea633a firstboot: fix to enable PasswordAuthentication
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I8ac07f3febf9d0575d8cddb53e7b2eb1f6b3742c
2024-07-18 18:12:27 +09:00
Dongjin Kim
6dcb047db6 fixup: add 'non-free-firmware' repository for Debian
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ia7814946ab1dd24f928fd30b85a6d3a6061fcdfe
2024-06-21 12:23:21 +09:00
Dongjin Kim
eb32064c8a fixup: add install 'gnupg' by default before package update
Generating locales (this might take a while)...
Generation complete.
E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Iae93556895653c4fa09fa8946b5ee4c5c2669430
2024-06-21 12:23:21 +09:00
Dongjin Kim
668dd72f59 fixup: add install 'odroid-alsa' by default
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I1b0cc7f3e2f43007fe4efdaedfc43b1b52322be4
2024-06-21 12:23:21 +09:00
Dongjin Kim
27ab0e1c67 Add custom file from board/*/distro/*
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I5432708148cb4bd89a8e0fa4fa413d23a711b9e7
2024-06-03 03:47:34 +00:00
steve.jeong
4ab4aac61d odroid-stamper: Add build option "--addon-wifi".
for select install DKMS packages or not.

+) Add new directory "addon" it have no dependency of boards.

Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: Ic010d5bf433078f40872a1bd53990a7ffda90372
2024-05-22 16:57:16 +09:00
Dongjin Kim
d61a80b588 Add new Ubuntu version 24.04 (Noble Numbat)
Change-Id: Ic30b08536608f9336e17854e29387dcba4177182
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2024-04-22 15:53:20 +09:00
Dongjin Kim
45998fa676 fixup: add install 'flash-kernel' by default
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ic172538052a3283bf75cd0f1ca40d6b89f9a4f44
2024-04-09 14:29:57 +09:00
AreaScout
921c32130a Add: Do not exit Pulseaudio client if not used 2024-04-08 16:27:33 +09:00
Dongjin Kim
3c53b14a21 fixup: tempory create UUID of root file system
'flash-kernel' checks root file system when updating initramfs and put
its root file system device into 'conf/param.conf'. But when running
ODROID-Stamper, the device for the root file system is not present as a
block device, so it is confused and add '/dev/sda2' which is not
correct, this leads boot failure.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I83b832ea411f68e0c0491c0e21684331fad7656e
2024-03-19 19:02:19 +09:00
Dongjin Kim
d62c7c6a13 fixup: remove 'cloudimg-rootfs' in /etc/fstab
There would be two different root file system mount entries in
'/etc/fstab' added by ODROID-STAMPER and unknown component that must be
relatived to Ubuntu cloud service, but not sure which is. This leads to
add wrong root file system entry to 'initramfs' so it must be removed.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I598c8a591f0c2c57ba000d56323468c1b51d3489
2024-03-19 19:02:19 +09:00
Dongjin Kim
4cc80ed0cd functions: 'sys/firmware/efi/efivars' must be removed before unmounting /sys
Change-Id: Ic9d2cf40fd6ddfb40a7715983b3b3ae36b93d9df
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2024-03-19 19:02:19 +09:00
Dongjin Kim
feecc4b850 focal/overlay: add default Netplan config to set IP address at booting
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I29bbeb2b1b1f08c9d61124209fb4d6a637f1794a
2024-03-08 14:43:27 +09:00
Dongjin Kim
ae463e7218 firstboot: change value of 'KbdInteractiveAuthentication' to 'yes'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I5e9ce3611da43167b5166376d4a82fabddde4a55
2024-01-25 18:54:22 +09:00
Dongjin Kim
6052e54374 distro: remove softlink, use independent build script
Change-Id: I874845f75c5eabfc9037af5ba92374e26981896c
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2024-01-21 21:17:02 +09:00
Daniel Mehrwald
f285257283 Add: environment variables
set needed environment variables for user to restart service from shell
2024-01-21 21:14:02 +09:00
Dongjin Kim
6e1637b2bc Install 'linux-firmware' package in Ubuntu only
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: If47c70f90072d3514e2b65c0fe94916902523fe1
2024-01-21 00:58:37 +09:00
Dongjin Kim
04f9e36adf functions/fixups: edit /etc/fstab when it exists
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I5b8054b8951f16ba48da4cacdab5f7af23f91f1c
2024-01-21 00:30:59 +09:00
Dongjin Kim
f94f0e39f6 functions: remove dummy log shows kernel version
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ifd61bb1d5fbde024c5537ca2c40ada05dff55db7
2024-01-21 00:05:02 +09:00
Dongjin Kim
56173b95da functions: add use 'mountpoint' test before unmount
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I71f297b782d9623415ed1122139ff1ea302ff258
2024-01-21 00:03:33 +09:00
Dongjin Kim
37895c9c40 packages: add default packages for Debian Buster+
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ia1f6eefd300d02728164eff816911284941855f6
2024-01-21 00:03:23 +09:00
Dongjin Kim
642802dabc improve function to collect packages/blacklist
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Iea50c9f16e86d678105575955eabc73c2d3cd7fa
2024-01-20 23:48:55 +09:00
Dongjin Kim
330f86648b functions: add to build with extra space
Extra space in partitions can be defined in '/custom/*/partitions' by
adding symbols 'EXTRA_<BOOT|ROOT>_SIZE' with size in MBytes

	EXTRA_BOOT_SIZE=128
	EXTRA_ROOT_SIZE=256

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I08f0daae5abc12857986d29bb58a18afb40c1ee7
2024-01-20 23:48:55 +09:00
Dongjin Kim
a2586aad39 Revert "fixup: install 'network-manager' by default"
This reverts commit 8a4682c590.

Change-Id: I9ef993db6448db03920bb877a8ae1f643c0cb6f9
2024-01-20 23:48:55 +09:00
Dongjin Kim
e20e095691 Drop discontinued OS distributions
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Icdb69fa229db91dc1c5a7c4be97b3033a9b870bb

Change-Id: Ie769b61b6871b76298510ce49d0459b733bce494
2024-01-20 23:48:55 +09:00
Dongjin Kim
b5f0fc0fc3 functions: move 'do_extract()' to 'do_create_image()'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Idc158dcc3300fe881a2ce5da08cdef1a426e0361
2024-01-20 23:48:55 +09:00
Dongjin Kim
fc460b2d78 functions: move 'do_download_customimage()' to 'do_custom_installer()'
Since using offical Cloud Image, there is not *.tar.gz file that is the
format of custom OS image.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Id7cf40d0c5d3701ed66ab20ecb466e7319045daf
2024-01-20 23:48:55 +09:00
Dongjin Kim
45694d9adf functions: use official Debian Cloud Images same as Ubuntu
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I309600fd10930c23cad2adab0498d180b5ee261c
2024-01-20 23:48:55 +09:00
Dongjin Kim
1b12dcd15f functions: code clean up and less noisy
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ieac0404a10707dcf3c0b639d62f20de3ec7ce448
2024-01-20 23:48:55 +09:00
Dongjin Kim
93ea6dc2ed functions: improve copying custom files in order
Files in 'overlay' and 'fixups" needs to be copied in certain order and
overwrite when file name is same, so they can be applied as expected.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I41495bbf0f653be1b32c394aed9d28356c3d913d
2024-01-20 23:48:50 +09:00
Dongjin Kim
8dad9e86d0 fixup: remove 'linux-image-' from kernel package name
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I4c47e2e2b72062fd52a3a391b4746926c2ac78e7
2024-01-20 20:37:53 +09:00
Dongjin Kim
817128ba9a fixup: not install 'linux-image-arm64' for Debian
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ic7f0ef692f4f5977d8b745ff551ac0d5a4457186
2024-01-20 12:39:26 +09:00
Dongjin Kim
94f8a24a38 fixup: disable cloud services
Change-Id: I55a3a5d30e4bb1b2bdf74410fdf16cc6b7d69fdc
2024-01-20 12:39:21 +09:00
Dongjin Kim
8a4682c590 fixup: install 'network-manager' by default
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ib97272c7afd2b888891a7075215142a55a716e45
2024-01-20 04:40:32 +09:00
Dongjin Kim
29899f2339 fixup: make sure directory to store '/etc/resolv.conf'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I066665b172f5e8249d9a86e10a90d28b2cf561bd
2024-01-20 04:39:53 +09:00
Dongjin Kim
5bf531d3f8 fixup: remove EFI partition from '/etc/fstab'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Iac1d3d868db62959e238c74f0c4a7296bed01b31
2024-01-20 04:39:24 +09:00
Dongjin Kim
5957ef7f6d Merge pull request #13 from AreaScout/next
Add: SplashScreen and rework of KODI Service
2024-01-03 22:13:02 +09:00
AreaScout
1e801d3419 Add: SplashScreen and rework of KODI Service 2024-01-03 09:14:58 +00:00
Dongjin Kim
ffddff4209 Merge pull request #12 from ferbar/patch-1
functions: cleanup checks
2023-12-31 11:44:56 +09:00
Dongjin Kim
333a5dbdd0 Merge pull request #11 from AreaScout/next
Start KODI with both Pulseaudio and ALSA audio backend, it's needed to connect to Bluetooth speakers
2023-12-30 20:22:18 +09:00
AreaScout
59cef62559 Add: needed KODI startup service permissions 2023-12-29 11:39:06 +00:00