您尚未登录。

#1 Re: SigmaStar/SSD201/SSD202/SSD212 » SSD202开源在线文档( 含搭建、SDK开发、API参考、调试) » 2022-03-31 19:37:02

dgp
mango 说:

已清空所有sigma资料。
结论:诈骗式开源。

We have basically everything working now. Sigmastar have also released register information.

https://twitter.com/linux_chenxing/status/1504389676861628421

#2 Re: SigmaStar/SSD201/SSD202/SSD212 » Project Sigmastar » 2022-03-31 19:35:36

dgp

Are you using the vendor SDK? That board is running pretty well with the open source kernel now.
https://github.com/linux-chenxing/linux

#3 Re: 全志 SOC » any D1s/F133-A chips available ??? » 2021-10-30 01:06:52

dgp

@j1sys

What bits do you need to know about the SSD212.

Most of it is the same as the other SSDxxx chips. I have linux 5.15 running on it with some minor changes for the new GPIO.
Also we have the kernel, u-boot etc sources now.

#4 Re: SigmaStar/SSD201/SSD202/SSD212 » SSD芯片功能差异表 » 2021-07-29 22:31:34

dgp

Sorry for english..

The SSD26X is interesting. The SDK is still using a 32bit compiler I think.

Most of the hardware of the SSD201 and SSD202D is reverse engineered now. All of the sigmastar chips use the same hardware so it should be possible to make them all work.

I even have the LCD controller working in Linux 5.14: https://twitter.com/linux_chenxing/status/1415308882918797323

I need to finish reverse engineering the sound but it is pretty difficult.

#5 Re: SigmaStar/SSD201/SSD202/SSD212 » SSD212出了没 » 2021-03-30 21:41:40

dgp
shawn.d 说:

早就出了,都有客户出了80K了.

Sorry for English.

Are the kernel sources for the SSD212 available anywhere?
Also are there any products on taobao that contain it?

Thanks!

#6 Re: SigmaStar/SSD201/SSD202/SSD212 » 有没有人用过SigmaStar SSD201这颗芯片,感觉挺不错的啊 » 2021-03-06 17:28:51

dgp
caszhao 说:

Hi, dgp, May I add your whatsapp, maybe I can help.

Hi,

Sorry I don't have whatsapp. Could you send me an email? daniel<at>0x0f.com?

Thanks,

Daniel

#7 Re: SigmaStar/SSD201/SSD202/SSD212 » 有没有人用过SigmaStar SSD201这颗芯片,感觉挺不错的啊 » 2021-03-06 10:56:15

dgp
落日余晖 说:

瞄了一下设备树, 驱动的设备还不是很多.

Please look here:

https://github.com/fifteenhex/linux/blob/mstar_v5_12_rebase/arch/arm/boot/dts/mstar-v7.dtsi

IPL g5da0ceb
D-1e
SW Reset
miupll_233MHz
MIU0 zq=0x003c
miu_bw_set
utmi_1_init done
utmi_2_init done
utmi_3_init done
usbpll init done......
cpupll init done
SPI 54M
clk_init done 
P1 USB_rterm trim=0x0000
P1 USB_HS_TX_CURRENT trim=0x0001
P2 USB_rterm trim=0x0000
P2 USB_HS_TX_CURRENT trim=0x0001
P3 USB_rterm trim=0x0000
P3 USB_HS_TX_CURRENT trim=0x0001
PM_vol_bgap trim=0x0002
GCR_SAR_DATA trim=0x0190
ETH 10T output swing trim=0x0000
ETH 100T output swing trim=0x0000
ETH RX input impedance trim=0x0000
ETH TX output impedance trim=0x0001
MIPI_HS_RTERM trim=0x0001
MIPI_LP_RTERM trim=0x0000
128MB
BIST0_0001-OK
Enable MMU and CACHE
Load IPL_CUST from SPINAND
unable to find IDX for part type:0001
[I]m7
Checksum OK
!
U-Boot SPL 2021.01-rc4-00137-gb3f4baadc5b4-dirty (Jan 24 2021 - 18:57:06 +0900)

