BPI-W2 : HDMI while booting and in console mode


(eraso) #1

Hello,

While booting on SDCARD, i have this message (via debugging on serial port ) : … [AO][_AO_if_video_HDMI_mode]HDMI not enabled …

Is it related to something that is not configured in kernel despite information exists in device tree ?

Please, can someone also explain me what the bpi-w2-tools.tgz is used for and how to use it ?

Thanks in advance.

KR,

eraso


#2

That message looks like it is from kernel 4.4 times. Make sure you have kernel 4.9 installed (installation from single image guide, not from manually partitioning sd as in another guide)


(michal5520pl) #3

I have this message on kernel 4.9


#4

Then I don’t know. Works for me with 4.9.


(eraso) #5

Hello,

Remember I asked about what was the bpi-w2-tools : it is used for enabling hdmi : look at rpitc image. But it is not enough to display things within a window manager : it seems there is also a mali driver for lightdm in rpitc image. So i’m looking for adding it in fedora image.

KR


(eraso) #6

Any help from SINOVOIP is welcome


(bpi team) #7

If we don’t use our image;You needs to figure out a way to automatically execute the red commands when starting the image

https://github.com/BPI-SINOVOIP/BPI-files/blob/master/SD/BPI-ROOT/bpi-w2-tools.tgz


(eraso) #8

As Fedora 30 use systemd, i created a service /usr/lib/systemd/system/bpiw2-hdmi.service : [Unit] Description=Load hdmi driver ConditionPathExists=/usr/local/bpi After=sysinit.target #Before=basic.target

[Service] Type=oneshot ExecStart=/usr/local/bpi/scripts/S01-fbdev-bpi-w2.sh RemainAfterExit=yes

[Install] WantedBy=multi-user.target

Ive installed

  • bpi-w2-daemon and bpi-w2-init in /usr/local/bpi/bin
  • S01-fbdev-bpi-w2.sh in /usr/local/bin/scripts

Now there’s no more “HDMI not enabled” message.

The last thing i need is help to configure any window manager in already installed and configured images (for instance, gdm in Fedora image).


(eraso) #9

Hello,

In fact running bpi-w2-tools seem not to work with fedora 30 because here’s the message that appears while booting :

 [   58.174111] ------------[ cut here ]------------

[   58.178857] WARNING: CPU: 1 PID: 2096 at drivers/soc/realtek/common/rpc/rtk_rpc_kern.c:556 send_rpc_command+0x2a4/0x2e0

[   58.189907] Modules linked in:

[   58.193069] 

[   58.194610] CPU: 1 PID: 2096 Comm: bpi-w2-daemon Not tainted 4.9.119-BPI-W2-Kernel #1

[   58.202635] Hardware name: Realtek_RTD1296 (DT)

[   58.207282] task: ffffffc068dfc080 task.stack: ffffffc06dffc000

[   58.213348] PC is at send_rpc_command+0x2a4/0x2e0

[   58.218169] LR is at send_rpc_command+0x2a4/0x2e0

[   58.222988] pc : [<ffffff800886721c>] lr : [<ffffff800886721c>] pstate: 40000145

[   58.230561] sp : ffffffc06dfffbf0

[   58.233957] x29: ffffffc06dfffbf0 x28: 00000000a2601048 

[   58.239427] x27: ffffff800974f8b0 x26: 0000000000000000 

[   58.244900] x25: ffffff800974f8b0 x24: ffffffc06dfffcfc 

[   58.250371] x23: ffffff800974f8b0 x22: ffffff800974f8b0 

[   58.255855] x21: 0000000000000000 x20: ffffff800974f8d0 

[   58.261336] x19: ffffff800974f900 x18: 0000000000000010 

[   58.266805] x17: 0000007f994d3780 x16: ffffff800841ee78 

[   58.272275] x15: ffffffffffffffff x14: ffffff80896f984f 

[   58.277744] x13: ffffff80096f985d x12: 0000000000000007 

