<cheetahpixie>
first off: is there any way to extract whatever device info that is embedded in an u-boot binary? I'm looking to rip out the contents of an android tv box's u-boot to possibly build mainline u-boot on the device.
<cheetahpixie>
for what I want to do, I'll need mainline.
<cheetahpixie>
mind that I am not afraid of homebrewing solutions with minimal guidance, nor am I afraid of machine code, or binary black boxes. I'm willing to dive deep to get this done.
qqq has joined #u-boot
warpme has joined #u-boot
<marex>
U-Boot is GPLv2 , ask vendor for sources
<cheetahpixie>
I don't think the vendor even has a page of note.
<cheetahpixie>
it's chinese out the wazoo, so make of that what you will.
<cheetahpixie>
there's a reason I'm willing to go the binary route, and another reason I'd much rather go that route.
<cheetahpixie>
the latter is mostly down to not requiring sources as well as being a more automatable solution.
<cheetahpixie>
I did try to look again, and nope. it's an alibaba rabbithole with a faceless, unnamed OEM providing for a bunch of other companies.
<cheetahpixie>
so. any idea about how to extract the info from a binary?
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<helene>
binwalk + pipe it into ghidra/ida pro/etc?
<mps>
cheetahpixie: try with `strings`, it could help to some degree
<cheetahpixie>
alright.
<cheetahpixie>
is there any magic that I'm looking for? mps
<cheetahpixie>
if there's a magic string/value of some sort, that could be real helpful.
<mps>
cheetahpixie: I don't know for what you have to search, try to guess as I doing similar things
<cheetahpixie>
alright.
<cheetahpixie>
though it would be nice to know what format the device info uboot takes in is in.
<mps>
maybe 'model' word
<mps>
in strings output are a lot of infos
<cheetahpixie>
hm.
<cheetahpixie>
I should rejoin on my desktop and continue.
f_ has quit [Remote host closed the connection]
<cheetahpixie>
supposedly some of this stuff is a plain dtb, but I haven't looked at the uboot sources at all.
warpme has joined #u-boot
___nick___ has quit [Ping timeout: 240 seconds]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cheetahpixie>
alright. I'll go rejoin on my desktop.
cheetahpixie has quit [Quit: Client closed]
cheetahpixie has joined #u-boot
enok has joined #u-boot
<cheetahpixie>
now that I'm at my desktop, tldr: fip. that's my current target.
warpme has joined #u-boot
warpme has quit [Client Quit]
warpme has joined #u-boot
warpme has quit [Client Quit]
Leopold has joined #u-boot
Leopold has quit [Client Quit]
Leopold has joined #u-boot
Leopold has quit [Remote host closed the connection]
warpme has joined #u-boot
warpme has quit [Client Quit]
enok has quit [Ping timeout: 256 seconds]
enok has joined #u-boot
Leopold has joined #u-boot
Leopold has quit [Client Quit]
Leopold has joined #u-boot
warpme has joined #u-boot
Leopold has quit [Client Quit]
Leopold has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]