Commit Graph

352 Commits

Author SHA1 Message Date
steve.jeong
290c592cef debian: update package version 3.13.5
modify depends of libwiringpi2. it has itself as a depedency.

Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: Ie42ae9714584f24721521328dbc22d130ae525e7
2022-09-13 14:01:05 +09:00
steve.jeong
ba573bd8dd deb-versdion: Add epoch.
update package version 3.13.4

Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: I0c0443efcd8ab01273e107a8a34a15c04e8ae7be
2022-09-13 11:33:33 +09:00
steve.jeong
4c7062ca74 ODROID-COMMON: [solve] syntax error near unexpected token `LIBCRYPT,'
Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: I1bce1ff782ba93bf76253a8df3dcca70457b5090
2022-09-08 14:18:11 +09:00
steve.jeong
8dfc878647 debian: update package version 3.13.3
Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: I59643fc4c7bad0c68229f8cda3fc431da85cdc48
2022-06-09 11:07:59 +09:00
steve.jeong
bfadb61639 ODROID-N2/C4: add path of ADC in kernel 5.x
Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: I5abeaa0c863bb447e6a44efc9a1e348cb190ccf9
2022-06-09 10:08:26 +09:00
steve.jeong
4132c07cc9 debian: update package version 3.13.2
gpio readall error:
gpio pin value dumped when using command "gpio write $PIN $VALUE" and call "gpio readall"

ODROID-M1: Add udev rules for gpiomem

default: gpiomem

change machanism gpiomem or libgpiod
use or not -DDEVMEM in wiringPi/Makefile.am (Linux) Android.bp (Android)

Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: Ie389c338e5082a94638d00983801f18fef1cbfaa
2022-05-30 10:20:37 +09:00
steve.jeong
b3d4dfbfb5 debian: update package version 3.13.1
ODROID-COMMON: Add link libgpiod
ODROID-N2/C4: fix odroid-wiringpi postinst

server build error: link
./configure: line 3480: syntax error near unexpected token `LIBCRYPT,'
./configure: line 3480: `PKG_CHECK_MODULES(LIBCRYPT, libcrypt)'

local build error: link
/usr/bin/ld: undefined reference to `gpiod_line_set_value' ...

local build error: odroid-wiringpi.postinst error
cp: cannot stat '/tmp/odroid-wiringpi/rules.d/99-odroid-wiringpi-aml.rules': No such file or directory

Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: I0faf7710461ab487afdf02a8e5511ea2a6385f7e
2022-04-15 17:21:00 +09:00
steve.jeong
b79592b039 debian: update package version 3.13
Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: Ic250c144a27c93b4da8942bb885692f0455544dc
2022-04-14 18:57:05 +09:00
steve.jeong
86db3991a5 ODROID-N2/C4: fix compile error at http://ppa.launchpad.net/hardkernel/ppa/ubuntu
wiringPi/Makefile.am:50: error: blank line following trailing backslash
autoreconf: automake failed with exit status: 1
dh_autoreconf: error: autoreconf -f -i returned exit code 1
make: *** [debian/rules:6: build-arch] Error 25

Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: I29457b243d846bcaf08c1d9da5423066e777ca85
2022-04-14 18:34:56 +09:00
Luke go
dcf6f8ab43 ODROID: Add __attribute__ for avoding unused parameters.
Signed-off-by: Luke go <sangch.go@gmail.com>
Change-Id: I4ff66f9f12f336635b7ee58215fb0f4053d343e8
2022-04-11 14:59:58 +09:00
jkhgit
75b0858c55 Add include headers & change linux default lib: gpiod
Signed-off-by: jkhgit <jkhpro1003@gmail.com>
Change-Id: Ie43c001db0b4eefa55925a246ca4af4ae6abbf46
2022-04-01 16:40:37 +09:00
Luke go
7be6d78a01 Check build MODE to check gpiod fw.
Some Android doesn't support gpiod frameworks. So check MODE to include
gpiod fw. It should be determined before building.

Signed-off-by: Luke go <sangch.go@gmail.com>
Change-Id: I5b4627c86b4b083622822576c5afa0dd72894faf
2022-02-09 11:16:03 +09:00
Dongjin Kim
f316f52636 Rework to build by autoconf/automake and new Debian scripts
Building in local machine:
    $ sh autogen.sh
    $ ./configure
    $ make
    $ sudo make install

