Jump to content

The H3 DT overlays function of NanoPi Neo is wrong.


chunjiu

Recommended Posts

Hello everyone, 

 

After many investigations, it was found that its function configuration was incorrect:

 

| \ | |  _ \(_) | \ | | ___  ___
|  \| | |_) | | |  \| |/ _ \/ _ \
| |\  |  __/| | | |\  |  __/ (_) |
|_| \_|_|   |_| |_| \_|\___|\___/

Welcome to Armbian 21.08.2 Focal with Linux 5.10.60-sunxi

System load:   65%              Up time:       0 min
Memory usage:  15% of 491M      IP:            192.168.4.107
CPU temp:      52°C             Usage of /:    8% of 29G

Last login: Thu Sep 30 15:58:24 2021 from 192.168.4.98


sam@nanopineo:~$ gpio readall
 +-----+-----+----------+------+---+-NanoPi-NEO--+------+----------+-----+-----+
 | BCM | wPi |   Name   | Mode | V | Physical | V | Mode | Name     | wPi | BCM |
 +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+
 |     |     |     3.3V |      |   |  1 || 2  |   |      | 5V       |     |     |
 |  12 |   8 |  GPIOA12 | ALT5 | 0 |  3 || 4  |   |      | 5V       |     |     |
 |  11 |   9 |  GPIOA11 | ALT5 | 0 |  5 || 6  |   |      | 0v       |     |     |
 | 203 |   7 |  GPIOG11 |  OFF | 0 |  7 || 8  | 0 | ALT5 | GPIOG6   | 15  | 198 |
 |     |     |       0v |      |   |  9 || 10 | 0 | ALT5 | GPIOG7   | 16  | 199 |
 |   0 |   0 |   GPIOA0 |  OFF | 0 | 11 || 12 | 0 |  OFF | GPIOA6   | 1   | 6   |
 |   2 |   2 |   GPIOA2 |  OFF | 0 | 13 || 14 |   |      | 0v       |     |     |
 |   3 |   3 |   GPIOA3 |  OFF | 0 | 15 || 16 | 0 |  OFF | GPIOG8   | 4   | 200 |
 |     |     |     3.3v |      |   | 17 || 18 | 0 |  OFF | GPIOG9   | 5   | 201 |
 |  64 |  12 |   GPIOC0 | ALT4 | 0 | 19 || 20 |   |      | 0v       |     |     |
 |  65 |  13 |   GPIOC1 | ALT4 | 0 | 21 || 22 | 0 |  OFF | GPIOA1   | 6   | 1   |
 |  66 |  14 |   GPIOC2 | ALT4 | 0 | 23 || 24 | 0 | ALT4 | GPIOC3   | 10  | 67  |
 +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+
 | BCM | wPi |   Name   | Mode | V | Physical | V | Mode | Name     | wPi | BCM |
 +-----+-----+----------+------+---+-NanoPi-NEO--+------+----------+-----+-----+

 

In the H3 data sheet, the correct configuration of I2C0 should be ALT2, but it is incorrectly set to ALT5. In the same way, SPI0 is also wrong: SPI0 should be ALT3 and was incorrectly configured as ALT4, so these peripherals cannot work normally.

 

The armbian version information for this error is as follows:

 

| \ | |  _ \(_) | \ | | ___  ___
|  \| | |_) | | |  \| |/ _ \/ _ \
| |\  |  __/| | | |\  |  __/ (_) |
|_| \_|_|   |_| |_| \_|\___|\___/

Welcome to Armbian 21.08.2 Focal with Linux 5.10.60-sunxi

System load:   65%              Up time:       0 min
Memory usage:  15% of 491M      IP:            192.168.4.107
CPU temp:      52°C             Usage of /:    8% of 29G

 

Link to comment
Share on other sites

  • chunjiu changed the title to The H3 DT overlays function of NanoPi Neo is wrong.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines