Linux Kernel config options

I connected Arria 10 SoC DK and AD-FMCLIDAR1-EBZ and confirmed that 2019_R1-2019_12_20.img can be booted.

I need to modify the FPGA design and rebuild the Linux Kernel.

AD-FMCLIDAR1-EBZ is not included in Linux Drivers, so I do not understand the option setting of Configure kernel.

https://wiki.analog.com/resources/tools-software/linux-drivers-all

Can you tell me which options to set in menuconfig?

Regards,

Parents
  • 0
    •  Analog Employees 
    on Jan 28, 2020 12:30 PM

    Hi,

    What do you mean by "AD-FMCLIDAR1-EBZ is not included in Linux Drivers" or what branch are you referring to? For the Arria 10 SoC DK, at this moment, you should use altera_4.14  branch - all the necessary drivers should be enabled by socfpga_adi_defconfig (have a look at https://github.com/analogdevicesinc/linux/commit/c314fdf079ac50dfda58f66655776545e7a466bc).

    Thanks,
    Dragos

  • Hello Dragos

    Thanks for your reply.

    and Sorry for the late reply.

    I've confirmed. However, Linux boot is not completed before confirming the operation.

    The work I did is shown below.

    1. Software preparation

    1-1. Download "2019_R1-2020_02_04.img" from here and write it to SD-CARD.

    https://wiki.analog.com/resources/tools-software/linux-software/zynq_images

    1-2. Copy all files in "socfpga_arria10_socdk_fmclidar1" folder of BOOT partition to Root.

    1-3. "preloader_bootloader.bin" was written to the 3'rd partition using the dd command.

    2. Hardware preparation

    2-1. Change Arria10 SoC Devkit referring to "Changes required" and "The Lidar boards do not power up" here.

    https://github.com/analogdevicesinc/hdl/blob/master/projects/ad_fmclidar1_ebz/README.md

    2-2. Connect LiDAR board to FMC-A of Arria10 SoC Devlit. (LiDAR board switch is OFF)

    In addition, this LiDAR board is work normally with Zynq.

    2-3. Insert SD-CARD into Arria10 SoC Devkit and power on.

    [Result]

    ........

    [ 27.581726] axi_laser_fault_handler: 1357281 callbacks suppressed
    [ 27.581734] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:0, saved_en:0
    [ 27.596896] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:1, saved_en:0
    [ 27.606000] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:0, saved_en:0
    [ 27.615101] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:1, saved_en:0
    [ 27.624200] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:0, saved_en:0
    [ 27.633301] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:1, saved_en:0
    [ 27.642400] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:0, saved_en:0
    [ 27.651494] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:1, saved_en:0
    [ 27.660592] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:0, saved_en:0
    [ 27.669690] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:1, saved_en:0
    [ 32.591727] axi_laser_fault_handler: 1448662 callbacks suppressed
    [ 32.591732] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:0, saved_en:0
    [ 32.606892] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:1, saved_en:0
    [ 32.615991] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:0, saved_en:0
    [ 32.625092] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:1, saved_en:0
    [ 32.634190] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:0, saved_en:0
    [ 32.643288] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:1, saved_en:0
    [ 32.652387] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:0, saved_en:0
    [ 32.661480] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:1, saved_en:0
    [ 32.670578] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:0, saved_en:0
    [ 32.679681] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:1, saved_en:0
    [ 37.601725] axi_laser_fault_handler: 1447616 callbacks suppressed

    The above log is output continuously and boot is not completed.

    This symptom may not occur, but it does occur relatively frequently.

    What is the problem?

    Regards,

  • 0
    •  Analog Employees 
    on Mar 5, 2020 9:10 AM in reply to Taka@3140

    I've moved this thread to Linux Software Drivers community.

    We will do a test and come back with the result.

    Thanks,
    Dragos

Reply Children