Skip to content

Instantly share code, notes, and snippets.

@kissste
Created January 10, 2022 04:00
Show Gist options
  • Save kissste/ace1f054531b273af86d152af08bf5dd to your computer and use it in GitHub Desktop.
Save kissste/ace1f054531b273af86d152af08bf5dd to your computer and use it in GitHub Desktop.
Sagemcom F@ast 5250 (Fast 5250) Boot
Firmware version: SG9F11000E (8a.37.5.2)
Serial port, 115200N8
Primary boot with ubi support
Version: 5.18.0.2-Bonding-256M (Oct 2 2014 - 09:50:40)
Copyright (C) 2011 - 2013 Sagemcom All rights reserved
gpio in: fe87fffd
board type: f5250bc (00010090)
board frequency: 000001f4
nand ctrl (b909804c) 04060506 19050505
ddr ctrl (b9100000) f624079e 22163424 c6001842 00000018 0000000d
ddr ctrl (b9108118) 01004342 00000301
Secondary boot
Version: 5.18.0 (Oct 2 2014 - 09:50:39)
Copyright (C) 2011 - 2013 Sagemcom All rights reserved
board type: 00010090
boot partition size: 08000000
executing raw u-boot
U-Boot 2010.09
Version: 5.18.0-small (Oct 02 2014 - 09:50:15)
Copyright (C) 2011 - 2013 Sagemcom All rights reserved
board type: 00010090
boot partition size: 08000000
CPU: IKANOS Fusiv 185 Family, Major Revision: 2
HOST MIPS Clock: 500 MHz
AP Clock: 500 MHz
DDR: 250 MHz
BME MIPS Clock: 400 MHz
AFE CLK MODE: Single Ended
DRAM: 256 MiB
NAND: 128 MiB
Creating 1 MTD partitions on "nand0":
0x0000000c0000-0x000008000000 : "mtd=2"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=2"
UBI: MTD device size: 127 MiB
UBI: number of good PEBs: 1018
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 256
UBI: number of internal volumes: 1
UBI: number of user volumes: 8
UBI: available PEBs: 373
UBI: total number of reserved PEBs: 645
UBI: number of PEBs reserved for bad PEB handling: 10
UBI: max/mean erase counter: 963/909
bootenv volume not found
using default environment
Found switch QCA8337rev11
Net: emac1
Hit any key to stop autoboot: 0
sb3: sb3_sagem_init()
sb3: action: 1007
sb3: sb3_wait_for_magic()
magic = D
sb3: action: 1002
sb3: sb3_boot( operational )
sb3: top available addr 0x8f930000, ram available = 0xf530000
sb3_load_ubivol: max_load_size=257097728
Volume operational found at volume id 4, used_bytes=20062208
read 20062208 bytes from volume 4 to 80400000(buf address)
UBI: fixable bit-flip detected at PEB 98:4096
UBI: schedule PEB 98 for scrubbing
sb3: image operational moved to 8e610000-8f932000
gsdf ident string OK
gsdf size OK
gsdf auth_hash OK
sb3: image operational has gsdf format
gsdf ident string OK
gsdf size OK
gsdf auth_hash OK
found a root CA certificate in section 0
found a secondary certificate in section 1
certificate chain OK
root certificate OK (sagemcom caCert)
signature OK
section list OK
gsdf head_hash OK
gsdf data_hash OK
sb3: image operational signature OK
sb3: No pre-boot commands
sb3: setting kernel args
bootm 8E62F000
## Booting kernel from Legacy Image at 8e62f000 ...
Image Name: scOS SG9F11000E (8a.37.5.2)
Created: 2018-12-20 7:41:58 UTC
Image Type: MIPS Linux Kernel Image (gzip compressed)
Data Size: 1638400 Bytes = 1.6 MiB
Load Address: 80010000
Entry Point: 800142f0
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Linux version 2.6.28.8 (g361098@compil-atr-2) (gcc version 4.2.4) #1 PREEMPT Thu Dec 20 08:41:43 CET 2018
argc 14 arg <NULL> env memsize=256
memsize board_memsize = 256
env memsize=256
initrd_start 80000000
env initrd_start=0xA0000000
initrd_size start 80000000 end 80000000
env initrd_size=0x0
flash_start 0
env flash_start=0x00000000
board_flash_size ffff062a
env flash_size=0xFFFF062A
env ethaddr=00:01:02:03:04:05
arg[1] root=mtd:rootfs
arg[2] init=/etc/preinit
arg[3] ro
arg[4] rootfstype=squashfs
arg[5] console=ttyS0,115200
arg[6] rootfs_offset=0x001b2000
arg[7] rootfs_size=0x01170000
arg[8] mtdparts=nand:128k(fboot),640k(reserved),-(partAll)
arg[9] ubi.mtd=ubi
arg[10] part_main=partAll
arg[11] part_boot=partAll
arg[12] image_ubivol=operational
arg[13] board_type=00010090
Fusiv MIPS Clock = 500000000 System Clock = 250000000
CPU revision is: 00019554 (MIPS 34Kc)
Determined physical RAM map:
memory: 0f800000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x0000f800
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x0000f800
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 62992
Kernel command line: root=mtd:rootfs init=/etc/preinit ro rootfstype=squashfs console=ttyS0,115200 rootfs_offset=0x001b2000 rootfs_size=0x01170000
UBI image volume: "operational"
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00008000
Readback ErrCtl register=00008000
Initializing IPC..
PID hash table entries: 1024 (order: 10, 4096 bytes)
console [ttyS0] enabled
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 247364k/253952k available (2618k kernel code, 6252k reserved, 615k data, 156k init, 0k highmem)
Calibrating delay loop... 332.59 BogoMIPS (lpj=1662976)
Mount-cache hash table entries: 512
net_namespace: 692 bytes
SgDbg -> Initialize ... <6>Ok
NET: Registered protocol family 16
PCIE Block Reset 1
PCIE Block Reset 2
Changing the MPLL Prescale Value for External Clock Mode
GPIO19/22 Peripheral Reset
Fusiv PCIe RC0 Starting ...
PCIe RC0 Link Up !!!!
registering PCI controller with io_map_base unset
Fusiv PCIe RC1 Starting ...
PCIe RC1 Link Up !!!!
registering PCI controller with io_map_base unset
pci 0001:01:00.0: PME# supported from D0 D1 D3hot
pci 0001:01:00.0: PME# disabled
Bluetooth: Core ver 2.13
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
NET: Registered protocol family 8
NET: Registered protocol family 20
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 3.4 (2008/08/26) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
Registering unionfs 2.5.2 (for 2.6.28.10)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.10)
msgmni has been set to 483
alg: No test for stdrng (krng)
io scheduler noop registered (default)
Serial: 8250/16550 driver2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0xb9010000 (irq = 28) is a 16450
serial8250: ttyS1 at MMIO 0xb9018000 (irq = 29) is a 16450
brd: module loaded
PPP generic driver version 2.4.2
NET: Registered protocol family 24
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
VX185 On-Chip NAND FLash Controller Driver, Version 1.2 (c) 2010 Ikanos, Inc.
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 2 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x00000000-0x000c0000 : "ipl"
0x000c0000-0x08000000 : "ubi"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
Add UBI volume partitions: name=secondaryboot
Add UBI volume partitions: name=uboot
Add UBI volume partitions: name=permanent_param
Add UBI volume partitions: name=rescue
Add UBI volume partitions: name=operational
reating 3 MTD partitions on "operational":
0x00000000-0x0001f000 : "firm_header"
0x0001f000-0x001d1000 : "kernel"
0x001b2000-0x01322000 : "rootfs"
Add UBI volume partitions: name=caldata
Add UBI volume partitions: name=filesystem1
Add UBI volume partitions: name=gui
Creating 2 MTD partitions on "gui":
0x00000000-0x0001f000 : "gui_header"
mtd: partition "gui_header" is out of reach -- disabled
0x00000000-0x00000000 : "guifs"
mtd: partition "guifs" is out of reach -- disabled
UBI: attached mtd1 to ubi0
UBI: MTD device name: "ubi"
UBI: MTD device size: 127 MiB
UBI: number of good PEBs: 1018
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 256
UBI: number of internal volumes: 1
UBI: number of user volumes: 8
UBI: available PEBs: 373
UBI: total number of reserved PEBs: 645
UBI: number of PEBs reserved for bad PEB handling: 10
UBI: max/mean erase counter: 963/909
UBI: background thread "ubi_bgt0d" started, PID 180
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI BCSP protocol initialized
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
Bridge firewalling registered
Ebtables v2.0 registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 156k freed
Warning: unable to open an initial console.
- preinit -
- regular preinit -
- init -
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 6, name "filesystem1"
UBIFS: file system size: 6983680 bytes (6820 KiB, 6 MiB, 55 LEBs)
UBIFS: journal size: 1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format: 4 (latest is 4)
UBIFS: default compressor: LZO
UBIFS: reserved for root: 345139 bytes (337 KiB)
unionfs: new lower inode mtime (bindex=1, name=tmp)
[HAL-BSP]: kSysButtonManaged[39]: WARNING -> Button name >= Max(10)
[HAL-BSP]: kSysButtonManaged[39]: WARNING -> Button name >= Max(10)
Cal location [0]: 00000000
+HWT
Target:8c86b000 HTC Service:0x0001, ULpipe:0 DLpipe:1 id:0 Ready
-HWT
Target:8c86b000 HTC Service:0x0300, ULpipe:4 DLpipe:5 id:1 Ready
HTC Service:0x0300 ep:1 TX flow control disabled
Target:8c86b000 HTC Service:0x0100, ULpipe:3 DLpipe:2 id:2 Ready
HTC Service:0x0100 ep:2 TX flow control disabled
nf_conntrack_rtsp v0.7 loading
Dec 31 19:00:24 crond[712]: crond: crond (busybox 1.17.3) started, log level 5
Dec 31 19:00:26 crond[792]: crond: crond (busybox 1.17.3) started, log level 5
gXdslMode:2
CPE start address is af800000
Intializing BME 0
Intializing BME 1
ipos system initialized
BME 1 is coming up
b1p0 iposBmeStartBlk cmdtag 0 status: IN PROGRESS
cpe>
Transfer to SDRAM Successful
BmeHw: Downloading BME 1 software at af800000
Enabled clocks for BME and related modules
BmeHw: Bme 1 software code downloaded successfully
Programmed BME window registers sucessfully
BME out of reset
b1p0 iposBmeStartBlk cmdtag 0 status: COMPLETE
cpe>
alm freq 20
status freq 30
b1p0 iposPeriodicReportEnable cmdtag 99 status: IN PROGRESS
cpe>
alm freq 20
status freq 30
/etc/config/dslSavedConfig.conf file exists
Restoring last configuration
Please execute 'vdsl' in 3 seconds to enter into Supervisor mode
2
VAP device WLAN_PRIV0 created osifp: (8b20ab80) os_if: (8b8bc000)
1
0
b1p0 iposPeriodicReportEnable cmdtag 99 status: IN PROGRESS
cpe>
b1p0 iposPeriodicReportEnable cmdtag 99 status: COMPLETE
cpe>
b1p0 iposPeriodicReportEnable cmdtag 99 status: COMPLETE
cpe>
Changing port profile #2 BAND_PLAN=0x2 PTM MODE=0x0
OamoptionMask 33
optionMask 8
b1p0 iposBmeProvision cmdtag 0 status: IN PROGRESS
cpe>
b1p0 iposBmeProvision cmdtag 0 status: COMPLETE
cpe>
b1p1 iposPmConfig cmdtag 0 status: IN PROGRESS
cpe>
b1p2 iposPmConfig cmdtag 0 status: IN PROGRESS
cpe>
b1p1 iposPmConfig cmdtag 0 status: COMPLETE
cpe>
b1p2 iposPmConfig cmdtag 0 status: COMPLETE
cpe>
b1p1 iposPortProvision cmdtag 0 status: IN PROGRESS
cpe>
b1p1 iposPortProvision cmdtag 0 status: COMPLETE
cpe>
b1p2 iposPortProvision cmdtag 0 status: IN PROGRESS
cpe>
b1p2 iposPortProvision cmdtag 0 status: COMPLETE
cpe> Dec 31 19:01:13 upnpd[1416]: Initializing UPnP SDK IPv4...
Dec 31 19:01:14 upnpd[1416]: UPnP SDK Successfully Initialized.
Dec 31 19:01:14 upnpd[1416]: Setting the Web Server Root Directory to /etc/linuxigd
Dec 31 19:01:14 upnpd[1416]: Succesfully set the Web Server Root Directory.
Dec 31 19:01:14 upnpd[1416]: IPv4 Registering the root device IGDv2 with descDocUrl http://192.168.2.1:49153/51443057/gatedesc0b.xml and lowerDescDg
Dec 31 19:01:14 upnpd[1416]: Send initial sspd:byebye messages
Dec 31 19:01:14 upnpd[1416]: IPv4 Registering the root device IGDv2 again with descDocUrl http://192.168.2.1:49153/51443057/gatedesc0b.xml
Dec 31 19:01:14 upnpd[1416]: IGD root device successfully registered.
Dec 31 19:01:14 upnpd[1416]: UDN's: uuid:75802409-bccb-40e7-8e6c-fa095ecce13e
uuid:75802409-bccb-40e7-8e6c-fa095ecce13f
Dec 31 19:01:14 upnpd[1416]: WANConnectionUDN's: uuid:75802409-bccb-40e7-8e6c-fa095ecce140
Dec 31 19:01:14 upnpd[1416]: Failure obtaining ip address of interface ppp0
Dec 31 19:01:14 upnpd[1416]: Failure obtaining ip address of interface ppp0
Dec 31 19:01:14 upnpd[1416]: DHCPServerConfigurable set to false, dnsmasq not found at: /etc/init.d/dnsmasq.
Dec 31 19:01:14 upnpd[1416]: IPv4 Advertisements Sent. Advertisement sending interval set to 1800 seconds. Listening for requests ...
Dec 31 19:01:14 upnpd[1416]: Advertisements Sent. Advertisement sending interval set to 1800 seconds. Listening for requests ...
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe> Dec 31 19:02:14 upnpd[1542]: Failure obtaining ip address of interface ppp0
Dec 31 19:02:14 upnpd[1542]: Failure obtaining ip address of interface ppp0
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
b1p1 bondingRegReset cmdtag 0 status: COMPLETE
cpe>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment