NVR NBD80S10S-KL(NBD80S16S-KL) with SigmaStar/Mstar Ssr621Q #85
Replies: 7 comments 10 replies
-
Features, specs and firmware can be found here: https://www.xiongmaitech.com/en/index.php/product/product-detail/4/110/449 Boot log:
No output from naitive kernel, but work good. DTS from naitive kernel 04_dtbdump_INFINITY2M_SSC010A-S01A-S.zip / # cat /proc/cmdline |
Beta Was this translation helpful? Give feedback.
-
Hi, pretty sure I had this working at some point.. I'll take a look. FYIW SATA support isn't finished in my kernel but it shouldn't actually be that difficult to get working. |
Beta Was this translation helpful? Give feedback.
-
Hi, I used *3v* TTL to usb to see console and flash drive to download
firmware.
вс, 7 апр. 2024 г. в 02:52, LelandWilson ***@***.***>:
… Hi. Did you just solder Gnd, Tx & Rx to the board at the 3-pin vacant
headers? I saw in your photo the header location st the edge of the board,
near the SATA connector. It looks like you had 5v TTL to usb with those
connection for serial. Just checking you didn’t make any other mods to get
root access on the board?
—
Reply to this email directly, view it on GitHub
<#85 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7M6SH4PJNE6RWSUOO6HJILY4CDETAVCNFSM6AAAAAAXK4EHHGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TAMZSGM2DQ>
.
You are receiving this because you were mentioned.Message ID:
<linux-chenxing/linux-chenxing.org/repo-discussions/85/comments/9032348@
github.com>
--
С уважением Павел, ©libixur.ru
|
Beta Was this translation helpful? Give feedback.
-
Hey im-libixur,
I have tried the following with no success, although I can get the firmware uploaded, Im obviously doing something worth. Im hoping you can point out my mistake please.
I have added dropbear ssh to the roofs-x.squashfs.img and have been trying to us that but it fails to boo tup after the upload.
> dd if=romfs-x.squashfs.img of=extracted-squashfs2.img bs=1 skip=64
> unsquashfs -s extracted-squashfs2.img
"""
4018176+0 records in
4018176+0 records out
4018176 bytes transferred in 15.219973 secs (264007 bytes/sec)
(base) ***@***.*** nvrFWExtract % unsquashfs -s extracted-squashfs2.img
Found a valid SQUASHFS 4:0 superblock on extracted-squashfs2.img.
Creation or last append time Sat Feb 6 23:07:20 2106
Filesystem size 4016792 bytes (3922.65 Kbytes / 3.83 Mbytes)
Compression xz
Block size 262144
Filesystem is exportable via NFS
Inodes are compressed
Data is compressed
Uids/Gids (Id table) are compressed
Fragments are compressed
Always-use-fragments option is not specified
Xattrs are not stored
Duplicates are removed
Number of fragments 14
Number of inodes 279
Number of ids 1
"""
Make changes to filesystem, including add dropbear ssh (dropbear, dropbearkey, scp to /bin) and keys to /etc/dropbear-initramfs:
> sudo unsquashfs extracted-squashfs2.img
> sudo chmod -R 700 squashfs-root
> sudo chown -R $(whoami) squashfs-root
> sudo chmod 600 dropbear_ed25519_host_key
> sudo chmod 600 dropbear_ecdsa_host_key
> sudo chmod 600 dropbear_rsa_host_key
> sudo chown -R 609:609 squashfs-root
sudo mksquashfs squashfs-root newest-squashfs.img -comp xz -b 262144 -all-root -noappend -no-progress
mkimage -A arm -O linux -T filesystem -C gzip -a 0x50000 -e 0x440000 -n 'romfs' -d newest-squashfs.img newer-romfs-x.squashfs.img
And here is the failure message from the boot via the UART connection:
“”"
all blocks is unlocked.
SRx val: {[1, 0x40], [1, 0x2], [1, 0x60], [0, 0x0]}, SrVal: 0x700000000600240.
SF: Detected nor0 with total size 16 MiB
SF: 4128768 bytes @ 0x50000 Read: OK
srcAddr: 0x24000000, dstAddr: 0x22000000, filename: boot/uImage.
@get_squashfs_file(), created_inode 0x239e8520
data abort
pc : [<23e518e8>] lr : [<23e4a098>]
sp : 239dd3bc ip : 00000008 fp : 239df42c
r10: 24000000 r9 : 239dfef8 r8 : 00000000
r7 : 239df3f8 r6 : 23f85ac8 r5 : 2043fe24 r4 : e7bc01dc
r3 : 239dd3c9 r2 : 0bbc01de r1 : 0bbc01dc r0 : 239dd3ca
Flags: Nzcv IRQs off FIQs off Mode SVC_32
Resetting CPU …
“”"
Any suggestion are welcomed!
Thanks!
… On 14 Apr 2024, at 4:32 pm, im-libixur ***@***.***> wrote:
Hi, plese review this topic to understand how to rebuild partitions: https://ipcamtalk.com/threads/uart-rs232-on-nbd8008r-3536dv100-v1-01.31613/ <https://ipcamtalk.com/threads/uart-rs232-on-nbd8008r-3536dv100-v1-01.31613/>
You can load separate partitions via auconfig.txt (e.q. romfs-x.squashfs.img, user-x.squashfs.img, etc)
Write to me if you have any additional questions.
—
Reply to this email directly, view it on GitHub <#85 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABJ6ORQLK63EWNUAEHQPC73Y5IPHVAVCNFSM6AAAAAAXK4EHHGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMBXGY3TI>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
Hi guys, I'm in the same boat. I want to play around with this NVR board and try to setup https://openipc.org/ firmware in this board. I am also a software developer, but I do not have experience with embedded devices.
Is this correct? Also I wanted to get u-boot shell access via the UART debug port, but it is protected with password. Can't I just go and modify the firmware to not use any password? This is the It would be a lot of help if you guys can provide me with some guidance. |
Beta Was this translation helpful? Give feedback.
-
Here is the output of printenv:
|
Beta Was this translation helpful? Give feedback.
-
Hi all
I want to make a torrent client a separate device. And it had to be the cheapest possible device with SATA. Found this NVR: https://aliexpress.com/item/1005004050753166.html, $20, not bad. I bought this right away in a case for HDD and power supply: aliexpress.com/item/32873072623.html (Color: 9ch)
There was also a choice to buy the same board but with a different processor (XM8536D): https://aliexpress.com/item/33004290468.html, maybe I would have had fewer problems with it.
And so we have an NVR board with the SigmaStar/Mstar Ssr621Q (or Ssr621D processor, the cooling radiator is very strongly glued). By connecting via SART, I was able to connect to the board and modify the firmware for control, but I ran into a problem that the native kernel does not support EXT file systems. Only FAT32 and NTFS in read-only mode. I want to use EXT4, so I started trying to build my kernel, but with no success.
The last thing I did was download the kernel from https://github.com/linux-chenxing/linux, built it with mstar_defconfig and added arch/arm/boot/dts/mstar-infinity2m-ssr621d-tlnvr.dtb to the kernel via ARM_APPENDED_DTB and enabled DEBUG_LL and EARLY_PRINTK.
The most I've been able to get is:
In all other cases, I just got the message "Starting kernel ..."
I tried to get the DTB file from the native kernel and use it for the new kernel, but there was also no success.
Please help me build a working kernel.
I do not have access to u-boot, I can not interrupt the start process. I upload firmware via usb-flash with auconfig.txt and *.img files.
Beta Was this translation helpful? Give feedback.
All reactions