Android problem on rev.B board

Discussion in 'SECOSBC-A62' started by stefanpini, Feb 24, 2016.

  1. stefanpini

    stefanpini New Member

    Joined:
    Feb 16, 2015
    Messages:
    14
    Likes Received:
    3
    Hi,

    we have the board SECO A62 rev.A working with android 4.4.2.
    We have bought another board SECO A62 rev.B, but the board reset
    when u-boot start the countdown "Hit any key to stop autoboot".

    I've tried to:
    - Install UDOObuntu2: it's working on both the boards (rev.A and rev.B)
    - Install Android 5.0.2: it's working on both the boards (rev.A and rev.B)

    Do you have any advise?

    Thanks,

    Stefano
     
  2. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Hi stefanpini ! sorry but in my case i never try android on A62, can't help more ... Did you contact Seco about your problem ?
     
    stefanpini likes this.
  3. stefanpini

    stefanpini New Member

    Joined:
    Feb 16, 2015
    Messages:
    14
    Likes Received:
    3
    Not yet, I'll try now and let you know.

    Thanks modjo!
     
    modjo likes this.
  4. SECO_FAE

    SECO_FAE New Member Staff Member

    Joined:
    Feb 17, 2016
    Messages:
    9
    Likes Received:
    11
    Hi Stefano,

    the A62, being a newer board, was based on the new versions of BSP released by NXP. Therefore, the board comes officially with Ubuntu 14.04 and Android 5. Though the board was born as the fully compatible industrial version, in embedded nothing is 100% migrateable and some tweaks need to be done. Also, Android 5 is still under development and has only a limited number of features available on the A62. This is also true for Ubuntu. The official version for the A62 is 14.04 and UDOObuntu 12.04 will not work. to be able to make 12.04 or Android 4 work with the A62, development must be done on the part of the user.

    Hope this provides some clarity.
     
    stefanpini and modjo like this.
  5. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Nice to see seco on this Forum !
    Actually we developed a new app under ubuntu 11 (BSP 4.0), if i understand, if we order news A62 board there are not fully compatible with this layer ?
     
  6. SECO_FAE

    SECO_FAE New Member Staff Member

    Joined:
    Feb 17, 2016
    Messages:
    9
    Likes Received:
    11
    Thanks Modjo.

    I was just recently assigned the task of providing information on behalf of SECO to the community ( at least as much as I can provide).

    SECO cannot guarantee either yes or no because SECO does not delve into the application layer projects of customers or any external hardware designed by the customer. I recommend you try your application and eventually see if any changes need to be made. Sometimes, it is only a matter of minor tweaks.
     
    stefanpini and modjo like this.
  7. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Can you explain what are the major change with the revB please ?
     
    stefanpini likes this.
  8. stefanpini

    stefanpini New Member

    Joined:
    Feb 16, 2015
    Messages:
    14
    Likes Received:
    3
    SECO suggested me that the problem is the watchdog.

    Is necessary to import some code of the kernel of Android 5.0.2, for example:

    File: bootable/bootloader/uboot-imx/board/seco/A62_iMX6/pin_muxing_A62.h

    /* __________________________________________________________________________
    * | |
    * | WATCHDOG APX |
    * |__________________________________________________________________________|
    */
    iomux_v3_cfg_t const wdt_trigger_pads[] = {
    MX6_PAD_EIM_D25__GPIO3_IO25 | MUX_PAD_CTRL(NO_PAD_CTRL), // WDT_TRIG
    MX6_PAD_KEY_ROW2__GPIO4_IO11 | MUX_PAD_CTRL(NO_PAD_CTRL), // WDT_EN
    };


    File: bootable/bootloader/uboot-imx/board/seco/SBC_iMX6/mx6seco_A62.c:
    /* __________________________________________________________________________
    * | |
    * | WATCHDOG APX |
    * |__________________________________________________________________________|
    */
    static inline void setup_iomux_apx_watchdog (void) {
    imx_iomux_v3_setup_multiple_pads (wdt_trigger_pads, ARRAY_SIZE(wdt_trigger_pads));
    }
    /* __________________________________________________________________________
    * |__________________________________________________________________________|
    */

    File: bootable/bootloader/uboot-imx/drivers/watchdog/apx_watchdog.c

    File: kernel_imx/arch/arm/mach-imx/mach-imx6q.c

    static void __init imx6q_init_machine(void)
    {
    struct device *parent;

    if ( of_machine_is_compatible("fsl,imx6q-SBC_A62") ||
    of_machine_is_compatible("fsl,imx6dl-SBC_A62") ) {

    apx_wdog_trigger_early_init (&apx_wdt_a62, 0);

    }
     
    modjo likes this.
  9. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Thanks, issue solved ?
     
  10. stefanpini

    stefanpini New Member

    Joined:
    Feb 16, 2015
    Messages:
    14
    Likes Received:
    3
    I'm working on it, when it's solved I'll post the changes
     
    Andrea Rovai likes this.

Share This Page