Jump to content


Photo

New compile image doesn't continue boot ?!


  • Please log in to reply
33 replies to this topic

#1 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 27 September 2016 - 04:54

HI all please need your help ...

 

my ubuntu 12.04 crash so I'm install it again and build new image with oe-opnepli-core-master as before ...

But in this time I got error with (orc) from openembedded-core/tree/master/meta/recipes-devtools and I have updated with last version orc_0.4.25.bb and continue build image ...

After finish build I've flash to  box and image stuck on enigma2 start doesn't continue ...

If I open DCC says (Enigma2 not detected (dm800, Functionality limited))

in attach you can find hyperterminal log ...

 

If I replace old enigma2 file from old image then new image run just fine ...

 

And idea ?!

 

Thank you

Attached Files


Edited by fairbird, 27 September 2016 - 04:57.

DM500s
DM800

DM800se

DM920UHD


Re: New compile image doesn't continue boot ?! #2 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 27 September 2016 - 08:30

There is a kernel Oops visible in the log. It seems some kernel module cannot be loaded (maybe main dreambox drivers). Did you change the kernel config?
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: New compile image doesn't continue boot ?! #3 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 27 September 2016 - 12:17

No ..
I have not changed any things in recipes ...
It is all the same files ...
I don't know why new compile image have this issue... I have tried two times to build fresh image and I've got same problem .

Thank you

DM500s
DM800

DM800se

DM920UHD


Re: New compile image doesn't continue boot ?! #4 WanWizard

  • PLi® Core member
  • 68,553 posts

+1,737
Excellent

Posted 27 September 2016 - 13:33

It crashes in sys_init_module() of modprobe, so definitely a driver issue or some sort.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: New compile image doesn't continue boot ?! #5 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 27 September 2016 - 13:43

Revert to old orc version, try to fix the problem and rebuild complete image.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: New compile image doesn't continue boot ?! #6 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 27 September 2016 - 14:00

Did you try to build PLi5 (master-next) for the old DM800HD ?

Or did you build PLi4?

 

I assume the latter since you're using gcc 4.9