Building Debian package:
    $ debuild -uc -us -b

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I76faa07c1586658d053a3e260ea231a19392f792
2022-01-20 06:30:34 +00:00
Steve Jeong
f78d982959 ODROID-M1: New support for ODROID-M1
Change-Id: I8691f53540d566d00945fe3c7b6fb2f5f317cc1f
Signed-off-by: Steve Jeong <jkhpro1003@gmail.com>
2022-01-20 06:30:20 +00:00
Deokgyu Yang
2f8842f1ff Fix build error for gcc 10
Thanks to @jens1 on the Odroid forum for notifying us

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0c1658246e92b4c1b135be002cb365bd46c8e764
2021-03-12 17:57:33 +09:00
Deokgyu Yang
6bf0d6c125 Bump up version to 3.9
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2020-11-20 10:55:28 +09:00
Luke go
bf7cd9a7de WiringPi: Android: Add odroidhc4.c to compile on the android platform.
Change-Id: I36451f7c5c2ca99506e666f49a3d04a3f981310a
2020-11-20 10:51:35 +09:00
Deokgyu Yang
f9cbdb12df Bump up version to 3.8
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2020-11-17 18:23:25 +09:00
Deokgyu Yang
e94695fd94 WiringPi: Add support for Odroid-HC4
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If64c712eef681a2a9aa4b7828d95b612a1de91db
2020-11-17 18:23:20 +09:00
Deokgyu Yang
4416fa5183 Revert "WiringPi: Android: Add HC4 to ModelNames list."
This reverts commit f787046a63.
2020-11-13 12:55:20 +09:00
Chris
b7b6d95525 Merge "WiringPi: Android: Add HC4 to ModelNames list." 2020-10-15 17:26:00 +09:00
Deokgyu Yang
7e937c75f1 WiringPi: Bump up version to 3.7
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ided1c49e7aa259a9d1d6b92d96d3b3e605a865ad
2020-09-07 18:17:45 +09:00
Deokgyu Yang
54aca3f6a3 Odroid-C1/C2: Add I2C support for mainline kernel
This patch makes it uses /dev/i2c-0 node if its kernel version is above 4.y.z.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2d8d30f019465eb883b323d73e81a1ce086e85d8
2020-09-07 18:17:42 +09:00
Deokgyu Yang
141eec2565 Odroid-C1: Fix to keep compatibility with Odroid-C series
which are not having proper model name like "Hardkernel ODROID-C1".

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ifcb1923435f2e7c1500d9ce14bd84b1e7ae0060d
2020-09-07 17:45:34 +09:00
Deokgyu Yang
2557a0a2d1 Odroid-C4: Add base number to GPIO_H pad pins
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ic99455f1d7e8b3ebb4a412dc6fd0b82da1e663a3
2020-09-04 14:15:23 +09:00
Deokgyu Yang
49bcab594c WiringPi: Bump up version to 3.6
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0f2b9c1f08a8e8fc9575c17601b616b93eafd073
2020-08-25 17:52:33 +09:00
Deokgyu Yang
6a87102f90 Odroid-C4: Correct ADC nodes and change their access number as to the Odroid convention
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I60db52cdf1ff4137b75b7336796a0fbd93eb7998
2020-08-25 17:50:32 +09:00
Deokgyu Yang
858c8140ca WiringPi: Remove patch string in kernel number and add whole release string
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie1510c9b855d81cbbaee07a794bb584a70ebc53d
2020-08-25 17:13:34 +09:00
Deokgyu Yang
f6a49aa0d2 WiringPi: Bump up version to 3.5
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2b81a719d75fe9ce28ed25aea3c215da59c287b1
2020-08-24 17:40:47 +09:00
Deokgyu Yang
f85513d04f Odroid-XU4: Use cmpKernelVersion to determine ADC node
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I64a138c85592f75b0689e1c93c18511f966202ad
2020-08-24 17:37:52 +09:00
Deokgyu Yang
5ebe86a95c WiringPi: Update in response to the latest regulations about I2C/SPI nodes
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ia6992332b157a6b078f5d1f67b280d2fc3a09774
2020-08-24 17:37:52 +09:00
Deokgyu Yang
912e3d952b WiringPi: Add cmpKernelVersion and update the kernelVerion structure
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ia8431e26578f007fd98d152c4915ce3caba07fb9
2020-08-24 17:37:50 +09:00
Deokgyu Yang
6f11fefcff WiringPi: Remove utsname things from each board's file
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I3b4be4eac57c31867a1a1b380eef26b0866da903
2020-08-20 18:28:45 +09:00
Deokgyu Yang
26f8815087 WiringPi: Add showing current kernel version to the help text
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I8c1bb3e900ea2ddfa497b8949f7e2909666b3f5b
2020-08-20 12:09:29 +09:00
Deokgyu Yang
9e7f5c612f WiringPi: Implement storing current operating board's kernel version
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I663d1df07e88ebae4e975afc2ebae6122d5918e9
2020-08-20 12:08:49 +09:00
Chris
f787046a63 WiringPi: Android: Add HC4 to ModelNames list.
- Add N2Plus to default N2 string.