[   58.283213] x11: 0000000005f5e0ff x10: 00000000000003e5 

[   58.288682] x9 : 00000000ffffffd0 x8 : 3031303632613a32 

[   58.294153] x7 : 0000000000003ff0 x6 : 0000000000000000 

[   58.299622] x5 : 0000000000000000 x4 : 0000004076a8f000 

[   58.305093] x3 : 0000000000000002 x2 : 0000000000000001 

[   58.310563] x1 : 0000000000000000 x0 : 000000000000003a 

[   58.316037] 

[   58.316037] SP: 0xffffffc06dfffb70:

[   58.321124] fb70  0974f8b0 ffffff80 0974f8b0 ffffff80 6dfffcfc ffffffc0 0974f8b0 ffffff80

[   58.329635] fb90  00000000 00000000 0974f8b0 ffffff80 a2601048 00000000 6dfffbf0 ffffffc0

[   58.338143] fbb0  0886721c ffffff80 6dfffbf0 ffffffc0 0886721c ffffff80 40000145 00000000

[   58.346670] fbd0  a2601048 00000000 00000000 00000000 ffffffff 0000007f 00003ff0 00000000

[   58.355194] fbf0  6dfffcc0 ffffffc0 08d2f300 ffffff80 68d3e080 ffffffc0 09762000 ffffff80

[   58.363719] fc10  30080000 00000000 0f000005 00000000 7cc02020 ffffffc0 7b7afd78 ffffffc0

[   58.372240] fc30  68ea7468 ffffffc0 000000f8 00000000 09025000 ffffff80 68dfc080 ffffffc0

[   58.380777] fc50  7cc02020 ffffffc0 a2601000 00000002 68ea7468 ffffffc0 00000000 ffffffc0

[   58.389311] 

[   58.389311] X24: 0xffffffc06dfffc7c:

[   58.394494] fc7c  ffffff80 6dfffc80 ffffffc0 6dfffc80 ffffffc0 6dfffcc0 62000000 62000000

[   58.403018] fc9c  00000000 30080000 00000000 00000000 0c000000 00000000 02000000 001060a2

[   58.411564] fcbc  481060a2 6dfffd10 ffffffc0 08861ea4 ffffff80 7949ef00 ffffffc0 0974f628

[   58.420082] fcdc  ffffff80 00000005 00000000 000000f8 00000000 6dfffd60 ffffffc0 084200e4

[   58.428631] fcfc  ffffff80 02601000 00000000 00001000 00000000 6dfffd60 ffffffc0 08420020

[   58.437153] fd1c  ffffff80 799a6a00 ffffffc0 00000008 00000000 7b7afd78 ffffffc0 7c505b40

[   58.445670] fd3c  ffffffc0 7cc02020 ffffffc0 7b7afd78 ffffffc0 68ea7468 ffffffc0 00000000

[   58.454187] fd5c  00000000 6dfffdb0 ffffffc0 084201e0 ffffff80 799a6a00 ffffffc0 68dfc080

[   58.462710] 

[   58.462710] X29: 0xffffffc06dfffb70:

[   58.467885] fb70  0974f8b0 ffffff80 0974f8b0 ffffff80 6dfffcfc ffffffc0 0974f8b0 ffffff80

[   58.476409] fb90  00000000 00000000 0974f8b0 ffffff80 a2601048 00000000 6dfffbf0 ffffffc0

[   58.484931] fbb0  0886721c ffffff80 6dfffbf0 ffffffc0 0886721c ffffff80 40000145 00000000

[   58.493452] fbd0  a2601048 00000000 00000000 00000000 ffffffff 0000007f 00003ff0 00000000

[   58.501975] fbf0  6dfffcc0 ffffffc0 08d2f300 ffffff80 68d3e080 ffffffc0 09762000 ffffff80

[   58.510516] fc10  30080000 00000000 0f000005 00000000 7cc02020 ffffffc0 7b7afd78 ffffffc0