cpuid: 410fc075, mstar chipid: f0
normal power on
wrote 1f206540 <- 4bc7 was 4bc7, readback 4bc7
wrote 1f206544 <- 0037 was 0037, readback 0037
wrote 1f206548 <- b3d5 was 0000, readback b3d5
wrote 1f20654c <- 0043 was 0000, readback 0043
wrote 1f206560 <- 0001 was 0000, readback 0001
wrote 1f206554 <- 0006 was 0006, readback 0006
wrote 1f20655c <- 0008 was 0008, readback 0008
wrote 1f206564 <- 1000 was 0000, readback 1000
wrote 1f206550 <- 0000 was 0000, readback 0000
wrote 1f206550 <- 0001 was 0000, readback 0001
wrote 1f20442c <- 0001 was 0000, readback 0001
wrote 1f203ddc <- 0004 was 0000, readback 0004
wrote 1f203dd4 <- 4004 was 0000, readback 4004
wrote 1f203dd8 <- 0001 was 0000, readback 0001
wrote 1f203dc0 <- 0000 was 0000, readback 0000
wrote 1f203dc0 <- 8000 was 0000, readback 8000
delaying for 100
readback: 4277
mplldbg 2
mpll: 0 - 0
mpll: 4 - 0
mpll: 8 - 0
mpll: c - a0005578
mpll: 10 - ef
Trying to boot from SPI NAND(UBI)
xx 1
xx 2
UBI: Loading VolId #0
!

U-Boot 2021.01-rc4-00140-g37f1ec8a1994-dirty (Jan 27 2021 - 20:52:47 +0900)

DRAM:  128 MiB
wrote 1f206540 <- 4bc7 was 4bc7, readback 4bc7
wrote 1f206544 <- 0037 was 0037, readback 0037
wrote 1f206548 <- b3d5 was b3d5, readback b3d5
wrote 1f20654c <- 0043 was 0043, readback 0043
wrote 1f206560 <- 0001 was 0001, readback 0001
wrote 1f206554 <- 0006 was 0006, readback 0006
wrote 1f20655c <- 0008 was 0008, readback 0008
wrote 1f206564 <- 1000 was 1000, readback 1000
wrote 1f206550 <- 0000 was 0001, readback 0000
wrote 1f206550 <- 0001 was 0000, readback 0001
wrote 1f20442c <- 0001 was 0001, readback 0001
wrote 1f203ddc <- 0004 was 0004, readback 0004
wrote 1f203dd4 <- 4004 was 4004, readback 4004
wrote 1f203dd8 <- 0001 was 0001, readback 0001
wrote 1f203dc0 <- 0000 was 8000, readback 0000
wrote 1f203dc0 <- 8000 was 0000, readback 8000
delaying for 100
readback: 4277
mpll here!
mpll here xxxx!
checking 26f8a370 26f8a370
found parent at 0
mpll is already running
MMC:   
Loading Environment from UBI... xx 1
xx 2
Read 8192 bytes from volume env to 26f85780
OK
In:    uart@221000
Out:   uart@221000
Err:   uart@221000
Net:   checking 26f8ae88 26f8ae88
found parent at 0
emac patches
rx ring 26fd6600