Linux version 2.6.18-7.4-dm800 (raed@fairbird) (gcc version 4.9.1

 

The kernel oops is normal, that also happens for me.

I think it's caused by the fact we're building with a more recent compiler and the modules were built specifically for gcc 4.6.

But you can ignore the oops, it only happens once when the broadcom driver loads and doesn't affect it's functionality.

 

Your problem is with enigma2.

It needs some patches (a few reverts) to work with the DM800HD.

 

Try my patch (based on the works of Taapat and some other stuff):

https://mega.nz/#!v1...UxqSZclxd92BtH0

 

Then PLi's enigma2 will run on your DM800HD :)



Re: New compile image doesn't continue boot ?! #7 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 27 September 2016 - 14:23

Thank you my freind ...
I'm try to build my image based on openpli4 not 5 as before with exactly all recipes what you give me before nothing changed.
But I have got this issue in first time...

I will test that patch soon ...

DM500s
DM800

DM800se

DM920UHD


Re: New compile image doesn't continue boot ?! #8 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 27 September 2016 - 17:30

I've forget to ask another question...

Why I've get this error with ubuntu 16.04 ?! And with ubuntu 12.04 every things just fine ?!

Thank you

ERROR: Unable to spawn terminal auto: Execution of '/home/raed/openpli/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/temp/run.do_terminal.14009' failed with exit code 8:
Non UTF-8 locale (ANSI_X3.4-1968) is not supported!

ERROR: 
ERROR: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /home/raed/openpli/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/temp/log.do_patch.14009
ERROR: Task 211 (/home/raed/openpli/openpli-oe-core/meta-openpli/recipes-openpli/enigma2/enigma2.bb, do_patch) failed with exit code '1'


DM500s
DM800

DM800se

DM920UHD


Re: New compile image doesn't continue boot ?! #9 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 27 September 2016 - 18:21

It seems one (or more) patches are failing to apply.

Did you add my patch like this?
SRC_URI_append_dm800 = " file://enigma2_oldkernel.patch"



Re: New compile image doesn't continue boot ?! #10 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 27 September 2016 - 18:59

No my friend, Still I did not test the patch, I will test it after an hour from now...

 

About my issue in ubuntu 16.04 that another situation I have it on other pc ...

 

Thank you


Edited by fairbird, 27 September 2016 - 19:00.

DM500s
DM800

DM800se

DM920UHD


Re: New compile image doesn't continue boot ?! #11 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 27 September 2016 - 23:54

Alright, good luck my friend.

Re: New compile image doesn't continue boot ?! #12 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 28 September 2016 - 06:16

My freiend after added your patch and test still same issue doesn't fix it :(

root@dm800:~# init 4
root@dm800:~# enigma2.sh
/dev/dvb/adapter0/video0: Device or resource busy

DM500s
DM800

DM800se

DM920UHD


Re: New compile image doesn't continue boot ?! #13 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 28 September 2016 - 06:24

In attach my enigma2.bb and all patches have a look please ...

 

Thank you

Attached Files


DM500s
DM800

DM800se

DM920UHD


Re: New compile image doesn't continue boot ?! #14 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 28 September 2016 - 10:46

You should remove the file://FE_CAN_MULTISTREAM.patch and file://DVB_API-for_DeliverySystem.patch as these are already part of my oldkernel patch.



Re: New compile image doesn't continue boot ?! #15 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 28 September 2016 - 11:30

The DM800HD (without SE) runs only on an ancient kernel 2.6.18.... I suggest this is the 'big' issue... :(


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: New compile image doesn't continue boot ?! #16 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 28 September 2016 - 11:48

It's possible but it requires us to downgrade glibc to 2.19.
Because thats the last libc with support for linux 2.6.x, since in newer versions they've dropped all of the functions/syscalls.
So it's either glibc 2.19 for all mipsel-nf receivers or isolate the dm800 target completely.

Apart from that enigma2 requires some patching as well due to the kernel lacking the eventfd object and it's headers exposing a very old dvbapi version.

Re: New compile image doesn't continue boot ?! #17 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 28 September 2016 - 13:09

The patch doesn't run corctly now and I got this error

*** Manual patch resolution mode ***
Dropping to a shell, so patch rejects can be fixed manually.
Run "quilt refresh" when patch is corrected, press CTRL+D to exit.

Applying patch enigma2_oldkernel.patch
patching file lib/dvb/dvb.cpp
Hunk #1 succeeded at 315 (offset -33 lines).
Hunk #2 succeeded at 324 (offset -33 lines).
Hunk #3 succeeded at 413 (offset -33 lines).
Hunk #6 FAILED at 1311.
1 out of 6 hunks FAILED -- saving rejects to file lib/dvb/dvb.cpp.rej
patching file lib/dvb/frontend.cpp
Hunk #1 succeeded at 590 (offset -44 lines).
Hunk #2 FAILED at 649.
Hunk #3 succeeded at 1830 (offset -54 lines).
Hunk #4 FAILED at 2515.
Hunk #5 FAILED at 2577.
Hunk #7 FAILED at 2679.
Hunk #8 FAILED at 2807.
5 out of 8 hunks FAILED -- saving rejects to file lib/dvb/frontend.cpp.rej
patching file lib/dvb/frontend.h
patching file lib/gdi/fblcd.cpp
patching file lib/base/message.h
Applied patch enigma2_oldkernel.patch (forced; needs refresh)
raed@fairbird:~/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/git$ quilt refresh
Refreshed patch patches/enigma2_oldkernel.patch
raed@fairbird:~/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/git$

raed@fairbird:~/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/git$ quilt refresh
Refreshed patch patches/enigma2_oldkernel.patch
raed@fairbird:~/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/git$
| /home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/git/lib/dvb/frontend.cpp: In member function 'virtual int eDVBFrontend::readFrontendData(int)':
| /home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/git/lib/dvb/frontend.cpp:1110:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
|      if(!signalquality && !signalqualitydb || strstr(m_description, "Sundtek"))
|                        ^
| /home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/git/lib/dvb/frontend.cpp: In member function 'std::string eDVBFrontend::getCapabilities()':
| /home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/git/lib/dvb/frontend.cpp:2667:22: error: 'FE_CAN_MULTISTREAM' was not declared in this scope
|   if (fe_info.caps &  FE_CAN_MULTISTREAM)   ss << "FE_CAN_MULTISTREAM" << std::endl;
|                       ^
| make[4]: *** [dvb/frontend.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
| /home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/git/lib/dvb/epgcache.cpp: In member function 'void eEPGCache::channel_data::readMHWData2(const uint8_t*)':
| /home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/git/lib/dvb/epgcache.cpp:4359:52: warning: array subscript is above array bounds [-Warray-bounds]
|     memcpy(dest, &data[pos+19], slen>35 ? 35 : slen);
|                                                     ^
| make[4]: Leaving directory `/home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/build/lib'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory `/home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/build/lib'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/build/lib'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/temp/run.do_compile.26064:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/temp/log.do_compile.26064)
ERROR: Task 397 (/home/raed/BlackHole/openpli-oe-core/meta-openpli/recipes-openpli/enigma2/enigma2.bb, do_compile) failed with exit code '1'


| /home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/git/lib/dvb/epgcache.cpp: In member function 'void eEPGCache::channel_data::readMHWData2(const uint8_t*)':
| /home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/git/lib/dvb/epgcache.cpp:4359:52: warning: array subscript is above array bounds [-Warray-bounds]
|     memcpy(dest, &data[pos+19], slen>35 ? 35 : slen);
|                                                     ^
| /home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/git/lib/dvb/frontend.cpp: In member function 'std::string eDVBFrontend::getCapabilities()':
| /home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/git/lib/dvb/frontend.cpp:2667:22: error: 'FE_CAN_MULTISTREAM' was not declared in this scope
|   if (fe_info.caps &  FE_CAN_MULTISTREAM)   ss << "FE_CAN_MULTISTREAM" << std::endl;
|                       ^
| make[4]: *** [dvb/frontend.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
| make[4]: Leaving directory `/home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/build/lib'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory `/home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/build/lib'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/build/lib'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/temp/run.do_compile.16446:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /home/raed/BlackHole/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2/2.7+gitAUTOINC+fb4c3619ff-r0/temp/log.do_compile.16446)



Edited by fairbird, 28 September 2016 - 13:14.

DM500s
DM800

DM800se

DM920UHD


Re: New compile image doesn't continue boot ?! #18 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 28 September 2016 - 13:18

It applies to the latest OpenPLi enigma2 rev.

I see you're trying to build Blackhole,  which uses a different enigma2 branch.. so I guess you need to checkout the rejects yourself and fix the patch.



Re: New compile image doesn't continue boot ?! #19 NoxBox

  • Member
  • 9 posts

0
Neutral

Posted 28 September 2016 - 13:31

57ebb79cca87c.jpg

 

Thank you MastaG, I test PLI4 on dm800se glibc 2.19 and kernel 2.6.18 with enigma2_oldkernel.patch. It' work for me!!!!!!!



Re: New compile image doesn't continue boot ?! #20 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 28 September 2016 - 14:01

It is same my git as before I use it without any problem and nothing change in git

https://github.com/f...enPLI-BlackHole

 

If I use you's old patches compile is works ok but Still image  doesn't boot corecttly

Attached Files


Edited by fairbird, 28 September 2016 - 14:05.

DM500s
DM800

DM800se

DM920UHD



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users