[   58.519039] fc30  68ea7468 ffffffc0 000000f8 00000000 09025000 ffffff80 68dfc080 ffffffc0

[   58.527559] fc50  7cc02020 ffffffc0 a2601000 00000002 68ea7468 ffffffc0 00000000 ffffffc0

[   58.536086] 

[   58.537618] ---[ end trace 2267f817e62ed60e ]---

[   58.542349] Call trace:

[   58.544866] Exception stack(0xffffffc06dfffa00 to 0xffffffc06dfffb30)

[   58.551475] fa00: ffffff800974f900 0000007fffffffff ffffffc06dfffbf0 ffffff800886721c

[   58.559508] fa20: 0000000040000145 000000000000003d ffffffc06dfffa50 ffffff800830b000

[   58.567547] fa40: ffffff8009240928 0000000100000004 ffffffc06dfffaf0 ffffff800830b1b8

[   58.567552] fa60: ffffffc06dfffb50 ffffff800929fa18 0000000000000000 ffffff800974f8b0

[   58.567556] fa80: ffffff800974f8b0 ffffffc06dfffcfc ffffff800974f8b0 0000000000000000

[   58.567560] faa0: ffffff800974f8b0 00000000a2601048 0000000000000000 000000000832338c

[   58.567563] fac0: 000000000000003a 0000000000000000 0000000000000001 0000000000000002

[   58.567567] fae0: 0000004076a8f000 0000000000000000 0000000000000000 0000000000003ff0

[   58.567571] fb00: 3031303632613a32 00000000ffffffd0 00000000000003e5 0000000005f5e0ff

[   58.567573] fb20: 0000000000000007 ffffff80096f985d

[   58.567583] [<ffffff800886721c>] send_rpc_command+0x2a4/0x2e0

[   58.567591] [<ffffff8008d2f300>] RPC_DESTROY_AUDIO_FLOW+0xb8/0x1a8

[   58.567596] [<ffffff8008861ea4>] rpc_intr_release+0x5c/0x290

[   58.567603] [<ffffff8008420020>] __fput+0x90/0x1d8

[   58.567607] [<ffffff80084201e0>] ____fput+0x20/0x30

[   58.567613] [<ffffff80082cb2a8>] task_work_run+0xc0/0xe0

[   58.567619] [<ffffff80082ae07c>] do_exit+0x2c4/0x9b0

[   58.567623] [<ffffff80082ae7f8>] do_group_exit+0x40/0xa8

[   58.567627] [<ffffff80082ae880>] __wake_up_parent+0x0/0x40

[   58.567632] [<ffffff8008283a00>] el0_svc_naked+0x34/0x38

[   58.567881] 

[   58.567881] name: KernAudioWrite

[   58.567884] RingBuf: a1fff200

[   58.567886] RingStart: a1fff200

[   58.567888] RingIn: a1fff22c

[   58.567890] RingOut: a1fff200

[   58.567891] RingEnd: a1fff400

[   58.567893] RingBuffer:

[   58.567896] a1fff200: 00000062 00000062 00000000 00000830

[   58.567900] a1fff210: 00000000 00000000 0000000c 00000000

[   58.567903] a1fff220: 00000002 a2601000 a2601048 ffffffff

[   58.567907] a1fff230: fffffff7 fbffffff ffffff7f dfff77ff

[   58.567910] a1fff240: fffffdf7 ffffffff 777fffff ffbfefef

[   58.567913] a1fff250: fdfffcff fffbffff ff7fffff ffffffff

[   58.567917] a1fff260: fffffeff ffefffff fdbfffff ffffffff

[   58.567921] a1fff270: ffdfffff ffffffff fbffffff ffffffff

[   58.567924] a1fff280: fdffffff dbffafff ffffbff7 dfffff9f

[   58.567928] a1fff290: fffeffff ffffffff ffffffff ffffffff

[   58.567931] a1fff2a0: ffffffbf ffffe7ff feffefff ff0fbfff

[   58.567935] a1fff2b0: f7ffffee f7ffffff ffffffff 0e0edfff

[   58.567938] a1fff2c0: bfffdfff ffffffff ffbbb6ff fffffffa

[   58.567941] a1fff2d0: ffffffff fbffffff ffffff7f fff7ffff

[   58.567944] a1fff2e0: fffff7ff ffffeff7 ffffffff ffffffff

[   58.567948] a1fff2f0: fff2ffff fffdfffe ffffffff f7dbf4ff

[   58.567951] a1fff300: ffffffff ffffffff fbffbeff ffdffbff

[   58.567954] a1fff310: efffffff ffffffff f7ffffff dfff7ed5

[   58.567957] a1fff320: ffffffbf bdfffffb ffeff7ff ffffffff

[   58.567961] a1fff330: 3fffffff ffffff7f 7fffff7f 977ffdf3

[   58.567964] a1fff340: ffffbffd f7fbffbf ffffddff fdffffef

[   58.567967] a1fff350: ffffffff fffdfbff effdfdff fdffffff

[   58.567970] a1fff360: fefffdff edffefcf fffffeff ffffbfdf

[   58.567974] a1fff370: ffffdfff ffffbfff ef77bfff fffffdff

[   58.567977] a1fff380: ffffffff ffffffff ffffffdf ffffffff

[   58.567980] a1fff390: deffffff f3ffffff ffffffff f7ffffff

[   58.567983] a1fff3a0: ff7fffff f7feffb7 7fffffff f7fff17f

[   58.567987] a1fff3b0: ffffffff fffffffd fffffdfa eff7f0ff

[   58.567990] a1fff3c0: fdfffffd fffffeff ffffbfff fffffbf7

[   58.567993] a1fff3d0: fffffffb 77fff7ff ffffffff ffffffff

[   58.567997] a1fff3e0: ffff1eff ffff5fbf ffffffff ffffffff

[   58.568000] a1fff3f0: ffffffff fffffbff fdffffff effffbff

[   58.568002] 

[   58.568002] name: KernAudioRead

[   58.568003] RingBuf: a1fff400

[   58.568005] RingStart: a1fff400

[   58.568007] RingIn: a1fff400

[   58.568009] RingOut: a1fff400

[   58.568012] RingEnd: a1fff600

[   58.568014] RingBuffer:

[   58.568017] a1fff400: ffffffff fdfff6ff ffffffff dffffffb

[   58.568020] a1fff410: ffffffbd fffbffbf ffffffff 7ffff9fd

[   58.568024] a1fff420: 77ffffff dbfffbff 7fffffff fffffbff

[   58.568027] a1fff430: fffffff7 ffffffff fffeffff fffffff7

[   58.568031] a1fff440: fffff7ff ffffff7f efffff7f ffffffff

[   58.568034] a1fff450: ffefffff ffffffff ffff7fff fffeffff

[   58.568037] a1fff460: fffffeff fffdffff ffffffff ffffff7f

[   58.568041] a1fff470: fff7fffb effffeef fffbffff fbdffe7f

[   58.568044] a1fff480: ffffffff ffffffff ffffefff ffff2fff

[   58.568047] a1fff490: ffffffff ffeffffb ffffffff fbffffff

[   58.568051] a1fff4a0: ffffffff ffff3fcf ffffdfff fffff0ff

[   58.568054] a1fff4b0: b7ffffff dfffffff bfffffff efffe0bf

[   58.568057] a1fff4c0: ffffffff ffffffff ffff7fff ffffffff

[   58.568061] a1fff4d0: ebffffff bffffffb ffffffff 7fffffff

[   58.568064] a1fff4e0: fffffff7 ffffdfff fffffeff 7fffeeff

[   58.568068] a1fff4f0: ffffffff f5ffffff ffffffff ffffffff

[   58.568071] a1fff500: bfffefff ffffefff fffeffff fffffdff

[   58.568074] a1fff510: fffbfffd ffffffff ffffffff fffffdff

