Help needed on custom built image using 2.8b2 BSP


Some background:

I recently upgraded my maintained repos for building a custom console image to use the most recent 2.8b2.
I was using 2.7b2 before and the kernel version was 4.1-2.0.x.

My repos mirrors how Toradex sets them up but with a little bit of tweaking. I have some custom recipes for some software I wrote as well as adding the meta-oracle-java into the layers so that we could use Java 8. You can look at the repos here.


  • For the bitbaking the image, the first problem that I had was with backport kernel drivers. Particularly, I need to disable ${BACKPORTS_WIFI} in in my equivalent of meta-toradex-demos. Our device is fine with no Wifi for the sake of testing I guess. After this, SD preparation and flashing process both went fine.

  • When board boots into the kernel, we have custom software running (it is a shell script calling a jar) using Java 8 and this thing pops up to the console whenever the software wants to run:

    Hardware name: Freescale i.MX7 Quad/DualLite (Device Tree)
    [ 108.497043] task: e3652100 task.stack: e38c4000
    [ 108.508409] PC is at 0x7419e328
    [ 108.518348] LR is at 0x7420fe2c
    [ 108.528219] pc : [<7419e328>] lr : [<7420fe2c>] psr: 200f0010
    [ 108.528219] sp : 763286c8 ip : 76f74000 fp : 76328778
    [ 108.553423] r10: 7610a400 r9 : 3386c240 r8 : 338c9630
    [ 108.565540] r7 : 7610a400 r6 : 76956128 r5 : 00000000 r4 : 00000018
    [ 108.579020] r3 : 00000019 r2 : 00000017 r1 : 0000002e r0 : 39a3ca00
    [ 108.592418] Flags: nzCv IRQs on FIQs on Mode USER_32 ISA ARM Segment
    [ 108.606581] Control: 10c5387d Table: 738fc04a DAC: 00000055
    [ 108.619159] CPU: 0 PID: 6277 Comm: java Tainted: G O
    4.9.84-2.8.2+gb2a7f2f #1
    [ 108.634151] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
    [ 108.647415] Backtrace:
    [ 108.656568] [<8010ba5c>] (dump_backtrace) from [<8010bd34>]
    [ 108.670863] r7:00000017 r6:600f0113 r5:00000000 r4:80c1aaf0
    [ 108.683255] [<8010bd1c>] (show_stack) from [<803f9164>]
    [ 108.697211] [<803f90d4>] (dump_stack) from [<80108ad8>] (show_regs+0x14/0x18)
    [ 108.711024] r7:00000017 r6:76f74000 r5:0000000b r4:e3652100
    [ 108.723339] [<80108ac4>] (show_regs) from [<8011531c>]
    [ 108.737583] [<80115258>] (__do_user_fault) from [<8011552c>]
    [ 108.752346] r8:76f74000 r7:00000017 r6:e2816700 r5:e3652100 r4:e38c5fb0
    [ 108.765713] [<80115320>] (do_page_fault) from [<8010134c>]
    [ 108.780060] r10:7610a400 r9:3386c240 r8:e38c5fb0 r7:76f74000 r6:80115320
    [ 108.794569] r4:80c0809c
    [ 108.803740] [<80101308>] (do_DataAbort) from [<8010cbe0>]
    [ 108.817796] Exception stack(0xe38c5fb0 to 0xe38c5ff8)
    [ 108.829484] 5fa0: 39a3ca00 0000002e
    00000017 00000019
    [ 108.844359] 5fc0: 00000018 00000000 76956128 7610a400 338c9630 3386c240
    7610a400 76328778
    [ 108.859259] 5fe0: 76f74000 763286c8 7420fe2c 7419e328 200f0010 ffffffff
    [ 108.872577] r8:10c5387d r7:10c5387d r6:ffffffff r5:200f0010 r4:7419e328

  • The Freescale chip on Apalis module is hot. You cannot place your fingers on it for more than 5 seconds.

What I did:

  • I tried to update the Java package version but it was no help.
  • I verified that the repos that I needed are all pointing at the commit with the tag name Apalis-iMX6_LXDE-Image_2.8b2.97-20180331.

What can I do? Can you guys offer some help? I don’t know if you guys are willing, I believe you can fully reproduce this by repo sync my repo, build and flash the built image.

HI Wang

Is your Java application running fine on a x86 machine? Can you check for cpu load and temperature, when your application is running?