Comments (2)
i found error as below:
[DISP]disp_module_init
[DISP] disp_boot_para_parse,line:347:of_property_read disp.init_disp fail
[DISP] init_disp:0x0
[DISP] boot_disp:0x0
so i have changed source code file: dev_disp.c
`
unsigned int disp_boot_para_parse(const char *name)
{
unsigned int value = 0;
if (of_property_read_u32(g_disp_drv.dev->of_node, name, &value) < 0)
__wrn("of_property_read disp.%s fail\n", name);
pr_info("[DISP] %s:0x%x\n", name, value);
if (strcmp(name,"boot_disp") == 0) {
value = 0x404;
} else if(strcmp(name,"init_disp") == 0) {
value = 0x20b0000;
} else if(strcmp(name,"fb_base") == 0) {
value = 0;
}
pr_info("[DISP4] %s:0x%x\n", name, value);
return value;
}
`
and then install ubuntu desktop:
sudo apt-get install x-window-system-core
sudo apt-get install gdm
sudo apt-get install ubuntu-desktop
sudo reboot
ubuntu desktop can display.
but i don't know why boot para error.
from orangepi_build.
Hi,
I'm getting an identical error, although with Android 7.1.0 on the Nanopi K1 Prime (Allwinner H5). I am trying to add a portrait display mode to the kernel.
Do you know if the values accessed by of_property_read are supposed to be the ones generated by sys_config.fex, or do they come from somewhere else?
I checked and the default sys_config.fex (at least for Nanopi K1) seems to have a [disp] section header rather than a [disp_init] section header; do you think it's a typo? I get the same error, and dmesg does not seem to be logging any of the changes I make to the display parameters when I rebuild the fex.
But this solution is already very helpful, I will try, thank you :)
from orangepi_build.
Related Issues (20)
- Wifi device on 4G-IOT
- Mainline uboot repository not found HOT 1
- CreatingABootableSD_Card - OrangePi_4G_IOT HOT 5
- Where full SBC list? HOT 1
- i96 console freezes HOT 5
- Ubuntu or Debian 3G-IOT example HOT 1
- No firmware included HOT 1
- Orange Pi IoT 3g B runs Linux and the modem 3G?
- Orange Pi 3g-IOT-B LTE modem not working HOT 1
- unable to locate package lib32z1 and lib32z1-dev when building
- Intermittent HDMI Audio Issues on Orange Pi 5B HOT 1
- Where is Orange Pi 5 support?
- Orange Pi Zero 2W 1GB No HDMI sound
- menuconfig has no effect for Orange Pi 3 H6 HOT 2
- orangepi zero debian compile rootfs failed
- kernel overlay support HOT 1
- The issue about Rootfs Compile in OrangePi Lite2(dpkg: error processing package blueman (--configure):)
- Orangepizerolts 2.0.8 ubuntu bionic server linux5.4.27 HOT 1
- θΏθ‘ Build_OrangePi.sh ε€±θ΄₯ HOT 1
- LTE modem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orangepi_build.