friendlyarm / linux-3.4.y

Linux kernel source tree for FriendlyARM NanoPi 2, NanoPi 3
Other
75 stars 103 forks source link

Impossible to update the kernel. #16

Open 0xD8C4A475 opened 7 years ago

0xD8C4A475 commented 7 years ago

I have multiple NanoPC-T3, but Impossible to update the kernel

Kernel update, debian, only 1080 HDMI (LVDS and LCD off). On boot: Error: Driver 'nxp_edid' is already registered, aborting... [ 3.104000] nxp_edid_init: failed to i2c_add_driver() [ 3.108000] hdmi_init_context: failed to nxp_edid_init() [ 3.116000] register_nxp_hdmi: failed to hdmi_init_context() [ 3.124000] register_nxp_out: failed to register_nxp_hdmi()

Complete kernel panic, and reboot loop.

In compile, everything is good: Image Name: Linux-3.4.39-s5p6818 Created: Wed Aug 23 16:39:49 2017 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4430176 Bytes = 4326.34 kB = 4.22 MB Load Address: 40008000 Entry Point: 40008000 Image arch/arm/boot/uImage is ready

But dont boot. With 1080, without 1080 (720p), or with hid_multitouch or without.

Can you give me a kernel, with 1080Hdmi and hid_multitouch module?

friendlyarm commented 7 years ago

To get a kernel with HDMI 1080P support, please try it this way:

touch .scmversion make nanopi3_linux_hdmi_defconfig make menuconfig Device Drivers --> Graphics support --> Nexell Graphics --> [ ] LCD [] HDMI (0) Display In [0=Display 0, 1=Display 1] Resolution (1920 1080p) ---> make uImage

After your compilation succeeds a uImage will be generated for HDMI 1080P. You can use it to replace the existing uImage.hdmi

programcj commented 1 year ago

[ 3.304000] ts-if initialized [ 3.308000] [RTC] day=2016.01.01 time=08:00:00 [ 3.312000] nxp-rtc nxp-rtc.0: rtc core: registered nxp-rtc as rtc0 [ 3.320000] i2c /dev entries driver [ 3.324000] ...................................ov5640_probe 2234 [ 3.328000] ...................................ov5640_video_probe 2193 [ 3.336000] ov5640 0-003c: reg_read: i2c read error, reg: 300a [ 3.340000] OV5640 read error!!!!!!!!!!!!!!! [ 3.344000] ov5640_initialize_ctrls.............1794........... [ 3.352000] Error: Driver 'nxp_edid' is already registered, aborting... [ 3.356000] nxp_edid_init: failed to i2c_add_driver() [ 3.360000] hdmi_init_context: failed to nxp_edid_init() [ 3.368000] register_nxp_hdmi: failed to hdmi_init_context() [ 3.372000] register_nxp_out: failed to register_nxp_hdmi() [ 3.380000] ------------[ cut here ]------------ [ 3.384000] WARNING: at kernel/irq/manage.c:1196 free_irq+0xa0/0x1c0() [ 3.388000] Trying to free already-free IRQ 0 [ 3.392000] Modules linked in: [ 3.396000] [] (unwind_backtrace+0x0/0x12c) from [] (warn_slowpath_common+0x54/0x64) [ 3.408000] [] (warn_slowpath_common+0x54/0x64) from [] (warn_slowpath_fmt+0x30/0x40) [ 3.416000] [] (warn_slowpath_fmt+0x30/0x40) from [] (free_irq+0xa0/0x1c0) [ 3.424000] [] (free_irq+0xa0/0x1c0) from [] (free_irq+0x4c/0xa4) [ 3.432000] [] (free_irq+0x4c/0xa4) from [] (hdmi_deinit_context+0x30/0x68) [ 3.440000] [] (hdmi_deinit_context+0x30/0x68) from [] (unregister_nxp_hdmi+0x24/0x4c) [ 3.452000] [] (unregister_nxp_hdmi+0x24/0x4c) from [] (register_nxp_out+0x164/0x220) [ 3.460000] [] (register_nxp_out+0x164/0x220) from [] (nxp_v4l2_probe+0x2bc/0x3a8) [ 3.468000] [] (nxp_v4l2_probe+0x2bc/0x3a8) from [] (driver_probe_device+0xb4/0x360) [ 3.480000] [] (driver_probe_device+0xb4/0x360) from [] (__driver_attach+0x8c/0x90) [ 3.488000] [] (driver_attach+0x8c/0x90) from [] (bus_for_each_dev+0x68/0x9c) [ 3.496000] [] (bus_for_each_dev+0x68/0x9c) from [] (bus_add_driver+0xd4/0x290) [ 3.508000] [] (bus_add_driver+0xd4/0x290) from [] (driver_register+0x78/0x134)

我的板子重新编译后输出这个, 是否需要将uboot也更新呢?好多年吃灰,最近玩一下,我的是pi m3, android5