[   58.568078] a1fff520: effdeedf bfffffff ffffffff ffffffff

[   58.568081] a1fff530: cfffffff ffffffff df7ffeff ddffffbf

[   58.568085] a1fff540: ffffffff ff7ff7bf bffbffff ffffffff

[   58.568088] a1fff550: dfffffff fbffebff ffffffff ffbfffff

[   58.568091] a1fff560: feffffff ffffeffd ffffffdf ffffffff

[   58.568095] a1fff570: 7afdffff ffbfffff 7fffffff feffffff

[   58.568098] a1fff580: ffffefff ffffffef 6fffff7e 9bffffff

[   58.568102] a1fff590: ffdfffbf f7ffdffd ffffff7f 77ffffff

[   58.568105] a1fff5a0: ffffffff effed7ff ffffbfff feffffff

[   58.568109] a1fff5b0: ffffffff f7ffffef fffeffbf d9feffff

[   58.568112] a1fff5c0: fbfffeff ff3ff77f fbffffef fffffbff

[   58.568118] a1fff5d0: fe77ffff ffffffff edfeffff ffffffff

[   58.568121] a1fff5e0: ffffbfff ffdeb3f7 ffff9cff ffffffff

[   58.568125] a1fff5f0: f3ffffff ffffefff feffffff f7ffefff

[   58.571715] rpc-1 exit...

[   58.571751] [ALSA WARNING] 

[   58.571751] [ALSA RPC_DESTROY_AUDIO_FLOW 2219 RPC fail]

[   58.571755] [ALSA WARNING] 

[   58.571755] [ALSA RPC_DESTROY_AUDIO_FLOW 2223 RPC fail]

[   58.572068] RPCkern: (null) is disabled...

[   58.572072] [ALSA WARNING] 

[   58.572072] [ALSA RPC_DESTROY_AUDIO_FLOW 2219 RPC fail]

[   58.572075] [ALSA WARNING] 

[   58.572075] [ALSA RPC_DESTROY_AUDIO_FLOW 2223 RPC fail]

[   58.572108] RPCkern: (null) is disabled...

[   58.572112] [ALSA WARNING] 

[   58.572112] [ALSA RPC_DESTROY_AUDIO_FLOW 2219 RPC fail]

[   58.572116] [ALSA WARNING] 

[   58.572116] [ALSA RPC_DESTROY_AUDIO_FLOW 2223 RPC fail]

[   58.572146] RPCkern: (null) is disabled...

[   58.572150] [ALSA WARNING] 

[   58.572150] [ALSA RPC_DESTROY_AUDIO_FLOW 2219 RPC fail]

[   58.572153] [ALSA WARNING] 

[   58.572153] [ALSA RPC_DESTROY_AUDIO_FLOW 2223 RPC fail]

Any idea will be appreciated


(Keith Morris) #10

My Assignment Services is no. 1 when it comes up to providing Kuwait Assignment Help. We have a team of expert writers who are qualified in every level of econometrics, from basic to advanced econometrics. Some of these tutors are still working in this field, so they are well aware of the latest trends and are able to describe them well. Each assignment that we deliver, undergoes proper editing & proofreading and plagiarism check, so that there are no errors. We provide help for a wide range of assignments and styles like, dissertation, report writing, essays, case study, etc. My Assignment Services is ready for Australian students rely on our resume writing help due to our amazing features like, plagiarism free content, after sales service, error free papers, etc. You don’t have to involve much, as we want you to relax and let our experts do the work for you. My Assignment Services has been serving students from past 11 years now and we have gained good name among students due to our excellent quality of work. My Assignment Services not only help with healthcare, but also other subjects like higher business management, economics, finance, computer science, biology, etc. If you also have any unfinished management assignments, then we are here to provide you the best management assignment help. Our quality is unbeatable and we provide plagiarism free content. No need to worry now, as you can avail our law case summary services with amazing discounts and cashbacks. There is no need to panic, as we are here to help. So, order now.