Change-Id: I151c2e61a3df2b1a9db62699559648b46ef52009
2020-07-29 13:52:42 +09:00
Deokgyu Yang
63443ff7a1 WiringPi: Bump up version to 3.4
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2020-07-15 16:36:19 +09:00
Luke Go
10b2f2b655 WiringPi: Android: Add N2Plus to ModelNames list.
- Add N2Plus to default N2 string.

Change-Id: I0a04d57ec1ffcb6ca63b78275df52243abccb02e
2020-07-15 16:16:39 +09:00
Deokgyu Yang
41f80168b4 WiringPi: Bump up version to 3.3
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I39e300fe2808ac807df860a3f9ffc058d4968a07
2020-06-26 14:50:08 +09:00
Deokgyu Yang
38b0248eb9 WiringPi: Check Device Tree first to recognize and change the referenced DT path
As of this quotes from the /sys/firmware/devicetree documents.

Userspace must not use the /sys/firmware/devicetree/base path directly,
but instead should follow /proc/device-tree symlink.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib6cd8694cf3b429297e5e7154387c1fb18716600
2020-06-26 14:31:21 +09:00
Luke Go
c61f82baa6 WiringPi: Android: Redefine some function that's not supported.
- Some api are not supported or redefined by android libraries. So to
support them on the android, this patch redefined the apis. And, some
api are not allowed. So avoid including the package by the problem.

Change-Id: Icaf2716a82dd98fc3c4fc3c597d4e67f3df8d755
2020-04-29 11:53:33 +09:00
Deokgyu Yang
a81abab325 WiringPi: Bump up version to 3.2
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I31b75e0019b747950308da756b65d871031a5d28
2020-04-28 13:56:02 +09:00
Deokgyu Yang
685816b696 Revert "WiringPi: Android: Apply removes to Android.bp"
This reverts commit e5a99034ba.

Change-Id: Iae25108e053224e69a470b508c1026feb6d63c4c
2020-04-28 13:50:01 +09:00
Deokgyu Yang
2c7e86b898 WiringPi: Bring back all of the stuffs I removed to do with peripherals
Imported from the official WiringPi repository, version 2.60.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I82dc00ab9f038f9bc4c6a9c4ca3affe5a5d33ae1
2020-04-28 11:02:36 +09:00
Deokgyu Yang
73d5c3f375 WiringPi: Bump up version to 3.1
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ieab47180823f028b7c67ed56e24e6b72ae6d7f8c
2020-04-21 11:38:11 +09:00
Deokgyu Yang
152712d3ee debian: Fix typo
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I6ab68c20633549bb3f13aab592862377912d4971
2020-04-21 11:37:37 +09:00
Deokgyu Yang
2fa3784651 debian: Add explicit package dependency
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I6c840db8b188148bdce303b7b4ab0110f0d54644
2020-04-21 11:24:39 +09:00
Deokgyu Yang
cac5556425 WiringPi: Bump up version to 3.0
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ia3586cad02d45bc34bf7dc6409c1eae09fe50af6
2020-04-17 16:59:29 +09:00
Deokgyu Yang
6738d3e8e9 newVersion: Remove unused codes
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I50da462320edefe4cf552718d0a457b91142f50b
2020-04-17 16:54:46 +09:00
Deokgyu Yang
9a27ae8fd8 Revert "wiringPi: newVersion: Fix for adding minor-fixed version"
This reverts commit 07cc4620e0.

Change-Id: I9023d16ddfe808fccb74b58981933091e6917c1f
2020-04-17 16:53:58 +09:00