Skip to content

Microblaze Board Support Enablement#150

Open
Zvckkk wants to merge 23 commits intosdgtt:mainfrom
Zvckkk:microblaze_boot_enable
Open

Microblaze Board Support Enablement#150
Zvckkk wants to merge 23 commits intosdgtt:mainfrom
Zvckkk:microblaze_boot_enable

Conversation

@Zvckkk
Copy link

@Zvckkk Zvckkk commented Dec 17, 2025

Introduces the implementation of MicroBlaze board support in the core functionalities.

Downloader Module:

  • added Microblaze-specific support in the existing methods to handle the required boot partition files

Uart Module

  • added a method to request IP and retrieve it for Microblaze Boards
  • implemented a method for verifying if the board booted successfully

Jtag Module

  • added a method to enable booting MicroBlaze boards over jtag

Manager Module

  • the new method added is to handle the Microblaze booting process, uart and network initialization

Network Module

  • Introduced a monkey patch for paramiko.packet.Packetizer.read_message to skip MAC verification errors caused by Dropbear SSH compatibility issues
  • added a flag to detect MicroBlaze boards through board name
  • adjusted SSH connection settings to increase the window size, packet size, and enabled PTY mode
  • updated check_dmesg to support dmesg logging and filtering for Microblaze boards

@Zvckkk Zvckkk force-pushed the microblaze_boot_enable branch 3 times, most recently from d8b7f91 to d0d07a4 Compare December 18, 2025 08:45
@tagoylo tagoylo requested a review from bia1708 December 18, 2025 08:48
@Zvckkk Zvckkk marked this pull request as draft January 14, 2026 08:19
@Zvckkk
Copy link
Author

Zvckkk commented Jan 15, 2026

The current implementation of the paramiko monkey-patch in network.py affects the paramiko library globally, making any other plugin using the paramiko library in the same python process will also inherit the patched behavior. I will revisit the implementation to find a possible fix for this scenario.

macylibed9 and others added 20 commits January 21, 2026 09:05
Signed-off-by: Macy Libed <macy.libed@analog.com>
 Microblaze Fixes
Signed-off-by: Macy Libed <macy.libed@analog.com>
Signed-off-by: Macy Libed <macy.libed@analog.com>
Signed-off-by: Macy Libed <macy.libed@analog.com>
Signed-off-by: Trecia Agoylo <trecia.agoylo@analog.com>
@Zvckkk Zvckkk force-pushed the microblaze_boot_enable branch from 8a31cbb to 4f136b8 Compare January 21, 2026 01:06
@Zvckkk
Copy link
Author

Zvckkk commented Jan 21, 2026

Removed the monkey patch that ignore MAC mismatch errors during SSH connections to Microblaze boards. some tests are expected to fail due to the Dropbear server issues on Microblaze boards. These failures are not due to script logics but rather server's behavior. Once the Dropbear issue is resolved, The changes and tests are expected to pass successfully.

@Zvckkk Zvckkk marked this pull request as ready for review January 21, 2026 01:50
@bia1708
Copy link
Contributor

bia1708 commented Jan 21, 2026

@Zvckkk Hi! I'll look over the PR in a bit, but just dropping in to say that afaik the dropbear issue should be fixed (fixing commit). Which version of boot files are you using to test this?

@Zvckkk
Copy link
Author

Zvckkk commented Jan 21, 2026

Which version of boot files are you using to test this?
Hi @bia1708 I'm testing with the main boot files for testing

@tagoylo tagoylo mentioned this pull request Jan 22, 2026
Signed-off-by: Zvckkk <acealexander.ilog@analog.com>
Signed-off-by: Zvckkk <acealexander.ilog@analog.com>
Copy link
Collaborator

@tagoylo tagoylo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly address remaining comments

Signed-off-by: Ace Alexander Ilog <acealexander.ilog@analog.com>
@Zvckkk
Copy link
Author

Zvckkk commented Feb 11, 2026

Finished addressing the remaining comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants