Skip to content

Commit 868142a

Browse files
Merge pull request #458 from Phaeilo/add-fs-com-onu1710-1g
Fix collapsible listings for ONU1710-1G
2 parents d7eef60 + ad7dbd1 commit 868142a

3 files changed

Lines changed: 324 additions & 335 deletions

File tree

_ont/ont-fs-com-onu1710-1g.md

Lines changed: 5 additions & 335 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ parent: FS.com
1717
| CPU | MIPS-I 32-bit (big-endian) |
1818
| CPU Clock | 300 MHz |
1919
| RAM | 32 MB (DDR2, 325 MHz) |
20-
| Flash | 4 MB (SPI NOR, ZBIT JEDEC 5E4016) |
20+
| Flash | 4 MB (SPI NOR, ZBIT JEDEC 5E4016) |
2121
| Bootloader | U-Boot 2011.12.NA (Realtek-modified) |
2222
| System | Linux 2.6.30.9 (Luna SDK / RSDK-1.5.6p2) |
2323
| XPON Mode | GPON + EPON dual-mode adaptive |
2424
| Optics | 1x PON (SC/UPC) |
25-
| Power | 12V DC, barrel jack (center positive) |
25+
| Power | 12V DC, 5.5mm barrel jack (center positive) |
2626
| Ethernet | 1x GE (1000BASE-T, RJ45) |
2727
| IP address | 192.168.123.1 |
2828
| Web Gui | port 80, user `admin`, password `super&123` |
2929
| SSH | no |
3030
| Telnet | port 23, user `admin`, password `super&123` |
31-
| Serial | 115200 8-N-1 |
31+
| Serial | 115200 8-N-1 3.3V |
3232
| Form Factor | Desktop ONT |
3333

3434

@@ -63,74 +63,7 @@ Key components:
6363

6464
## U-Boot environment
6565

66-
<details>
67-
<summary>Full <code>printenv</code> output</summary>
68-
69-
```
70-
b0=setenv bootargs ${bootargs_base} ${mtdparts0} ${rst2dfl_flg}; bootm ${img0_kernel}
71-
b1=setenv bootargs ${bootargs_base} ${mtdparts1} ${rst2dfl_flg}; bootm ${img1_kernel}
72-
baudrate=115200
73-
boot_by_commit=if itest.s ${sw_commit} == 0;then run set_act0;run b0;else run set_act1;run b1;fi
74-
boot_by_tryactive=if itest.s ${sw_tryactive} == 0;then setenv sw_tryactive 2;setenv sw_active 0;saveenv;run en_wdt;run b0;else setenv sw_tryactive 2;setenv sw_active 1;saveenv;run en_wdt;run b1;fi
75-
bootargs_base=console=ttyS0,115200
76-
bootcmd=if itest.s ${sw_tryactive} == 2; then run boot_by_commit;else run boot_by_tryactive;fi
77-
bootdelay=2
78-
en_wdt=mw b8003268 e7c00000
79-
erase_cfgfs=sf erase ${fl_cfgfs} +${fl_cfgfs_sz}
80-
erase_env=sf erase ${fl_env} +${fl_env_sz};sf erase ${fl_env2} +${fl_env_sz}
81-
ethact=LUNA GMAC
82-
ethaddr=00:E0:4C:86:70:01
83-
fl_boot_sz=2a000
84-
fl_cfgfs=2e000
85-
fl_cfgfs_sz=12000
86-
fl_env=2a000
87-
fl_env2=2c000
88-
fl_env_sz=2000
89-
fl_kernel1=40000
90-
fl_kernel1_sz=139000
91-
fl_kernel2=40000
92-
fl_kernel2_sz=139000
93-
fl_rootfs1=179000
94-
fl_rootfs1_sz=287000
95-
fl_rootfs2=179000
96-
fl_rootfs2_sz=287000
97-
img0_kernel=94040000
98-
img1_kernel=94040000
99-
ipaddr=192.168.123.1
100-
mtdparts0=mtdparts=rtk_spi_nor_mtd:168K(boot),8K(env),8K(env2),72K(config),1252K@256K(k0),1252K@256K(k1),2588K@1508K(r0),2588K@1508K(r1),4K@0ro,4K@0ro,4K@0ro,4K@0ro,1252K@256K(linux),2588K@1508K(rootfs) root=31:6
101-
mtdparts1=mtdparts=rtk_spi_nor_mtd:168K(boot),8K(env),8K(env2),72K(config),1252K@256K(k0),1252K@256K(k1),2588K@1508K(r0),2588K@1508K(r1),4K@0ro,4K@0ro,4K@0ro,4K@0ro,1252K@256K(linux),2588K@1508K(rootfs) root=31:7
102-
mupgrade_en=1
103-
netmask=255.255.255.0
104-
serverip=192.168.123.100
105-
set_act0=if itest.s ${sw_active} != 0;then setenv sw_active 0;saveenv;fi
106-
set_act1=if itest.s ${sw_active} != 1;then setenv sw_active 1;saveenv;fi
107-
stderr=serial
108-
stdin=serial
109-
stdout=serial
110-
sw_active=1
111-
sw_commit=1
112-
sw_tryactive=2
113-
sw_valid0=1
114-
sw_valid1=1
115-
sw_version0=10.0.52B.2095
116-
sw_version1=10.0.52B.2095
117-
tftp_base=80000000
118-
upb=tftp ${tftp_base} plr.img && crc32 ${fileaddr} ${filesize} && sf erase 0 +${fl_boot_sz} && sf write ${fileaddr} 0 ${filesize}
119-
upe=tftp ${tftp_base} uboot-env-98d-eng.bin && sf erase ${fl_env} +${fl_env_sz} && sf write ${fileaddr} ${fl_env} ${fl_env_sz} && sf erase ${fl_env2} +${fl_env_sz} && sf write ${fileaddr} ${fl_env2} ${fl_env_sz}
120-
upk=tftp ${tftp_base} uImage && crc32 ${fileaddr} ${filesize} && sf erase ${fl_kernel1} +${fl_kernel1_sz} && sf write ${fileaddr} ${fl_kernel1} ${filesize}
121-
upk1=tftp ${tftp_base} uImage && crc32 ${fileaddr} ${filesize} && sf erase ${fl_kernel2} +${fl_kernel2_sz} && sf write ${fileaddr} ${fl_kernel2} ${filesize}
122-
upr=tftp ${tftp_base} rootfs && crc32 ${fileaddr} ${filesize} && sf erase ${fl_rootfs1} +${fl_rootfs1_sz} && sf write ${fileaddr} ${fl_rootfs1} ${filesize}
123-
upr1=tftp ${tftp_base} rootfs && crc32 ${fileaddr} ${filesize} && sf erase ${fl_rootfs2} +${fl_rootfs2_sz} && sf write ${fileaddr} ${fl_rootfs2} ${filesize}
124-
upt=tftp 80000000 img.tar && upimgtar ${fileaddr} ${filesize}
125-
upv=tftp 80000000 vm.img;upvmimg ${fileaddr}
126-
yk=loady 80000000 && cp.b 80000000 81000000 ${filesize} && cmp.b 80000000 81000000 ${filesize} && sf erase ${fl_kernel1} +${fl_kernel1_sz} && sf write 80000000 ${fl_kernel1} ${filesize}
127-
yr=loady 80000000 && cp.b 80000000 81000000 ${filesize} && cmp.b 80000000 81000000 ${filesize} && sf erase ${fl_rootfs1} +${fl_rootfs1_sz} && sf write 80000000 ${fl_rootfs1} ${filesize}
128-
yu=loady 80000000 && cp.b 80000000 81000000 ${filesize} && cmp.b 80000000 81000000 ${filesize} && sf erase 0 +${fl_boot_sz} && sf write 80000000 0 ${filesize}
129-
130-
Environment size: 3733/8187 bytes
131-
```
132-
133-
</details>
66+
{% include serial_dump.html title="Full <code>printenv</code> output" file="fs-com-onu1710-1g/uboot-env.txt" %}
13467

13568
Key variables:
13669

@@ -180,271 +113,8 @@ Capture the serial output with a terminal emulator, then convert the hex dump to
180113

181114
## Bootup
182115

183-
<details>
184-
<summary>Full boot log captured on serial port</summary>
185-
186-
```
187-
9601D
188-
PRELOADER Bismarck 3.5
189-
II: PLR:c988baff, Build_date:24082711, Toolkit:rsdk-1.5.6-5281-EB-2.6.30-0.9.30.3-131105
190-
II: Disable OCP Timeout Monitor
191-
II: Disable LX Timeout Monitor
192-
II: Enable Triple Synchronizer
193-
II:cg_cpu_clk_init doneII:cg_spif_clk_init doneII: CPU 300MHz (600/2/0), MEM 325MHz, LX 200MHz, SPIF 25MHz
194-
II: NOR SPI-F... 5E4016/MMIO16-1/ModeC done
195-
AK: DRAM AUTO CALIBRATION(20210202)
196-
AK: ZQ Calibration PassedAK: ZQ Calibration PassedAK: ZQ Calibration PassedAK: ZQ Calibration PassedAK: MR0: 0x00100952
197-
AK: MR1: 0x00110040
198-
AK: MR2: 0x00120000
199-
AK: MR3: 0x00130000
200-
AK: clear dwdqor
201-
AK: Bit/max_r_s/max_r_l/max_w_s/max_w_l Bit/max_r_s/max_r_l/max_w_s/max_w_l(Hex)
202-
[ 0] 0 1f 0 17 [16] 0 1f 0 17
203-
[ 1] 0 1f 0 19 [17] 0 1f 0 17
204-
[ 2] 0 1f 0 17 [18] 0 1f 0 17
205-
[ 3] 0 1f 0 17 [19] 0 1f 0 15
206-
[ 4] 0 1f 0 19 [20] 0 1f 0 17
207-
[ 5] 0 1f 0 17 [21] 0 1f 0 17
208-
[ 6] 0 1f 0 19 [22] 0 1f 0 17
209-
[ 7] 0 1f 0 17 [23] 0 1f 0 17
210-
[ 8] 0 1f 0 19 [24] 0 1f 0 19
211-
[ 9] 0 1f 0 19 [25] 0 1f 0 19
212-
[10] 0 1f 0 17 [26] 0 1f 0 17
213-
[11] 0 1f 0 19 [27] 0 1f 0 19
214-
[12] 0 1f 0 19 [28] 0 1f 0 19
215-
[13] 0 1f 0 17 [29] 0 1f 0 17
216-
[14] 0 1f 0 19 [30] 0 1f 0 19
217-
[15] 0 1f 0 17 [31] 0 1f 0 17
218-
AK: DQ enable delay sync with DQ delay tap.
219-
0xb80015D0=0x07070807, 0xb80015D4=0x07080708, 0xb80015D8=0x08070808, 0xb80015DC=0x07080708
220-
AK: DRAM size = 0x2000000
221-
AK: Disable read after write function
222-
AK: Support tREFI divided by 4
223-
AK: dram auto calibrtaion is done
224-
II: MEM_PROBE_OK
225-
II: MEM_XLAT_OK
226-
II: MEM_TO_REG_OK
227-
II: MEM_CAL_OK
228-
II: Change Stack from 0x9f007ff8 to 0x80efffe0
229-
II: Decompressing U-Boot (0x81c00000 <- 0x9fc179c0)... (187 KB <- 71 KB) OK
230-
II: Starting U-boot...
231-
232-
233-
U-Boot 2011.12.NA (Aug 27 2024 - 11:38:05)
234-
235-
Board: RTL9601D, CPU:300MHz, LX:200MHx, MEM:325MHz, Type:DDR2
236-
DRAM: 32 MB
237-
SPI-F: ZBIT/5E4016/MMIO16-1/ModeC 1x4 MB (plr_flash_info @ 81c2d30c)
238-
Loading 8192B env. variables from offset 0x2a000
239-
Loading 8192B env. variables from offset 0x2c000
240-
Loaded 8192B env. variables from offset 0x2c000
241-
Net: LUNA GMAC
242-
Warning: eth device name has a space!
243-
244-
Hit any key to stop autoboot: 2  1  0
245-
swcore_init
246-
multicast_start Using LUNA GMAC device
247-
mcast upgrade timeout.
248-
## Booting kernel from Legacy Image at 94040000 ...
249-
Image Name: Linux Kernel Image
250-
Created: 2025-03-20 9:02:52 UTC
251-
Image Type: MIPS Linux Kernel Image (lzma compressed)
252-
Data Size: 932625 Bytes = 910.8 KB
253-
Load Address: 80000000
254-
Entry Point: 80000000
255-
Verifying Checksum ... OK
256-
Uncompressing Kernel Image ... OK
257-
258-
Starting kernel ...
259-
260-
=================================
261-
rtk_ldo_init
262-
=================================
263-
0xbb000044=0x00000002
264-
0xbb000130=0x00ec0005
265-
=================================
266-
rtk_ims_init
267-
=================================
268-
init started: BusyBox v1.12.4 (2025-03-20 16:59:46 CST)
269-
starting pid 149, tty '': '/etc/init.d/rcS'
270-
=== Start to run rc0 / rc63 ===
271-
----- do_rc [/etc/init.d/rc2] -----
272-
Mounting /dev/mtdblock3 onto /var/config as the configuration data storage
273-
----- do_rc [/etc/init.d/rc3] -----
274-
no need to do reset to default
275-
------ [-b]Bootup_config ------
276-
Wait for configd initialize 'MsgQ' and 'Shm'...
277-
set_msgqueue_max_size:180> set msgqidds.msg_qbytes=20600 OK
278-
set_msgqueue_max_size:180> set msgqidds.msg_qbytes=20600 OK
279-
Fetch mib data (type 8) from program code.
280-
Fetch mib data (type 2) from program code.
281-
Pre-fetch mib data from program default done.
282-
Checking input file [/var/config/lastgood_hs.xml].
283-
[OK] Valid config file!
284-
285-
***** config_parser(): dfname=[/etc/config_default_hs.xml](0) loaded *****
286-
287-
***** config_parser(): fname=[/var/config/lastgood_hs.xml](0) loaded *****
288-
289-
[xml_INFO]: Load HS configuration success.
290-
Checking input file [/var/config/lastgood.xml].
291-
[OK] Valid config file!
292-
293-
***** config_parser(): dfname=[/etc/config_default.xml](0) loaded *****
294-
295-
***** config_parser(): fname=[/var/config/lastgood.xml](0) loaded *****
296-
297-
[xml_INFO]: Load CS configuration success.
298-
running GPON mode ...
299-
==== check omci mib
300-
----- do_rc [/etc/init.d/rc10] -----
301-
----- do_rc [/etc/init.d/rc14] -----
302-
/etc/init.d/rc14: line 8: can't create /proc/sys/net/ipv6/conf/all/mc_forwarding: nonexistent directory
303-
----- do_rc [/etc/init.d/rc32] -----
304-
MIB chain descriptors checking (total 10) ok !
305-
rtkbosa: Don’t care pon mode, use general file
306-
md5sum: can't open '/var/config/rtkbosa_k.bin': No such file or directory
307-
igmpd is running: sys_max_port_num =4 .....
308-
cat: can't open '/var/config/rtkbosa_k_checksum': No such file or directory
309-
rtkbosa: checksumold =
310-
rtkbosa: Use general file [/var/config/rtkbosa_k.bin]
311-
rtkbosa: Version 2.9 (Mar 20 2025 - 17:02:01)
312-
rtkbosa: Detecting RTL8290B ...
313-
rtkbosa: Error (0x10): The chip is not found
314-
rtkbosa: Detecting UX3360 ...
315-
rtkbosa: Read 0x51.0x80(0x55): 0xFF
316-
rtkbosa: Read 0x51.0x81(0x58): 0xFF
317-
rtkbosa: Read 0x51.0x82(0x33): 0xFF
318-
rtkbosa: Read 0x51.0x83(0x33): 0xFF
319-
rtkbosa: Read 0x51.0x84(0x36): 0xFF
320-
rtkbosa: Read 0x51.0x85(0x30): 0xFF
321-
rtkbosa: Detecting Semtech Series (GN2xL9x) ...
322-
rtkbosa: Read 0x51.0x7B(0x00): 0x00
323-
rtkbosa: Read 0x51.0x7C(0x00): 0x00
324-
rtkbosa: Read 0x51.0x7D(0x00): 0x00
325-
rtkbosa: Read 0x51.0x7E(0x00): 0x00
326-
rtkbosa: Detecting Semtech Bosa ID ...
327-
rtkbosa: A2 Table ff: 0x80 = 0xff ; 0x85 = 0xff ; 0x86 = 0xff
328-
rtkbosa: A2 Table 2: 0xD1 = 0xa3
329-
rtkbosa: SEMTECH GN25L95 is Found
330-
rtkbosa: A2 Table 0x02.0xc0 = 0x1f
331-
rtkbosa: EEPROM exists, bosa should be working.
332-
----- do_rc [/etc/init.d/rc34] -----
333-
----- do_rc [/etc/init.d/rc35] -----
334-
Turn on phy power...
335-
not support poe
336-
<fMgmtInit:601>the . is not a regular file.
337-
<fMgmtInit:601>the .. is not a regular file.
338-
<fMgmtInit:601>the internal is not a regular file.
339-
Module libigmpipc.so is loaded and inited
340-
stat failed: /lib/features/internal/bdp_00000002.so
341-
no hook voice service
342-
omci_wrapper_msgHandler: devMode 0,receiveState 1,usrLogLvl 1, drvLogLvl 1,sn FSCM™¦¼ì
343-
MIB_Table_Init Init mib table:mib_Me242.so fail, error code is:1...
344-
MIB_Table_Init Init mib table:mib_Me243.so fail, error code is:1...
345-
MIB_Table_Init Init mib table:mib_Me350.so fail, error code is:1...
346-
MIB_Table_Init Init mib table:mib_Me370.so fail, error code is:1...
347-
MIB_Table_Init Init mib table:mib_Me373.so fail, error code is:1...
348-
omci_wrapper_activateGpon ioctl failed
349-
GPON SN is FSCM99a6bcec
350-
listening
351-
system(): /bin/echo 1 eth0.2 > /proc/rtl8686gmac/dev_port_mapping
352-
port set phy-force-power-down port all state disable
353-
RTK.0> command:
354-
Please press Enter to activate this console. starting pid 547, tty '': '/bin/inetd'
355-
rtk_pon_led_SpecType_set 0
356-
ip6tables v1.2.7a: can't initialize ip6tables table `filter': iptables who? (do you need to insmod?)
357-
Perhaps iptables or your kernel needs to be upgraded.
358-
ip6tables v1.2.7a: can't initialize ip6tables table `filter': iptables who? (do you need to insmod?)
359-
Perhaps iptables or your kernel needs to be upgraded.
360-
ip6tables v1.2.7a: can't initialize ip6tables table `filter': iptables who? (do you need to insmod?)
361-
Perhaps iptables or your kernel needs to be upgraded.
362-
ip6tables v1.2.7a: can't initialize ip6tables table `filter': iptables who? (do you need to insmod?)
363-
Perhaps iptables or your kernel needs to be upgraded.
364-
ip6tables v1.2.7a: can't initialize ip6tables table `filter': iptables who? (do you need to insmod?)
365-
Perhaps iptables or your kernel needs to be upgraded.
366-
ip6tables v1.2.7a: can't initialize ip6tables table `filter': iptables who? (do you need to insmod?)
367-
Perhaps iptables or your kernel needs to be upgraded.
368-
ip6tables v1.2.7a: can't initialize ip6tables table `filter': iptables who? (do you need to insmod?)
369-
Perhaps iptables or your kernel needs to be upgraded.
370-
ip6tables v1.2.7a: can't initialize ip6tables table `filter': iptables who? (do you need to insmod?)
371-
Perhaps iptables or your kernel needs to be upgraded.
372-
ip6tables v1.2.7a: can't initialize ip6tables table `filter': iptables who? (do you need to insmod?)
373-
Perhaps iptables or your kernel needs to be upgraded.
374-
ip6tables v1.2.7a: can't initialize ip6tables table `filter': iptables who? (do you need to insmod?)
375-
Perhaps iptables or your kernel needs to be upgraded.
376-
ip6tables v1.2.7a: can't initialize ip6tables table `filter': iptables who? (do you need to insmod?)
377-
Perhaps iptables or your kernel needs to be upgraded.
378-
Restart IPv6 Filter!
379-
ip6tables v1.2.7a: can't initialize ip6tables table `filter': iptables who? (do you need to insmod?)
380-
Perhaps iptables or your kernel needs to be upgraded.
381-
ip6tables v1.2.7a: can't initialize ip6tables table `filter': iptables who? (do you need to insmod?)
382-
Perhaps iptables or your kernel needs to be upgraded.
383-
Update Firewall rule set by user.
384-
Open file /var/prefix_info fail !
385-
Error! Note Got prefix yet!
386-
ip6tables v1.2.7a: can't initialize ip6tables table `filter': iptables who? (do you need to insmod?)
387-
Perhaps iptables or your kernel needs to be upgraded.
388-
port set phy-force-power-down port all state enable
389-
RTK.0> command:port set phy-force-power-down port all state disable
390-
RTK.0> command:iptables v1.2.7a: Couldn't find target `lan_mark'
391-
392-
Try `iptables -h' or 'iptables --help' for more information.
393-
Illegal target name 'portmapping'.
394-
RTNETLINK answers: No such file or directory
395-
RTNETLINK answers: No such file or directory
396-
RTNETLINK answers: No such file or directory
397-
RTNETLINK answers: No such file or directory
398-
RTNETLINK answers: No such file or directory
399-
RTNETLINK answers: No such file or directory
400-
RTNETLINK answers: No such file or directory
401-
RTNETLINK answers: No such file or directory
402-
RTNETLINK answers: No such file or directory
403-
RTNETLINK answers: No such file or directory
404-
RTNETLINK answers: No such file or directory
405-
RTNETLINK answers: No such file or directory
406-
RTNETLINK answers: No such file or directory
407-
RTNETLINK answers: No such file or directory
408-
RTNETLINK answers: No such file or directory
409-
RTNETLINK answers: No such file or directory
410-
RTNETLINK answers: No such file or directory
411-
RTNETLINK answers: No such file or directory
412-
RTNETLINK answers: No such file or directory
413-
RTNETLINK answers: No such file or directory
414-
RTNETLINK answers: No such file or directory
415-
size of linux : 1282048
416-
size of linux : 3932160
417-
init_global_parm846::size of g_max_upload_size : 3932160
418-
RTNETLINK answers: No such file or directory
419-
RTNETLINK answers: No such file or directory
420-
RTNETLINK answers: No such file or directory
421-
RTNETLINK answers: No such file or directory
422-
RTNETLINK answers: No such file or directory
423-
RTNETLINK answers: No such file or directory
424-
RTNETLINK answers: No such file or directory
425-
Init System OK for IPV6
426-
427-
starting pid 546, tty '/dev/ttyS0': '-/bin/sh'
428-
429-
430-
BusyBox v1.12.4 (2025-03-20 16:59:46 CST) built-in shell (ash)
431-
Enter 'help' for a list of built-in commands.
432-
433-
434-
Please enter the username and password.
435-
436-
437-
Username:admin
438-
439-
Password:********* (super&123)
440-
# cat /proc/version
441-
Linux version 2.6.30.9 (root@svn-onu) (gcc version 4.4.6 (Realtek RSDK-1.5.6p2) ) #1 Thu Mar 20 17:00:24 CST 2025 10.0.52B.2095_FS
442-
# cat /proc/self/status | grep ^Uid
443-
Uid: 0 0 0 0
444-
#
445-
```
116+
{% include serial_dump.html title="Full boot log captured on serial port" file="fs-com-onu1710-1g/bootlog.txt" %}
446117

447-
</details>
448118

449119
1. **Preloader** (Bismarck 3.5) initializes DDR2 DRAM, decompresses and launches U-Boot
450120
2. **U-Boot** (2s delay, 115200 baud) checks `sw_tryactive`: if it equals `2`, boots by `sw_commit`; otherwise it is a first-boot attempt that sets `sw_tryactive=2`, saves env, and boots the selected image

0 commit comments

Comments
 (0)