ContributionsMost RecentMost LikesSolutionsRe: AGFB014R24B2E3V Agilex hanging during Linux boot Hi, Did you already try to reach out? I didn't get an email. Thanks! Re: AGFB014R24B2E3V Agilex hanging during Linux boot Hi, Are there any updates? Could you please reach out to me via PM/Email. Thanks! Re: AGFB014R24B2E3V Agilex hanging during Linux boot Hi, I've attached the boot log for the AGFB014R24A2E2VR0 board booting successfully with reduced memory. The build dates are different, since I had to regenerate the .jic for the QSPI, and the eMMC image had been rebuilt with some unrelated file changes in the rootFS. The U-boot and kernel settings were unchanged. Thanks! Re: AGFB014R24B2E3V Agilex hanging during Linux boot Hi, Yes, there are differences in the steps. - The ATF steps are skipped - Buildroot is used to build everything, so toolchain, u-boot, linux, etc - the steps for building the SD card image are also different. Our image is created using the genimage tool The memory was reduced by adding the 'mem=3584M' to the u-boot bootargs that get passed to Linux. I will add the boot log for the AGFB014R24A2E2VR0 board at a later date as I don't have that on hand. I've attached the boot log for the AGFB014R24B2E3V board booting successfully with reduced memory. Thanks! Re: AGFB014R24B2E3V Agilex hanging during Linux boot Hi, I made the changes recommended, and tested it out. The issue was still present. Comparing the differences in the boot logs, nothing stood out to me, but I've attached the file just in case. Thanks! Re: AGFB014R24B2E3V Agilex hanging during Linux boot Hi, In the u-boot-board.dtsi file (the file is available in requested_files.zip from an earlier post), I have the following settings for the 4GB memory: memory { #address-cells = <2>; #size-cells = <2>; reg = <0 0x00000000 0 0x80000000>, /* 2GB */ <2 0x80000000 0 0x80000000>; /* 2GB */ u-boot,dm-pre-reloc; }; Thanks! Re: AGFB014R24B2E3V Agilex hanging during Linux boot Hi, Changing the names did not have any effect. For the device tree files, I used some different peripherals to match our board: - GMAC1 instead of GMAC 0 - USB1 instead of USB0 - UART1 instead of UART0 - Enabled both I2C0 and I2C1 I changed some settings too: - UART1 clock frequency - MMC bus width set to 8 instead of 4 - Model name changed from Agilex SoCDK - Updated memory reg property to allocate 4GB instead of 8GB - Watchdog status left as disabled - Enabled GPIO0 as well For the defconfig differences: - I don't use the rsu commands in the CONFIG_BOOTCOMMAND. - My CONFIG_BOOTCOMMAND has fpgaprivhack, which just toggles a register to allow userspace FPGA access. - I target a different board and defaults, but this is supported by the patches - CONFIG_SPL_SPI_LOAD is set, and the CONFIG_SYS_MEMTEST_START/END is not set. - I don't have CONFIG_FPGA_INTEL_PR enabled at U-boot - I don't have CONFIG_PANIC_HANG - I don't have any of the watchdog options I have not used the debugger yet. Thanks! Re: AGFB014R24B2E3V Agilex hanging during Linux boot Hi, I have attached a zipped copy of the uboot defconfig as well as the patch to allow for our filenames. The same BSP image works on the older revision Agilex parts, so it doesn't seem like the device tree file names are the cause. I can try changing them if you think it's worth a shot. Thanks! Re: AGFB014R24B2E3V Agilex hanging during Linux boot Hi, The DDR device part number is: Micron MT40A512M16LY-062EAT:E I've attached the Linux and U-boot device tree files along with the Quartus project Qsys and top level files. If you need more from the Quartus project, I can provide it privately. Thanks! AGFB014R24B2E3V Agilex hanging during Linux boot Hello, We brought up a board using AGFB014R24A2E2VR0 Agilex parts, but now that we received new boards with the AGFB014R24B2E3V Agilex, the new boards hang in Linux. Our board has 4GB of RAM. If I reduce the amount of memory available to Linux (passing in up to 'mem=3584M') then the new boards boot as expected. If I don't reduce the amount available, during the Linux boot process: - Issues interpreting the devicetree properties(?) - Bad page state in the process swapper I've attached the boot log for the failed boot on the new board with the new Agilex variant. The linux version used is 5.4.34-lts from the linux-socfpga repo, and the u-boot version used is 2020.07 from the uboot-socfpga repo. The .jic for the board was built using Quartus 21.2 tools. Any idea what could be causing this? Let me know if you need any other information. Thanks!