Code Monkey home page Code Monkey logo

Comments (2)

Jeepgoing avatar Jeepgoing commented on May 27, 2024

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.

wormyrocks avatar wormyrocks commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.