Trying to get Firmware loaded on to Whitebox S4810-ON

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

RedWalker

New Member
Dec 10, 2023
5
1
1
Hi.

I picked up 2 of these switches that look like some kind of generic version of the Dell S4810-ON. They look like they have ONIE running and come up with u-Boot, but

I've had little luck getting the firmware from OS9 to boot. I didn't see much on forums about this particular model (family) It's a powerPC, not ARM/X86

U-Boot 2012.04-00003-g9472747 (Nov 10 2014 - 06:03:26)

CPU0: P2020E, Version: 2.1, (0x80ea0021)
Core: E500, Version: 5.1, (0x80211051)
Clock Configuration:
CPU0:1200 MHz, CPU1:1200 MHz,
CCB:600 MHz,


--
=> tftp 0x64000000 ONIE-FTOS-SK-9.10.0.1.bin
Speed: 1000, full duplex
Using eTSEC3 device
TFTP from server 192.168.1.210; our IP address is 192.168.1.80
Filename 'ONIE-FTOS-SK-9.10.0.1.bin'.
Load address: 0x64000000
Loading: #################################################################
#################

---

=> md 0x64000000
64000000: 23212f62 696e2f73 680a0a23 230a2323 #!/bin/sh..##.##
64000010: 20546869 73206973 20746865 2044656c This is the Del
64000020: 6c2d4654 4f532069 6e737461 6c6c6572 l-FTOS installer
64000030: 2066696c 6520666f 72204f4e 49452070 file for ONIE p
64000040: 6c617466 6f726d2e 0a23230a 23232053 latform..##.## S
64000050: 68656c6c 20617263 68697665 2074656d hell archive tem
64000060: 706c6174 650a2323 0a232320 53747269 plate.##.## Stri
64000070: 6e677320 6f662074 68652066 6f726d20 ngs of the form
64000080: 25255641 52252520 61726520 7265706c %%VAR%% are repl

I don't know if this is something that people do here.


If this is is a bad topic, message me privately. I don't want to get anyone in trouble.

---

I think it just hangs here.

=> go 0x64000000
## Starting application at 0x64000000 ...

Edit: New info.

=> source 0x640000000
## Executing script at 40000000
Wrong image format for "source" command
 
Last edited:

RedWalker

New Member
Dec 10, 2023
5
1
1
Would anyone have the output of a printenv on a S4810-ON or S4810-P?

I think I am missing something in mine.

Thank you.
 
  • Like
Reactions: fohdeesha

is39

Member
Oct 5, 2022
36
21
8
SF Bay Area
I'm eager to try this.
Seems no good third-party options for S4810-ON, it's too old, so only compromises; OS9 is also old, but it just works.
It has always puzzled me why Dell/Force10 never released OS9 for S4810-ON, while they did for newer -ON models.
 

fohdeesha

Kaini Industries
Nov 20, 2016
2,741
3,109
113
33
fohdeesha.com
Finally got this finished:

Code:
Dell#show version
Dell Real Time Operating System Software
Dell Operating System Version:  2.0
Dell Application Software Version:  9.14(1.14)
Copyright (c) 1999-2018 by Dell Inc. All Rights Reserved.
Build Time: Tue Oct 25 11:14:28 2022
Build Path: /neteng/build/clones/coveritybuild-eqx-05/build/build02/SW/SRC
Dell Networking OS uptime is 3 minute(s)

System image file is "system://A"

System Type: S4810
Control Processor: Freescale QorIQ P2020 with 2 Gbytes (2147483648 bytes) of memory, core(s) 1.

128M bytes of boot flash memory.
A couple strange things required that I did not expect, plus dealing with a big move to a new home, so it's been a slow project. I just need to write it up in a relatively robust guide so ya'll don't brick your switches. Can one of you with an S4810-ON willing to connect serial and ethernet to it and teamviewer with me so I can run through the process DM me?
 

darth_network

New Member
Apr 8, 2024
3
0
1
hello.

I picked up a used S4810-ON model last Friday and had a fun time with the serial cable at first.

I plugged it into the network and it configured an IP address and I was able to reach the ONIE prompt.

So I messed around with that for a bit and used some of the binary commands onie-* to check stuff out.

This model needs a third party NOS so I went on the hunt for it.....

FTOS OS9 will not install, I have tried all of the flavors that the support site has to offer. Now WHY it says it will install is beyond me.

1. ONL OpenNetworkLinux is the other readily available OS flr these and I have been trying to compile and build the ONLv2 branch for the past two days. The "latest" builds and branch on github are not supposed to work and I HAVE tried all of the latest builds down to 2019. I set up an old latop as a build machine with deb 9 installed. Now this is supposed to use a docker container to make a build environment and I can execute these steps no problem. The deb 7 and 8 builds have powerpc support, so these should be "native" builds. Now I have done a bit of hacking and edited some of the make files to make it a bit more understandable. All of the dependencies are installed and it will start to build fine, but the errors I hae been unable to rectify are:

INFO:eek:nlpm:adding package '/home/mharbuck/git/OpenNetworkLinux/packages/base/all/onl-mibs/onl-mibs_1.0.0_all.deb'...
INFO:eek:nlpm:dstdir=/home/mharbuck/git/OpenNetworkLinux/REPO/wheezy/packages/binary-all
INFO:eek:nlpm:Rebuilding onl-upgrade:amd64...
INFO:eek:nlpm:Requiring prerequisite package onl-kernel-3.16-lts-x86-64-all:amd64...
INFO:eek:nlpm:Rebuilding onl-kernel-3.16-lts-x86-64-all:amd64...
make[4]: warning: -jN forced in submake: disabling jobserver mode.
make[5]: warning: -jN forced in submake: disabling jobserver mode.
make[6]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
Applying: overlayfs.patch
diff: a/Documentation/filesystems/Locking: No such file or directory
_________________________________
yes, diffutils is installed
_________________________________
**** diff: b/Documentation/filesystems/Locking: No such file or directory
**** /home/mharbuck/git/OpenNetworkLinux/packages/base/any/kernels/3.16-lts/patches/overlayfs.patch: line 2: ---: command not found


/home/mharbuck/git/OpenNetworkLinux/packages/base/any/kernels/3.16-lts/patches/overlayfs.patch: line 3: +++: command not found
/home/mharbuck/git/OpenNetworkLinux/packages/base/any/kernels/3.16-lts/patches/overlayfs.patch: line 4: @@: command not found
/home/mharbuck/git/OpenNetworkLinux/packages/base/any/kernels/3.16-lts/patches/overlayfs.patch: line 5: struct: command not found
/home/mharbuck/git/OpenNetworkLinux/packages/base/any/kernels/3.16-lts/patches/overlayfs.patch: line 6: syntax error near unexpected token `)'
/home/mharbuck/git/OpenNetworkLinux/packages/base/any/kernels/3.16-lts/patches/overlayfs.patch: line 6: ` umode_t create_mode, int *opened);'
make[5]: *** [/home/mharbuck/git/OpenNetworkLinux/packages/base/amd64/kernels/kernel-3.16-lts-x86-64-all/builds/wheezy/linux-3.16.76/.PATCHED] Error 2
make[4]: *** [kernel] Error 2
ERROR:eek:nlpm:'Build failed.'
ERROR:eek:nlrfs:Failed to build all required packages.
make[3]: *** [RFS] Error 1
ERROR:eek:nlpm:'Build failed.'
make[2]: *** [pkgall] Error 1
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/mharbuck/git/OpenNetworkLinux/builds/amd64'
make: *** [amd64] Error 2
Makefile:56: recipe for target 'docker' failed
make: *** [docker] Error 2


NOTE: I WAS able to install the pre-built binary but it will not boot up ( ERROR unsupported features, ext2,3,4 errors I believe ) the newer builds are known NOT to work on this machine...



yeah so I am stumped.


2. I toasted the ONIE rootFS while playing with it. Luckily the NOR flash Uboot was OK. later and had to go about MAKING a recover ONIE image. Took a while to figure out how to do it. TIP: folder permissions are key to the ct-ng building properly. Built with Lubuntu 18.04.6 LTS. I will post the file if anyone needs it because there is NOT one ANYWHERE to be found. As long as the uboot/bios on the switch is still responding then it should be recoverable. Also this model dies NOT support the grub screen for ONIE# as far as I can tell.


At this point if anyone has:

Switch Light OS install binary local
Cumulus NOS binary ( v2.3 or something like that )
working OpenNetworkLinux for DELL S4810-ON ( NOT S4810P )

or ideas I would appreciate it.


the post here showing the FTOS installed is great. so.... how is it done then? and is that REALLY an S4810-ON ???
 

darth_network

New Member
Apr 8, 2024
3
0
1
my collection of links so far:




Deployment Guide - Open Network Linux, ONL bad link to file :frowning:

Index of /binaries/ all too new .... see link above for correct file


GitHub - CumulusNetworks/DUE: A user friendly build environment generator for building .debs, .rpms, ONIE and more. build environment

https://www.reddit.com/r/networking/comments/13m05a2 correct cumulus OS version

 

darth_network

New Member
Apr 8, 2024
3
0
1
super ! the FTOS installer always gives me an error about expecting a " ( "


When you have time to give your method it would be appreciated greatly.