Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

H3 BROM reversing

Featured Replies

Hi there,

I've just got my first H3 board (OPi Zero +2) and I'm interested in learning how boot process works in detail,  with a focus on Security ID  features.

As far I can see there's not that much documentation about S/NBROM (essentially linux-sunxi's Wiki and Allwinner-info git repo) and what's supposed to be H3's NBROM (header  1100, 1100, 1633) looks like slightly different from A10's one (from git) at first glance.

Is there anyone here who has already worked on it and/or has info/symbols/pseudocode/whatever might speed up the reversing process?

 

Thank you!

Hi Schottky,

 

How much do you know already about the boot process with the device tree on ARM devices ?

  • Author

Hi Tido,

I know the basic theory behind DTs, but never wrote one from scratch nor played that much with them

  • Author

Thank you, but I don't get how DTs could help me to understand BROM internals (my goal atm is to understand all the steps from reset vector to BT0/TOC0/FEL)

10 hours ago, DrSchottky said:

in learning how boot process works in detail

well, you wrote that.  ARM has no BIOS it has  Device Tree

10 hours ago, DrSchottky said:

Is there anyone here who has already worked on it and/or has info/symbols/pseudocode/whatever might speed up the reversing process?

 

This here is most probably the wrong location to ask for. Armbian is about adding stuff at the distro level and keeping track of kernel changes. We seldomly touch bootloader stuff.

 

If not already done I would better ask in linux-sunxi IRC (remain patient, people are from all timezones and all the regulars read the backlog so it's quite common to get individual answers hours or days later)

  • Author
12 hours ago, tkaiser said:

 

This here is most probably the wrong location to ask for. Armbian is about adding stuff at the distro level and keeping track of kernel changes. We seldomly touch bootloader stuff.

 

If not already done I would better ask in linux-sunxi IRC (remain patient, people are from all timezones and all the regulars read the backlog so it's quite common to get individual answers hours or days later)

Ok, thanks for the hint.

 

Oh, since I haven't found one I made a little tool to dump the bootrom from userspace (tested on Armbian for H2+/H3, but should work on other SoCs too). I leave it here, just in case someone wants to play with this stuff :)

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.