Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

10

threads

448

posts

5042

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5042
 Author| Published in 2015-9-16 22:58:31 | Show all floors
Kernel update

  • Added support for DS1307/DS3231 RTC (RealTime Clock)

OPI boards have hardware RTC, but it is very hard to connect the backup battery.
If you need battery backed RTC (RealTime Clock) you can buy cheep RTC module like this.
Connect it to OPI expanssion connector:


To enable it, insert the following text into /etc/init.d/hwclock.sh before the line     . /lib/lsb/init-functions
  1.     if [ ! -e /dev/rtc1 ]; then
  2.            echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-0/new_device
  3.        sleep 0.5
  4.        if [ -e /dev/rtc1 ]; then
  5.           HCTOSYS_DEVICE=rtc1
  6.                   /sbin/hwclock --rtc=/dev/$HCTOSYS_DEVICE --hctosys
  7.        fi
  8.     else
  9.           HCTOSYS_DEVICE=rtc1
  10.     fi

Copy code

You can download the updated scriptbin_kernel.tar.gz from Mega or GoogleDrive.

There is no need to update the kernel if you don't plan to use DS3231 RTC module.


This thread contains more resources

You need to Log in to download or view,No account?    Register

x

10

threads

448

posts

5042

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5042
 Author| Published in 2015-9-18 05:46:31 | Show all floors
Complete kernel sources, configs, and build scripts I'm using are uploaded to Mega. (kernel_3.4.9.tar.xz)

3

threads

38

posts

223

credits

Intermediate member

Rank: 3Rank: 3

credits
223
Published in 2015-9-19 10:08:47 | Show all floors
@loboris : Thank you very much !

18

threads

200

posts

879

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
879
Published in 2015-9-19 15:06:03 | Show all floors
loboris replied at 2015-9-17 23:46
Complete kernel sources, configs, and build scripts I'm using are uploaded to Mega. (kernel_3.4.9.ta ...

Loboris, thank You! )

Orange PI 2
www.orangepi.pp.ua

3

threads

28

posts

151

credits

Registered member

Rank: 2

credits
151
Published in 2015-9-19 19:40:53 | Show all floors

Hi !
on i2c DS3231- well.
and a built-RTC in the kernel really works?
on board Mini 2 Quartz 32768 (+ C11 and C22) for the scheme is, the board did not find ...?
Voltage +3,3 v RTC is on the circuit.
I did not think to use built-RTC.
possible?


11

threads

286

posts

1920

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
1920
Published in 2015-9-19 21:42:59 | Show all floors
HI.Can yuo upload script for hdmi/dvi support,on raspberry change only hdmi_force_hotplug=1 in config.txt in orangepi must script compiling with this option.Thanks

10

threads

448

posts

5042

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5042
 Author| Published in 2015-9-19 22:29:42 | Show all floors
Vladimir55 replied at 2015-9-19 12:40
Hi !
on i2c DS3231- well.
and a built-RTC in the kernel really works?

32.768 kHz crystal is on the board, and RTC works, but without the battery, when power is removed the time is lost.
It is almost impossible to solder the battery ...


10

threads

448

posts

5042

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5042
 Author| Published in 2015-9-19 22:32:51 | Show all floors
melanrz replied at 2015-9-19 14:42
HI.Can yuo upload script for hdmi/dvi support,on raspberry change only hdmi_force_hotplug=1 in confi ...

Sorry, but I don't understand your request.

3

threads

28

posts

151

credits

Registered member

Rank: 2

credits
151
Published in 2015-9-20 14:03:38 | Show all floors
Edited by Vladimir55 at 2015-9-20 14:04
loboris replied at 2015-9-19 22:29
32.768 kHz crystal is on the board, and RTC works, but without the battery, when power is removed  ...

Hi !
I have not found quartz 32768 on the board. where is he?
Electrical power supply:
U8 PST73133BETV voltage 3.3V
VCC_RTC CPU pin K6
need a PCB board ...
cut the chain on the CPU K6
It will need a diode and battery
I think that you've already looked at this option ...
that everything is bad ?
It is necessary to advise the Chinese friends to deduce the site electricity supply RTC.
one diode will not raise the price of Orange PI.

11

threads

286

posts

1920

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
1920
Published in 2015-9-20 19:05:09 | Show all floors
loboris replied at 2015-9-19 22:32
Sorry, but I don't understand your request.

Ok,i manage it with script.fex modification.Thank for your works.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list