ubis / HI3536DV100

HI3536DV100 SoC based Techage N6708G5 NVR hacking
24 stars 6 forks source link

similar device - NBD8016R-PL-V2 #2

Open orangecms opened 4 years ago

orangecms commented 4 years ago

Hey there,

Thanks a lot for sharing your investigation results! :)

I have a similar device based on the same SoC and I managed to run u-root on it. The flash partitioning is the same as yours, but the contents are different. So I thought a little exchange could be beneficial anyway.

For a start, I drafted my notes on what I could figure out myself and how I modified the firmware, which would then run u-root from a USB storage. I could also find some sort of SDK, but unfortunately, just as you wrote, not all drivers are source-available. So my approach is to retain the existing kernel and modules for now and build on top of that.

Cheers! :)

ubis commented 4 years ago

Hi Daniel,

Interesting, you seem to have framebuffer working. Perhaps HDMI is next? :) I never actually looked into FB/HDMI with stock kernel. Mostly what I did is I cleaned up SDK kernel changes and added base OpenWrt support. It shouldn't take too much changes to have working newer than 4.9 kernel. Downside is... We have proprietary modules for kernel 4.9.xx.

I thought about these 2 solutions:

In either case, FB shouldn't be a problem. I would like to get HDMI working as well, and looking into these proprietary modules, it seems that it's more complicated than FB.

And we also got Encoders/Decoders, it would be also cool to get them to work.

By the way, what is your goal? Just doing it for fun, or you want to have a more secured NVR? :)

orangecms commented 4 years ago

The framebuffer was already activated by the app running on the device, so I am drawing over it. You can still see the date printed in the upper right corner in the photo because it refreshes continuously.

My personal goal was mainly just to experiment and play with it, while learning anbout different sorts of systems. At some point I started studying and investigating various kinds of devices and gadgets, including x86 laptops, later on wireless storages, and now I reached this NVR. Another current project is a V380 IP camera. I am putting u-root wherever I find a Linux kernel, basically.

Other goals are repurposing/unlocking hardware (this one, after all, could well be used as a lightweight general-purpose computer) and keeping systems more up to date (since vendors rarely do so). The boundary is usually closed drivers.