Warning: emac@2a2000 (eth0) using random MAC address - 36:85:ab:17:dd:9e
eth0: emac@2a2000
Hit any key to stop autoboot:  0 
No size specified -> Using max size (16887808)
Read 16887808 bytes from volume kernel to 20000000
## Loading kernel from FIT Image at 20000000 ...
   Using 'gw302' configuration
   Trying 'kernel@0' kernel subimage
     Description:  unavailable
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x200000a0
     Data Size:    3360304 Bytes = 3.2 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x22800000
     Entry Point:  0x22800000
     Hash algo:    crc32
     Hash value:   1f9bc6a8
     Hash algo:    sha1
     Hash value:   231b29ee85a6bd18b2777c27c2cb579678443a59
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 20000000 ...
   Using 'gw302' configuration
   Trying 'fdt@0' fdt subimage
     Description:  unavailable
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x203347d0
     Data Size:    31930 Bytes = 31.2 KiB
     Architecture: ARM
     Load Address: 0x22d00000
     Hash algo:    crc32
     Hash value:   7c2a21be
     Hash algo:    sha1
     Hash value:   1082b01beb380198bb834b96a0963fc3f40dc04d
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0x203347d0 to 0x22d00000
   Booting using the fdt blob at 0x22d00000
   Loading Kernel Image
   Loading Device Tree to 26f7b000, end 26f85cb9 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.11.0 (daniel@shiro) (arm-buildroot-linux-gnueabihf-gcc.br_real (Buildroot 2020.11-482-g6fd01e9e0552) 10.2.0, GNU ld (GNU Binutils) 2.35.11[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: GW302
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000020000000-0x0000000027ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000020000000-0x0000000027ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000020000000-0x0000000027ffffff]
[    0.000000] percpu: Embedded 13 pages/cpu s32652 r0 d20596 u53248
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 clk_ignore_unused earlyprintk ubi.mtd=1 ubi.block=0,rootfs root=/dev/ubiblock0_4 squashfs
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 117464K/131072K available (7168K kernel code, 704K rwdata, 1844K rodata, 1024K init, 244K bss, 13608K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] gicint: 25
[    0.000000] arch_timer: cp15 timer(s) running at 6.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1623fa770, max_idle_ns: 440795202238 ns
[    0.000001] sched_clock: 56 bits at 6MHz, resolution 166ns, wraps every 4398046511055ns
[    0.000023] Switching to timer-based delay loop, resolution 166ns
[    0.000205] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 159271703898 ns
[    0.000255] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 159271703898 ns
[    0.000302] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 159271703898 ns
[    0.000741] Console: colour dummy device 80x30
[    0.000792] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.00 BogoMIPS (lpj=60000)
[    0.000815] pid_max: default: 32768 minimum: 301
[    0.000965] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000989] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001735] CPU: Testing write buffer coherency: ok
[    0.002016] /cpus/cpu@0 missing clock-frequency property
[    0.002058] /cpus/cpu@1 missing clock-frequency property
[    0.002079] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002658] Setting up static identity map for 0x20100000 - 0x20100060
[    0.002793] rcu: Hierarchical SRCU implementation.
[    0.003526] smp: Bringing up secondary CPUs ...
[    0.004221] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.004397] smp: Brought up 1 node, 2 CPUs
[    0.004426] SMP: Total of 2 processors activated (24.00 BogoMIPS).
[    0.004440] CPU: All CPU(s) started in SVC mode.
[    0.004918] devtmpfs: initialized
[    0.013276] random: get_random_bytes called from setup_net+0x28/0x264 with crng_init=0
[    0.013685] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.013942] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013976] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.014111] pinctrl core: initialized pinctrl subsystem
[    0.015135] NET: Registered protocol family 16
[    0.015629] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.017059] cpuidle: using governor ladder
[    0.017111] cpuidle: using governor menu
[    0.043747] pm code is at c8875000, pm info is at c8874000, pmsleep is at c885ec00, pmgpio is at c8871e00
[    0.043890] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.043912] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.056488] cryptd: max_cpu_qlen set to 1000
[    0.059676] SCSI subsystem initialized
[    0.059897] usbcore: registered new interface driver usbfs
[    0.059948] usbcore: registered new interface driver hub
[    0.060076] usbcore: registered new device driver usb
[    0.060449] usb_phy_generic soc:fakephy@0: supply vcc not found, using dummy regulator
[    0.060763] mc: Linux media interface: v0.10
[    0.060814] videodev: Linux video capture interface: v2.00
[    0.061199] FPGA manager framework
[    0.061290] Advanced Linux Sound Architecture Driver Initialized.
[    0.062366] clocksource: Switched to clocksource arch_sys_counter
[    0.071577] NET: Registered protocol family 2
[    0.072230] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.072286] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.072317] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.072385] TCP: Hash tables configured (established 1024 bind 1024)
[    0.072513] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.072559] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.072738] NET: Registered protocol family 1
[    0.073581] RPC: Registered named UNIX socket transport module.
[    0.073609] RPC: Registered udp transport module.
[    0.073619] RPC: Registered tcp transport module.
[    0.073629] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.075876] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.079973] Initialise system trusted keyrings
[    0.080229] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.089603] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.090721] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.202850] Key type asymmetric registered
[    0.202879] Asymmetric key parser 'x509' registered
[    0.202945] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.204921] msc313-usb-phy soc:usbphy@0: Switching to UHC port
[    0.204955] msc313-usb-phy soc:usbphy@0: starting calibration...
[    0.205973] msc313-usb-phy soc:usbphy@0: calibration finished.
[    0.215504] msc313e-clkgen-mux 1f001c80.clkgen_mux: deglitch at 7
[    0.215575] msc313e-clkgen-mux 1f001c80.clkgen_mux: deglitch at 14
[    0.216370] msc313e-clkgen-mux 1f20705c.clkgen_mux: deglitch at 4
[    0.217675] msc313e-clkgen-mux 1f207180.clkgen_mux: deglitch at 4
[    0.218509] msc313e-clkgen-mux 1f207004.clkgen_mux: deglitch at 4
[    0.219616] msc313e-clkgen-mux: probe of 1f2070c0.clkgen_mux failed with error -22
[    0.219993] msc313e-clkgen-mux 1f2070c8.clkgen_mux: deglitch at 4
[    0.221122] msc313e-clkgen-mux 1f207184.clkgen_mux: deglitch at 4
[    0.221174] msc313e-clkgen-mux 1f207184.clkgen_mux: deglitch at 12
[    0.221210] msc313e-clkgen-mux 1f207184.clkgen_mux: deglitch clock is selected
[    0.222189] of_clk_hw_onecell_get: invalid index 14
[    0.223077] msc313e-clkgen-mux: probe of 1f226680.clkgen_mux failed with error -22
[    0.225383] cmdq probe
[    0.226256] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.228769] printk: console [ttyS0] disabled
[    0.228878] 1f221000.uart: ttyS0 at MMIO 0x1f221000 (irq = 55, base_baud = 10800000) is a 16550A
[    0.940902] printk: console [ttyS0] enabled
[    0.946238] 1f221200.uart: ttyS1 at MMIO 0x1f221200 (irq = 56, base_baud = 10800000) is a 16550A
[    0.959161] mstar-drm soc:display@0: probe
[    0.963692] mstar-gop 1f246200.gop: 1f246200.gop -> hV
[    0.969122] mstar-gop 1f246200.gop: 1f246200.gop -> `
[    0.974700] mstar-gop 1f246200.gop: binding
[    0.979067] mstar-gop 1f246200.gop: reset
[    0.993152] mstar-gop 1f246200.gop: dst: ip_main
[    0.997794] mstar-drm soc:display@0: bound 1f246200.gop (ops 0xc084853c)
[    1.004856] [drm] Initialized mstar-drm 1.0.0 20191208 for soc:display@0 on minor 0
[    1.013572] dummy-irq: no IRQ given.  Use irq=N
[    1.019327] debugfs: Directory '1f001000.isp' with parent 'regmap' already present!
[    1.028364] spi-nand spi0.0: Winbond SPI NAND was found.
[    1.033759] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    1.041915] Opcode 3b 
[    1.045701] 1 fixed-partitions partitions found on MTD device spi0.0
[    1.052094] Creating 1 MTD partitions on "spi0.0":
[    1.056950] 0x0000002c0000-0x000008000000 : "ubi"
[    1.086051] random: fast init done
[    1.163097] libphy: Fixed MDIO Bus: probed
[    1.168764] libphy: MACB_mii_bus: probed
[    1.173125] phy probe
[    1.176232] macb 1f2a2000.emac eth0: Cadence MACB rev 0x00000000 at 0x1f343c00 irq 59 (36:85:ab:17:dd:9e)
[    1.187017] usbcore: registered new interface driver rtl8192cu
[    1.192967] usbcore: registered new interface driver asix
[    1.198420] usbcore: registered new interface driver ax88179_178a
[    1.204596] usbcore: registered new interface driver cdc_ether
[    1.210485] usbcore: registered new interface driver rndis_host
[    1.216451] fotg210_hcd: FOTG210 Host Controller (EHCI) Driver
[    1.222760] need fusbh200 code here 5600
[    1.226722] getting port 0
[    1.229548] fotg210-hcd 1f284800.uhc: Faraday USB2.0 Host Controller
[    1.235997] fotg210-hcd 1f284800.uhc: new USB bus registered, assigned bus number 1
[    1.243843] fotg210-hcd 1f284800.uhc: irq 63, io mem 0x1f284800
[    1.259846] fotg210-hcd 1f284800.uhc: USB 2.0 started, EHCI 1.00
[    1.266859] hub 1-0:1.0: USB hub found
[    1.270681] hub 1-0:1.0: 1 port detected
[    1.275335] usbcore: registered new interface driver cdc_acm
[    1.281024] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.289121] usbcore: registered new interface driver cdc_wdm
[    1.294906] usbcore: registered new interface driver usb-storage
[    1.301038] usbcore: registered new interface driver usbserial_generic
[    1.307665] usbserial: USB Serial support registered for generic
[    1.313751] usbcore: registered new interface driver cp210x
[    1.319370] usbserial: USB Serial support registered for cp210x
[    1.325371] usbcore: registered new interface driver option
[    1.330990] usbserial: USB Serial support registered for GSM modem (1-port)
[    1.338093] usbcore: registered new interface driver usb_serial_simple
[    1.344701] usbserial: USB Serial support registered for carelink
[    1.350844] usbserial: USB Serial support registered for zio
[    1.356583] usbserial: USB Serial support registered for funsoft
[    1.362675] usbserial: USB Serial support registered for flashloader
[    1.369079] usbserial: USB Serial support registered for google
[    1.375068] usbserial: USB Serial support registered for libtransistor
[    1.381644] usbserial: USB Serial support registered for vivopay
[    1.387730] usbserial: USB Serial support registered for moto_modem
[    1.394075] usbserial: USB Serial support registered for motorola_tetra
[    1.400741] usbserial: USB Serial support registered for novatel_gps
[    1.407164] usbserial: USB Serial support registered for hp4x
[    1.412984] usbserial: USB Serial support registered for suunto
[    1.418953] usbserial: USB Serial support registered for siemens_mpi
[    1.426048] i2c /dev entries driver
[    1.680386] rtc-isl1208 1-006f: registered as rtc0
[    1.726801] rtc-isl1208 1-006f: setting system clock to 2021-03-06T02:53:31 UTC (1614999211)
[    1.736177] Driver for 1-wire Dallas network protocol.
[    1.744901] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 999999 KHz, changing to: 1008000 KHz
[    1.757554] msc313-sha 1f224420.sha: will run requests pump with realtime priority
[    1.775457] value 0:d5ca
[    1.778009] value 1:935f
[    1.780550] value 2:341e
[    1.783113] value 3:839d
[    1.785656] value 4:a23c
[    1.788196] value 5:bd10
[    1.790736] value 6:69a7
[    1.793297] value 7:898f
[    1.795840] value 8:944e
[    1.798380] value 9:8209
[    1.800920] value 10:dc00
[    1.803558] value 11:7950
[    1.806187] value 12:17aa
[    1.808815] value 13:5e8a
[    1.811443] value 14:3a2e
[    1.814096] value 15:3872
[    1.917298] in: 00 out: 00
[    1.920027] in: 00 out: 00
[    1.922750] in: 00 out: 00
[    1.925466] in: 00 out: 00
[    1.928180] in: 00 out: 00
[    1.930895] in: 00 out: 00
[    1.933617] in: 00 out: 00
[    1.936331] in: 00 out: 00
[    1.939044] in: 00 out: 00
[    1.941757] in: 00 out: 00
[    1.944478] in: 00 out: 00
[    1.947193] in: 00 out: 00
[    1.949906] in: 00 out: 00
[    1.952627] in: 00 out: 00
[    1.955342] in: 00 out: 00
[    1.958056] in: 00 out: 00
[    1.960770] in: 00 out: 00
[    1.963489] in: 00 out: 00
[    1.966205] in: 00 out: 00
[    1.968918] in: 00 out: 00
[    1.971631] in: 00 out: 00
[    1.974358] in: 00 out: 00
[    1.977072] in: 00 out: 00
[    1.979785] in: 00 out: 00
[    1.982507] in: 00 out: 00
[    1.985221] in: 00 out: 00
[    1.987934] in: 00 out: 00
[    1.990647] in: 00 out: 00
[    1.993369] in: 00 out: 00
[    1.996083] in: 00 out: 00
[    1.998797] in: 00 out: 00
[    2.001511] in: 00 out: 00
[    2.004231] in: 00 out: 00
[    2.006945] in: 00 out: 00
[    2.009659] in: 00 out: 00
[    2.012381] in: 00 out: 00
[    2.015097] in: 00 out: 00
[    2.017810] in: 00 out: 00
[    2.020524] in: 00 out: 00
[    2.023245] in: 00 out: 00
[    2.025958] in: 00 out: 00
[    2.028671] in: 00 out: 00
[    2.031385] in: 00 out: 00
[    2.034112] in: 00 out: 00
[    2.036827] in: 00 out: 00
[    2.039540] in: 00 out: 00
[    2.042253] in: 00 out: 00
[    2.044975] in: 00 out: 00
[    2.047689] in: 00 out: 00
[    2.050403] in: 00 out: 00
[    2.053126] in: 00 out: 00
[    2.055841] in: 00 out: 00
[    2.058555] in: 00 out: 00
[    2.061268] in: 00 out: 00
[    2.063989] in: 00 out: 00
[    2.066703] in: 00 out: 00
[    2.069417] in: 00 out: 00
[    2.072130] in: 00 out: 00
[    2.074857] in: 00 out: 00
[    2.077571] in: 00 out: 00
[    2.080284] in: 00 out: 00
[    2.083010] in: 00 out: 00
[    2.085725] in: 00 out: 00
[    2.088439] in: 00 out: 00
[    2.091152] in: 00 out: 00
[    2.093879] in: 00 out: 00
[    2.096594] in: 00 out: 00
[    2.099307] in: 00 out: 00
[    2.102020] in: 00 out: 00
[    2.104744] in: 00 out: 00
[    2.107459] in: 00 out: 00
[    2.110172] in: 00 out: 00
[    2.112894] in: 00 out: 00
[    2.115609] in: 00 out: 00
[    2.118322] in: 00 out: 00
[    2.121035] in: 00 out: 00
[    2.123755] in: 00 out: 00
[    2.126469] in: 00 out: 00
[    2.129183] in: 00 out: 00
[    2.131897] in: 00 out: 00
[    2.134619] in: 00 out: 00
[    2.137334] in: 00 out: 00
[    2.140047] in: 00 out: 00
[    2.142767] in: 00 out: 00
[    2.145481] in: 00 out: 00
[    2.148195] in: 00 out: 00
[    2.150909] in: 00 out: 00
[    2.153635] in: 00 out: 00
[    2.156351] in: 00 out: 00
[    2.159064] in: 00 out: 00
[    2.161778] in: 00 out: 00
[    2.164503] in: 00 out: 00
[    2.167218] in: 00 out: 00
[    2.169933] in: 00 out: 00
[    2.172656] in: 00 out: 00
[    2.175371] in: 00 out: 00
[    2.178085] in: 00 out: 00
[    2.180799] in: 00 out: 00
[    2.183520] in: 00 out: 00
[    2.186235] in: 00 out: 00
[    2.188949] in: 00 out: 00
[    2.191662] in: 00 out: 00
[    2.194384] in: 00 out: 00
[    2.197098] in: 00 out: 00
[    2.199811] in: 00 out: 00
[    2.202531] in: 00 out: 00
[    2.205246] in: 00 out: 00
[    2.207959] in: 00 out: 00
[    2.210672] in: 00 out: 00
[    2.213399] in: 00 out: 00
[    2.216113] in: 00 out: 00
[    2.218827] in: 00 out: 00
[    2.221541] in: 00 out: 00
[    2.224262] in: 00 out: 00
[    2.226976] in: 00 out: 00
[    2.229690] in: 00 out: 00
[    2.232413] in: 00 out: 00
[    2.235128] in: 00 out: 00
[    2.237841] in: 00 out: 00
[    2.240555] in: 00 out: 00
[    2.243276] in: 00 out: 00
[    2.245990] in: 00 out: 00
[    2.248704] in: 00 out: 00
[    2.251418] in: 00 out: 00
[    2.254140] in: 00 out: 00
[    2.256855] in: 00 out: 00
[    2.259569] in: 00 out: 00
[    2.262283] in: 00 out: 00
[    2.285528] 0 0
[    2.287296] l 49859
[    2.289401] l 0
[    2.291157] 4 0
[    2.292925] l 49859
[    2.295032] l 0
[    2.296788] 8 0
[    2.298544] l 49859
[    2.300648] l 0
[    2.302411] 12 0
[    2.304255] l 49859
[    2.306359] l 0
[    2.308114] 16 0
[    2.309957] l 49859
[    2.312060] l 0
[    2.313825] 20 0
[    2.315669] l 49859
[    2.317773] l 0
[    2.319529] 24 0
[    2.321371] l 49859
[    2.323483] l 0
[    2.325240] 28 0
[    2.327082] l 49859
[    2.329187] l 0
[    2.330942] 32 0
[    2.332798] l 49859
[    2.334904] l 0
[    2.336660] 36 0
[    2.338504] l 49859
[    2.340607] l 0
[    2.342370] 40 0
[    2.344214] l 49859
[    2.346317] l 0
[    2.348072] 44 0
[    2.349914] l 49859
[    2.352019] l 0
[    2.353783] 48 0
[    2.355627] l 49859
[    2.357731] l 0
[    2.359487] 52 0
[    2.361329] l 49859
[    2.363441] l 0
[    2.365197] 56 0
[    2.367040] l 49859
[    2.369144] l 0
[    2.370899] 60 0
[    2.372751] l 49859
[    2.374856] l 0
[    2.376612] rsa: 0 ff:c3
[    2.379152] rsa: 1 fe:c2
[    2.381693] rsa: 2 fd:0
[    2.384153] rsa: 3 fc:0
[    2.386606] rsa: 4 fb:c3
[    2.389147] rsa: 5 fa:c2
[    2.391687] rsa: 6 f9:0
[    2.394153] rsa: 7 f8:0
[    2.396607] rsa: 8 f7:c3
[    2.399148] rsa: 9 f6:c2
[    2.401687] rsa: 10 f5:0
[    2.404235] rsa: 11 f4:0
[    2.406776] rsa: 12 f3:c3
[    2.409403] rsa: 13 f2:c2
[    2.412031] rsa: 14 f1:0
[    2.414580] rsa: 15 f0:0
[    2.417121] rsa: 16 ef:c3
[    2.419749] rsa: 17 ee:c2
[    2.422383] rsa: 18 ed:0
[    2.424924] rsa: 19 ec:0
[    2.427464] rsa: 20 eb:c3
[    2.430092] rsa: 21 ea:c2
[    2.432728] rsa: 22 e9:0
[    2.435269] rsa: 23 e8:0
[    2.437809] rsa: 24 e7:c3
[    2.440437] rsa: 25 e6:c2
[    2.443071] rsa: 26 e5:0
[    2.445612] rsa: 27 e4:0
[    2.448152] rsa: 28 e3:c3
[    2.450780] rsa: 29 e2:c2
[    2.453420] rsa: 30 e1:0
[    2.455961] rsa: 31 e0:0
[    2.458502] rsa: 32 df:c3
[    2.461129] rsa: 33 de:c2
[    2.463764] rsa: 34 dd:0
[    2.466305] rsa: 35 dc:0
[    2.468845] rsa: 36 db:c3
[    2.471473] rsa: 37 da:c2
[    2.474109] rsa: 38 d9:0
[    2.476650] rsa: 39 d8:0
[    2.479190] rsa: 40 d7:c3
[    2.481818] rsa: 41 d6:c2
[    2.484452] rsa: 42 d5:0
[    2.486993] rsa: 43 d4:0
[    2.489533] rsa: 44 d3:c3
[    2.492161] rsa: 45 d2:c2
[    2.494797] rsa: 46 d1:0
[    2.497338] rsa: 47 d0:0
[    2.499878] rsa: 48 cf:c3
[    2.502512] rsa: 49 ce:c2
[    2.505140] rsa: 50 cd:0
[    2.507680] rsa: 51 cc:0
[    2.510220] rsa: 52 cb:c3
[    2.512860] rsa: 53 ca:c2
[    2.515489] rsa: 54 c9:0
[    2.518030] rsa: 55 c8:0
[    2.520570] rsa: 56 c7:c3
[    2.523204] rsa: 57 c6:c2
[    2.525833] rsa: 58 c5:0
[    2.528373] rsa: 59 c4:0
[    2.530913] rsa: 60 c3:c3
[    2.533550] rsa: 61 c2:c2
[    2.536179] rsa: 62 c1:0
[    2.538719] rsa: 63 c0:0
[    2.542117] remoteproc remoteproc0: pm51 is available
[    2.547978] msc313-miu 1f202000.miu: Memory type is DDR3, 8 banks and 10 columns, 16 bit bus
[    2.556492] msc313-miu 1f202000.miu: trcd: 13, trp: 13, tras: 32, trrd: 6, trtp: 7, trc: 45
[    2.566402] sar: int: 7
[    2.567214] usbcore: registered new interface driver snd-usb-audio
[    2.576149] NET: Registered protocol family 10
[    2.581623] Segment Routing with IPv6
[    2.585448] NET: Registered protocol family 17
[    2.590085] Registering SWP/SWPB emulation handler
[    2.595758] Loading compiled-in X.509 certificates
[    2.607340] ubi0: attaching mtd1
[    3.175556] ubi0: scanning is finished
[    3.190162] ubi0: attached mtd1 (name "ubi", size 125 MiB)
[    3.195788] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.202731] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.209555] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.216571] ubi0: good PEBs: 1002, bad PEBs: 0, corrupted PEBs: 0
[    3.222715] ubi0: user volume: 5, internal volumes: 1, max. volumes count: 128
[    3.229973] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 2043556017
[    3.239166] ubi0: available PEBs: 171, total reserved PEBs: 831, PEBs reserved for bad PEB handling: 20
[    3.248653] ubi0: background thread "ubi_bgt0d" started, PID 88
[    3.255170] block ubiblock0_4: created from ubi0:4(rootfs)
[    3.261153] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.270741] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.277336] clk: Not disabling unused clocks
[    3.281625] ALSA device list:
[    3.284618]   No soundcards found.
[    3.288234] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ [    3.301991] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    3.312718] devtmpfs: mounted
[    3.316580] Freeing unused kernel memory: 1024K
[    3.363204] Run /sbin/init as init process
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Saving random seed: SKIP (read-only file system detected)
Starting network: [    4.078758] Doing phy power up
[    4.281853] macb 1f2a2000.emac eth0: PHY [1f2a2000.emac-ffffffff:00] driver [msc313e phy] (irq=POLL)
[    4.291049] macb 1f2a2000.emac eth0: configuring for phy/mii link mode
udhcpc: started, v1.32.0
udhcpc: sending discover
[    6.392870] macb 1f2a2000.emac eth0: Link is Up - 100Mbps/Full - flow control tx
[    6.400449] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending select for 192.168.3.153
udhcpc: lease of 192.168.3.153 obtained, lease time 3600
deleting routers
adding dns 192.168.3.1
adding dns 192.168.3.2
OK
No persistent location to store SSH host keys. New keys will be
generated at each boot. Are you sure this is what you want to do?
Starting dropbear sshd: OK

Welcome to Buildroot
buildroot login: root
# [   33.752484] sd_vdd: disabling

This is the boot log from one of my SSD202D machines. You can see it boots with a very new u-boot and it can boot directly from a ubi partition on spi nand flash.
You can see ethernet is working, usb is working, i2c is working.. CPU freq also works and it seems possible to overclock to 1.8GHz.

We just need to get register descriptions for the audio and video hardware now to support all of the useful things in mainline linux without SigmaStars SDK.

#8 Re: SigmaStar/SSD201/SSD202/SSD212 » 有没有人用过SigmaStar SSD201这颗芯片,感觉挺不错的啊 » 2021-01-15 22:24:37

dgp

Sorry I don't know Chinese.

Basic SSD202 support will be in Linux 5.11:

https://github.com/torvalds/linux/blob/master/arch/arm/boot/dts/mstar-infinity2m-ssd202d-ssd201htv2.dts

USB, SD, SPI, I2C are already worked out. Display and audio are very difficult and we need some register descriptions...

U-boot is working too. There is some more work needed to make it boot from SPI NAND and to do the DDR setup on it's own so that the SigmaStar IPL binary is no longer needed.

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn