Welcome! Log In Create A New Profile

Advanced

Debian on Checkpoint L-50

Posted by Gravelrash 
Debian on Checkpoint L-50
March 20, 2023 08:56AM
probably one here for Bodhi -

apologies for the posting here, i can never decide where best to put new queries and suggestions for devices :)

I have seen that a very performant device made by Checkpoint is currently available for not a lot on money at all and is supported under Openwrt........ now me being me, thought i would bring it to the attention of the foremost debian hacksite and ask if it is something that could be considered to be included in the project.??

Checkpoint L-50 VPN/Firewall

Check Point L-50 is Marvell Kirkwood 88F6821 1200MHz router with 8+1 GbE LAN ports and 1 GbE WAN port. It have version with additional bgn wifi and dsl or without it.[/b]

for me it would be ideal if i could assist in getting it included - Bodhi i would happily furnish you with one if it would assist? My stated intention for this is to install debain and run openswitch or quagga on it........... others may see it as a sweet littlle device with a bucket full on interfaces to play with :) :) :)


Edit 10th April 2023 to add link to howto



Edited 2 time(s). Last edit at 04/10/2023 07:59AM by Gravelrash.
Re: Checkpoint L-50
March 20, 2023 03:26PM
Gravelrash,

Good to see you posting again :)

> Checkpoint
> L-50 VPN/Firewall

>
> Check Point L-50 is Marvell Kirkwood 88F6821
> 1200MHz router with 8+1 GbE LAN ports and 1 GbE
> WAN port. It have version with additional bgn wifi
> and dsl or without it.[/b]
>
> for me it would be ideal if i could assist in
> getting it included

Sure I took a loook at the specs. It is a quite hackable Kirkwood box. This one has 2x 88E6171 switch, each support 4 ports. So it is a bit different than router with only one switch.

Besides, the most diffult info to find (with boards like these) is already somewhere in OpenWrt source. Pawel has done the hard work :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Checkpoint L-50
March 20, 2023 05:29PM
Gravelrash.

Quote

Check Point L-50 is Marvell Kirkwood 88F6821 1200MHz router with 8+1 GbE LAN ports and 1 GbE WAN port. It have version with additional bgn wifi and dsl or without it.[/b]

Can you post the full model and product number of both versions? I see one on eBay with this model. Wonder if it is the one with Wifi.
L-50
SG-80A

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Checkpoint L-50
March 20, 2023 05:55PM
I see Wikidevi listed:

Quote

L-50
L-50W # Wifi
L-50WD # Wifi and ADSL

At least get a wifi version becasue it is more flexible. The L-50 is a wire only version, it seems.

But on the unit label, does it say L-50W or L-50WD? if not, it's hard to tell which version you'll get.[UPDATED: It does say L-50W]

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 2 time(s). Last edit at 03/20/2023 06:13PM by bodhi.
Re: Checkpoint L-50
March 20, 2023 07:41PM
All versions are supported the L-50 has no wireless and no ADSL annex, the L-50W has 802.11bgn WiFi via an Atheros AR9287 PCIe based card and the L-50WD adds an ADSL annex board to that. There may be an L-50D, but I haven't seen one. The ADSL annex board is currently unsupported. I never did get around to testing the ExpressCard/34 slot to see what it would support.

Ray
Re: Checkpoint L-50
March 21, 2023 04:20PM
> for me it would be ideal if i could assist in
> getting it included - Bodhi i would happily
> furnish you with one if it would assist? My stated
> intention for this is to install debain and run
> openswitch or quagga on it........... others may
> see it as a sweet littlle device with a bucket
> full on interfaces to play with :) :) :)

Thanks for the offer Gravelrash! But it is quite low cost for me, so I ordered the L-50W on eBay. You know your money will have better use :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Checkpoint L-50
March 23, 2023 11:10AM
My Checkpoint has landed :)
its currently stuck in a reboot loop - but seeing as it will be getting modded thats no biggy...

the model is L-50 and the product name is SG-80A

below is a link taken from the community over at Openwrt and if im not mistaken our very own Rayknight has had some input to it already :) :). I have the bases of base models at hand at the moment and i have on order another one that has all the bells and whistles - that one will be receiving Openwrt by default as i have a use case for it.

OpenWrt - HOWTO Checkpoint L-50

So..............

What do you need from me in terms of output and investigation to get the ball rolling on this one?? i have the next week off as annual leave so it shouldn't be too much of a stretch to fit this in with all the rest of the jobs H.R.H has in store for me :)
Re: Checkpoint L-50
March 23, 2023 11:36AM
from expert / maintenance mode

Expert@MAINTENANCE_MODE]# fw_printenv
baudrate=115200
loads_echo=0
ipaddr=192.168.1.1
serverip=192.168.1.10
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
run_diag=yes
set_bootargs_L30=setenv bootargs mv_net_config=7,($(lan1_mac_addr),1)($(dmz_mac_addr),8)($(lan2_mac_addr),2)($(lan3_mac_addr),3)($(lan4_mac_addr),5)($(lan5_mac_addr),6)($(lan6_mac_addr),7),mtu=1500 console=ttyS0,115200 $(cp_quiet) mtdparts=nand_mtd:640k(u-boot)ro,384k(bootldr-env),8m(kernel-1),86m(rootfs-1),8m(kernel-2),86m(rootfs-2),94m(default_sw),94m(images_back),16m(config-back),23m(logs),-(storage)
set_bootargs_L50=setenv bootargs mv_net_config=10,($(lan1_mac_addr),0)($(dmz_mac_addr),8)($(lan2_mac_addr),1)($(lan3_mac_addr),2)($(lan4_mac_addr),3)($(lan5_mac_addr),4)($(lan6_mac_addr),5)($(lan7_mac_addr),6)($(lan8_mac_addr),7)($(dsl_mac_addr),9),mtu=1500 console=$(cp_console_str) $(cp_quiet) mtdparts=nand_mtd:640k(u-boot)ro,384k(bootldr-env),8m(kernel-1),113m(rootfs-1),8m(kernel-2),113m(rootfs-2),121m(default_sw),24m(logs),1m(preset_cfg),1m(adsl),-(storage) $(cp_quiet) noExtPorts=${noExtPorts} boardFlavor=SEATTLE
set_bootargs=run set_bootargs_$(unitModel) ; saveenv
bootaddr=0x02000200
primary_offset=0x00100000
secondary_offset=0x07A00000
default_image_offset=0x0F300000
logs_offset=0x16C00000
storage_offset=0x18600000
logs_size=0x01800000
adsl_offset=0x18500000
adsl_size=0x00100000
preset_cfg_offset=0x18400000
preset_cfg_size=0x00100000
storage_size=0x07A00000
image_size=0x07900000
kernel_size=0x00800000
flash_end=0x20000000
flash_erase_size=0x1ff00000
primary_part_erase=nand erase $(primary_offset) $(image_size)
secondary_part_erase=nand erase $(secondary_offset) $(image_size)
images_back_erase=
config_back_erase=
logs_erase=nand erase $(logs_offset) $(logs_size)
storage_erase=nand erase $(storage_offset) $(storage_size)
flash_erase_except_default=run primary_part_erase secondary_part_erase logs_erase storage_erase
seattle_flash_erase=nand erase $(primary_offset) $(preset_cfg_offset)
flash_erase=run seattle_flash_erase storage_erase
burn_primary=nand write.e $(loadaddr) $(primary_offset) $(filesize)
sw_leds_progress=switch_leds progress
sw_leds_reset=switch_leds reset
burn_default=nand write.e $(loadaddr) $(default_image_offset) $(filesize); setenv default_image_size $(filesize) ; saveenv
read_default=nand read.e $(loadaddr) $(default_image_offset) $(default_image_size)
write_default_to_primary=setenv activePartition 1 ; setenv activeConfig 1 ; nand write.e $(loadaddr) $(primary_offset) $(default_image_size)
set_bootcmd_return_default=setenv bootcmd run return_to_default bootImage ; saveenv
return_to_default=run sw_leds_progress set_bootcmd_return_default flash_erase_except_default read_default write_default_to_primary set_bootcmd_normal sw_leds_reset
tf1_image1=nand read.e $(loadaddr) $(primary_offset) $(kernel_size); run bootImage
tf1_image2=nand read.e $(loadaddr) $(secondary_offset) $(kernel_size); run bootImage
switch_active_from_1=setenv activePartition 2 ; saveenv
switch_active_from_2=setenv activePartition 1 ; saveenv
switch_active=run switch_active_from_$(activePartition)
switch_config_from_1=setenv activeConfig 2 ; saveenv
switch_config_from_2=setenv activeConfig 1 ; saveenv
switch_config=run switch_config_from_$(activeConfig)
change_config=run switch_config set_bootcmd_normal tf1_image$(activePartition)
set_bootcmd_normal=setenv bootcmd run tf1_image$(activePartition) ; saveenv
set_bootcmd_recover=setenv bootcmd run recover_boot ; saveenv
set_recover_flags=setenv recoverFlag 1 ; setenv upgradeFlag 0
recover_boot=run switch_active ; run set_recover_flags ; run set_bootcmd_normal ; boot
upgrade_boot=run switch_active ; run set_bootcmd_recover ; setenv upgradeFlag 1 ; run tf1_image$(activePartition)
confirm_boot=run set_bootcmd_normal ; boot
CASset=min
MALLOC_len=1
ethprime=egiga1
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
filesize=4800000
default_image_size=4800000
recoverFlag=0
bootImage=run set_bootargs ; bootm $(bootaddr)
fwtmp_dir_size=40
tmp_dir_size=20
upgradeFlag=0
cp_boot_no_console_output=0
dsl_action=5
activePartition=1
activeConfig=1
cp_console_str=ttyS0,115200
bootloader_version=983002045
stdin=serial
stdout=serial
stderr=serial
console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root)
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=0
disaMvPnp=no
hddPowerCtrl=no
enaAutoRecovery=yes
pcieTune=no
ethact=egiga1
sub_hw_ver=SEATTLE
unitModel=L50
unitName=UTM1
unitVer=1
hw_mac_addr=00:1C:7F:25:9C:B8
ethaddr=00:1C:7F:25:9C:B8
eth1addr=00:1C:7F:25:9C:B9
lan1_mac_addr=00:1C:7F:25:9C:B9
lan2_mac_addr=00:1C:7F:25:9C:BA
lan3_mac_addr=00:1C:7F:25:9C:BB
lan4_mac_addr=00:1C:7F:25:9C:BC
lan5_mac_addr=00:1C:7F:25:9C:BD
lan6_mac_addr=00:1C:7F:25:9C:BE
lan7_mac_addr=00:1C:7F:25:9C:BF
lan8_mac_addr=00:1C:7F:25:9C:C0
dmz_mac_addr=00:1C:7F:25:9C:C1
dsl_mac_addr=A0:00:00:00:00:00
marketing_capabilities=0
hardware_capabilities=1
mgmt_opq=YiAwnPm+Tic=:gSNEVQDgduI=:8aCXUz70Mgk=
cp_quiet=quiet
cp_boot_mode=1
bootargs=mv_net_config=10,(00:1C:7F:25:9C:B9,0)(00:1C:7F:25:9C:C1,8)(00:1C:7F:25:9C:BA,1)(00:1C:7F:25:9C:BB,2)(00:1C:7F:25:9C:BC,3)(00:1C:7F:25:9C:BD,4)(00:1C:7F:25:9C:BE,5)(00:1C:7F:25:9C:BF,6)(00:1C:7F:25:9C:C0,7)(A0:00:00:00:00:00,9),mtu=1500 console=ttyS0,115200 quiet mtdparts=nand_mtd:640k(u-boot)ro,384k(bootldr-env),8m(kernel-1),113m(rootfs-1),8m(kernel-2),113m(rootfs-2),121m(default_sw),24m(logs),1m(preset_cfg),1m(adsl),-(storage) quiet noExtPorts= boardFlavor=SEATTLE
preset=1
bootcmd=run return_to_default tf1_image1
mtc_mode_rst_cnt=0
[Expert@MAINTENANCE_MODE]#

Dmesg

[Expert@MAINTENANCE_MODE]# dmesg
Linux version 2.6.22.18(gcc version 4.2.0 20070413 (prerelease)) #1 Thu Dec 26 13:38:59 IST 2013
CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053977
Machine: Feroceon-KW
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 131072
  DMA zone: 1024 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 130048 pages, LIFO batch:31
  Normal zone: 0 pages used for memmap
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists.  Total pages: 130048
Kernel command line: mv_net_config=10,(00:1C:7F:25:9C:B9,0)(00:1C:7F:25:9C:C1,8)(00:1C:7F:25:9C:BA,1)(00:1C:7F:25:9C:BB,2)(00:1C:7F:25:9C:BC,3)(00:1C:7F:25:9C:BD,4)(00:1C:7F:25:9C:BE,5)(00:1C:7F:25:9C:BF,6)(00:1C:7F:25:9C:C0,7)(A0:00:00:00:00:00,9),mtu=1500 console=ttyS0,115200 quiet mtdparts=nand_mtd:640k(u-boot)ro,384k(bootldr-env),8m(kernel-1),113m(rootfs-1),8m(kernel-2),113m(rootfs-2),121m(default_sw),24m(logs),1m(preset_cfg),1m(adsl),-(storage) quiet noExtPorts= boardFlavor=SEATTLE
PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 256MB 256MB 0MB 0MB = 512MB total
Memory: 511488KB available (4424K code, 300K data, 3460K init)
Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
HWWD value (count down from boot timer, decrease 1 every CPU clock tick) 7fffffff 0
HWWD: No upgrade - HWWD not started

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 256MB 
SDRAM_CS1 ....base 10000000, size 256MB 
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e8000000, size 128MB 
PEX0_IO ....base f2000000, size   1MB 
INTER_REGS ....base f1000000, size   1MB 
NFLASH_CS ....base fa000000, size   2MB 
SPI_CS ....base f4000000, size  16MB 
BOOT_ROM_CS ....no such
DEV_BOOTCS ....no such
CRYPT_ENG ....base f0000000, size   2MB 

  Marvell Development Board (LSP Version KW_LSP_4.2.7_patch39_DSAv03)-- RD-88F6281A  Soc: 88F6281 A1 LE

 Detected Tclk 200000000 and SysClk 400000000 
Marvell USB EHCI Host controller #0: c0c97600
PEX0 interface detected no Link.
PCI: bus0: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 8
NET: Registered protocol family 20
NET: Registered protocol family 2
Time: kw_clocksource clocksource has been installed.
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
RTC has been updated!!!
RTC registered
Use the XOR engines (acceleration) for enhancing the following functions:
  o RAID 5 Xor calculation
  o kernel memcpy
  o kenrel memzero
Number of XOR engines to use: 4
cesadev_init(c000e724)
mvCesaInit: sessions=640, queue=64, pSram=f0000000
squashfs: version 3.3 (2007/10/31) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
NTFS driver 2.1.28 [Flags: R/W].
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
Generic LED driver initialize
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
HDLC line discipline: version $Revision: 4.8 $, maxframe=4096
N_HDLC line discipline registered.
Initialize DSL driver 
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
i2c driver was not initialized yet.
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
Loading Marvell Ethernet Driver:
  o Cached descriptors in DRAM
  o DRAM SW cache-coherency
  o Single RX Queue support - ETH_DEF_RXQ=0
  o Single TX Queue support - ETH_DEF_TXQ=0
  o Receive checksum offload enabled
  o Driver ERROR statistics enabled
  o Driver INFO statistics enabled
  o Proc tool API enabled
  o Gateway support enabled
     o Using Marvell Header Mode
  o Rx descripors: q0=512
  o Tx descripors: q0=532
  o Loading network interface(s):
    o device registered under mv88fx_eth platform
eth0: Dropping NETIF_F_SG since no checksum feature.
    o eth0, ifindex = 1, GbE port = 0
  o Loading Gateway interface(s):
      o Using command line network interface configuration
      command is 10,(00:1C:7F:25:9C:B9,0)(00:1C:7F:25:9C:C1,8)(00:1C:7F:25:9C:BA,1)(00:1C:7F:25:9C:BB,2)(00:1C:7F:25:9C:BC,3)(00:1C:7F:25:9C:BD,4)(00:1C:7F:25:9C:BE,5)(00:1C:7F:25:9C:BF,6)(00:1C:7F:25:9C:C0,7)(A0:00:00:00:00:00,9),mtu=1500
mv_gtw_get_if_nummv_gtw_get_if_num gtw_config.vlans_num=10number of interfaces in command line is 10
      o MTU set to 1500
      o mac_addr 00:1c:7f:25:9c:b9, VID 0x100, port list: port-0 
      o mac_addr 00:1c:7f:25:9c:c1, VID 0x200, port list: port-8 
      o mac_addr 00:1c:7f:25:9c:ba, VID 0x300, port list: port-1 
      o mac_addr 00:1c:7f:25:9c:bb, VID 0x400, port list: port-2 
      o mac_addr 00:1c:7f:25:9c:bc, VID 0x500, port list: port-3 
      o mac_addr 00:1c:7f:25:9c:bd, VID 0x600, port list: port-4 
      o mac_addr 00:1c:7f:25:9c:be, VID 0x700, port list: port-5 
      o mac_addr 00:1c:7f:25:9c:bf, VID 0x800, port list: port-6 
      o mac_addr 00:1c:7f:25:9c:c0, VID 0x900, port list: port-7 
      o mac_addr a0:00:00:00:00:00, VID 0xa00, port list: port-9 
eth1: Dropping NETIF_F_SG since no checksum feature.
    o eth1, ifindex = 2, GbE port = 1
eth2: Dropping NETIF_F_SG since no checksum feature.
    o eth2, ifindex = 3, GbE port = 1
eth3: Dropping NETIF_F_SG since no checksum feature.
    o eth3, ifindex = 4, GbE port = 1
eth4: Dropping NETIF_F_SG since no checksum feature.
    o eth4, ifindex = 5, GbE port = 1
eth5: Dropping NETIF_F_SG since no checksum feature.
    o eth5, ifindex = 6, GbE port = 1
eth6: Dropping NETIF_F_SG since no checksum feature.
    o eth6, ifindex = 7, GbE port = 1
eth7: Dropping NETIF_F_SG since no checksum feature.
    o eth7, ifindex = 8, GbE port = 1
eth8: Dropping NETIF_F_SG since no checksum feature.
    o eth8, ifindex = 9, GbE port = 1
eth9: Dropping NETIF_F_SG since no checksum feature.
    o eth9, ifindex = 10, GbE port = 1
eth10: Dropping NETIF_F_SG since no checksum feature.
    o eth10, ifindex = 11, GbE port = 1

Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
Copyright (c) 1999-2006 Intel Corporation.
i2c driver was not initialized yet.
e100: Intel(R) PRO/100 Network Driver, 3.5.17-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
Init ADSL control eth device
usbcore: registered new interface driver cdc_ether
Madge ATM Ambassador driver version 1.2.4
amb: debug bitmap is 0
Madge ATM Horizon [Ultra] driver version 1.2.1
hrz: debug bitmap is 0
Integrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
Using Hamming 1-bit ECC for NAND device
NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 351 at 0x02be0000
Bad eraseblock 1524 at 0x0be80000
Bad eraseblock 1559 at 0x0c2e0000
Bad eraseblock 1604 at 0x0c880000
Bad eraseblock 2662 at 0x14cc0000
11 cmdlinepart partitions found on MTD device nand_mtd
Using command line partition definition
Creating 11 MTD partitions on "nand_mtd":
0x00000000-0x000a0000 : "u-boot"
i2c driver was not initialized yet.
0x000a0000-0x00100000 : "bootldr-env"
0x00100000-0x00900000 : "kernel-1"
0x00900000-0x07a00000 : "rootfs-1"
0x07a00000-0x08200000 : "kernel-2"
0x08200000-0x0f300000 : "rootfs-2"
0x0f300000-0x16c00000 : "default_sw"
0x16c00000-0x18400000 : "logs"
0x18400000-0x18500000 : "preset_cfg"
0x18500000-0x18600000 : "adsl"
0x18600000-0x20000000 : "storage"
ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
i2c driver was not initialized yet.
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
i2c driver was not initialized yet.
i2c driver was not initialized yet.
usb 1-1: new high speed USB device using ehci_marvell and address 2
i2c driver was not initialized yet.
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
i2c driver was not initialized yet.
usbcore: registered new interface driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for cp2101
usbcore: registered new interface driver cp2101
drivers/usb/serial/cp2101.c: Silicon Labs CP2101/CP2102 RS232 serial adaptor driver v0.07
drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver
drivers/usb/serial/usb-serial.c: USB Serial support registered for IPWireless converter
usbcore: registered new interface driver ipwtty
drivers/usb/serial/ipw.c: IPWireless tty driver v0.3
drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem
usbcore: registered new interface driver sierra
drivers/usb/serial/sierra.c: USB Driver for Sierra Wireless USB modems: v.1.7.40
usbcore: registered new interface driver sierra_net
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
rtc-s35390a 0-0030: rtc core: registered rtc-s35390a as rtc0
Linux telephony interface: v1.00
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised 
dm_crypt using the OCF package.
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mvsdmmc: irq =28 start f1090000
mvsdmmc: irq_detect=110
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
oprofile: using timer interrupt.
Netfilter messages via NETLINK v0.30.
IPv4 over IPv4 tunneling driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
lec.c: Dec 26 2013 13:36:03 initialized
mpc.c: Dec 26 2013 13:35:59 initialized
802.1Q VLAN Support v1.8 Ben Greear 
All bugs added by David S. Miller 
rtc-s35390a 0-0030: setting the system clock to 2023-03-23 14:46:33 (1679582793)
Freeing init memory: 3460K
umimod: module license 'Proprietary' taints kernel.
NET: Registered protocol family 32
kernel UMI module loaded
FW-1: Linux kernel version 2.6.22--1 
FW-1: driver installed
VPN-1: driver installed
VPNT: IPv4 over VPN Tunnel driver installed
SIM: Linux kernel version 2.6.22 () 
mvCesaInit: sessions=800, queue=4, pSram=f0000000
Sim: driver installed
FG-1: driver installed
[Expert@MAINTENANCE_MODE]# exit
exit

Re: Checkpoint L-50
March 23, 2023 02:41PM
Gravelrash,

in Expert@MAINTENANCE_MODE,

ifconfig -a

And for each port x 0..10
ethtool ethx

If you have serial console, at u-boot prompt
md.l 0xF1010000 8
md.l 0xF1010100 1
md.l 0xF1010140 1

==========

I'm going to look for OpenWrt patches for this box.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Checkpoint L-50
March 23, 2023 05:12PM
Unable to run the command for md.l xxxxx

the console port at the back that i am currently connecting to does not allow for the visual display of the uboot - there may be an equivalent once the maintenance image it keeps boot cycling into - ill have a look and see what i can glean - failing that its a case of whip the case cover off and see if there is a direct serial connector inside i can access


[Expert@MAINTENANCE_MODE]# ifconfig -a

eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:80  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:11 

eth1      Link encap:Ethernet  HWaddr 00:1C:7F:25:9C:B9  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:15 

eth10     Link encap:Ethernet  HWaddr A0:00:00:00:00:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:15 

eth2      Link encap:Ethernet  HWaddr 00:1C:7F:25:9C:C1  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:15 

eth3      Link encap:Ethernet  HWaddr 00:1C:7F:25:9C:BA  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:15 

eth4      Link encap:Ethernet  HWaddr 00:1C:7F:25:9C:BB  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:15 

eth5      Link encap:Ethernet  HWaddr 00:1C:7F:25:9C:BC  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:15 

eth6      Link encap:Ethernet  HWaddr 00:1C:7F:25:9C:BD  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:15 

eth7      Link encap:Ethernet  HWaddr 00:1C:7F:25:9C:BE  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:15 

eth8      Link encap:Ethernet  HWaddr 00:1C:7F:25:9C:BF  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:15 

eth9      Link encap:Ethernet  HWaddr 00:1C:7F:25:9C:C0  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:15 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1056 (1.0 KiB)  TX bytes:1056 (1.0 KiB)

tunl0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

[Expert@MAINTENANCE_MODE]# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 8
Transceiver: internal
Auto-negotiation: on
Link detected: no

[Expert@MAINTENANCE_MODE]# ethtool eth0 1
Settings for eth1:
Supported ports: [ TP MII ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 16
Transceiver: internal
Auto-negotiation: on
Link detected: yes

[Expert@MAINTENANCE_MODE]# ethtool eth1 2
Settings for eth2:
Supported ports: [ TP MII ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 16
Transceiver: internal
Auto-negotiation: on
Link detected: yes

[Expert@MAINTENANCE_MODE]# ethtool eth2 3
Settings for eth3:
Supported ports: [ TP MII ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 16
Transceiver: internal
Auto-negotiation: on
Link detected: yes

[Expert@MAINTENANCE_MODE]# ethtool eth3 4
Settings for eth4:
Supported ports: [ TP MII ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 16
Transceiver: internal
Auto-negotiation: on
Link detected: yes

[Expert@MAINTENANCE_MODE]# ethtool eth4 5
Settings for eth5:
Supported ports: [ TP MII ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 16
Transceiver: internal
Auto-negotiation: on
Link detected: yes

[Expert@MAINTENANCE_MODE]# ethtool eth5 6
Settings for eth6:
Supported ports: [ TP MII ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 16
Transceiver: internal
Auto-negotiation: on
Link detected: yes

[Expert@MAINTENANCE_MODE]# ethtool eth6 7
Settings for eth7:
Supported ports: [ TP MII ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 16
Transceiver: internal
Auto-negotiation: on
Link detected: yes

[Expert@MAINTENANCE_MODE]# ethtool eth7 8
Settings for eth8:
Supported ports: [ TP MII ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 16
Transceiver: internal
Auto-negotiation: on
Link detected: yes

[Expert@MAINTENANCE_MODE]# ethtool eth8 9
Settings for eth9:
Supported ports: [ TP MII ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 16
Transceiver: internal
Auto-negotiation: on
Link detected: yes
Re: Checkpoint L-50
March 23, 2023 05:24PM
Thanks! those are good info in case we we need to tweak the OpenWrt patches.

Once you've installed OpenWrt, I'd like to have the same info. I think the md.l commands will work with their u-boot version.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Checkpoint L-50
March 23, 2023 05:27PM
Ive taken the case cover off and had a nosey about - the board is very securely fastened to the case with what looks like heatsink cement under the mainboard -> heatsink -> case and a few small screws.

i cant find an equivalent (from my limited knowledge and quick google search) to the md.l command...

what is that exactly?? please educate me
Re: Checkpoint L-50
March 23, 2023 05:27PM
do you recomend i go ahead and install openwrt now??
Re: Checkpoint L-50
March 23, 2023 05:42PM
ive downloaded the necessary files from the openwrt file hosting... ill give it a whirl on the morrow...
Re: Checkpoint L-50
March 23, 2023 06:08PM
Gravelrash Wrote:
-------------------------------------------------------
> do you recomend i go ahead and install openwrt
> now??

Yes! from the info page, look like they have a new u-boot. So once I can find the DTS in their tree, that would make it easier to get it booting Debian.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Checkpoint L-50
March 24, 2023 02:53AM
DTS was submitted to mainline kernel. You can also find high res photos of it I submitted at WikiDevi.
Re: Checkpoint L-50
March 24, 2023 03:39AM
@rayknight
Are you aware of any pinout/connector on the board that will allow direct access to the uboot output on the standard firmware setup?
Re: Checkpoint L-50
March 24, 2023 05:28AM
=> md.l 0xF1010000 8
f1010000: 21111111 11113311 33331111 33003333    ...!.3....3333.3
f1010010: 20040033 20202200 00000000 00000000    3.. ."  ........

=> md.l 0xF1010100 1
f1010100: 00000000                               ....

=> md.l 0xF1010140 1
f1010140: 00000000                               ....



Edited 5 time(s). Last edit at 03/24/2023 05:43PM by Gravelrash.
Re: Checkpoint L-50
March 24, 2023 06:11AM
:) at least we have a uboot to play with now :)
Re: Checkpoint L-50
March 24, 2023 07:01AM
deleted as irrelevant - move on :)



Edited 4 time(s). Last edit at 03/24/2023 05:44PM by Gravelrash.
Re: Checkpoint L-50
March 24, 2023 07:04AM
uboot variables are now as below and i can get a dhcp address and also access the intertubes

gravelrash@5060:~$ ssh root@192.168.1.1
The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established.
ED25519 key fingerprint is SHA256:EkzKF3xzyl4ZTNGnLl8GIwNP/etDd/8oI/sIzJeAaL0.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.1.1' (ED25519) to the list of known hosts.


BusyBox v1.35.0 (2023-01-03 00:24:21 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 22.03.3, r20028-43d71ad93e
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# fw_printenv
baudrate=115200
bootargs=console=ttyS0,115200
bootcmd=ubi part ubi; ubi read 0x800000 kernel; bootm 0x800000
bootdelay=1
dmz_mac_addr=00:1C:7F:25:9C:C1
dsl_mac_addr=A0:00:00:00:00:00
eth0_mac_addr=00:1C:7F:25:9C:B8
eth0addr=00:1C:7F:25:9C:B8
eth1_mac_addr=00:1C:7F:25:9C:B9
eth1addr=00:1C:7F:25:9C:B9
ethaddr=00:1C:7F:25:9C:B8
fdtcontroladdr=1fb1f948
fileaddr=800000
filesize=9bd34
ipaddr=192.168.1.1
lan1_mac_addr=00:1C:7F:25:9C:B9
lan2_mac_addr=00:1C:7F:25:9C:BA
lan3_mac_addr=00:1C:7F:25:9C:BB
lan4_mac_addr=00:1C:7F:25:9C:BC
lan5_mac_addr=00:1C:7F:25:9C:BD
lan6_mac_addr=00:1C:7F:25:9C:BE
lan7_mac_addr=00:1C:7F:25:9C:BF
lan8_mac_addr=00:1C:7F:25:9C:C0
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:0xc0000@0x0(u-boot)ro,0x40000@0xc0000(bootldr-env),0x7900000@0x100000(ubi),0x800000@0x7a00000(kernel-2),0x7100000@0x8200000(rootfs-2),0x7900000@0xf300000(default_sw),0x1800000@0x16c00000(logs),0x100000@0x18400000(preset_cfg),0x100000@0x18500000(adsl),-@0x18600000(storage)
serverip=192.168.1.2
root@OpenWrt:~# 


Re: Checkpoint L-50
March 24, 2023 10:36AM
Just flashed Openwrt to another L-50 this one has wireless and ADSL - adsl doesnt initialize, which is to be expected as it isnt supported by openwrt. elsewise once the correct variables are applied to eth0 at the uboot, all works fine...

let the hackathon commence :)
Re: Checkpoint L-50
March 24, 2023 01:34PM
Cool :)

Power up or reboot. Interrupt serial console countdown and
printenv
help

And please post the entire serial console boot log.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Checkpoint L-50
March 24, 2023 02:16PM
> DTS was submitted to mainline
> kernel.
> You can also find high res photos of it I
> submitted at
> WikiDevi.

Thanks Ray!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Checkpoint L-50
March 24, 2023 02:24PM
Quote
WikiDevi

Serial: yes, RJ-45 console, (115200 8N1)

Intesresting! so where is this RJ-45 connector?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Checkpoint L-50
March 24, 2023 05:29PM
its around the back of the device and is clearly marked as "console" - you need a usb to RJ45 ttl adaptor........ in some people parlance.... (mine) a usb cisco cable :)



bodhi Wrote:
-------------------------------------------------------
>
Quote
WikiDevi
>
> Serial: yes, RJ-45 console, (115200 8N1)
>
>
> Intesresting! so where is this RJ-45 connector?
Re: Checkpoint L-50
March 24, 2023 05:38PM
printenv
=> printenv
baudrate=115200
bootargs=console=ttyS0,115200
bootcmd=ubi part ubi; ubi read 0x800000 kernel; bootm 0x800000
bootdelay=1
dmz_mac_addr=00:1C:7F:25:9C:C1
dsl_mac_addr=A0:00:00:00:00:00
eth0_mac_addr=00:1C:7F:25:9C:B8
eth0addr=00:1C:7F:25:9C:B8
eth1_mac_addr=00:1C:7F:25:9C:B9
eth1addr=00:1C:7F:25:9C:B9
ethaddr=00:1C:7F:25:9C:B8
fdtcontroladdr=1fb1f948
fileaddr=800000
filesize=9bd34
ipaddr=192.168.1.1
lan1_mac_addr=00:1C:7F:25:9C:B9
lan2_mac_addr=00:1C:7F:25:9C:BA
lan3_mac_addr=00:1C:7F:25:9C:BB
lan4_mac_addr=00:1C:7F:25:9C:BC
lan5_mac_addr=00:1C:7F:25:9C:BD
lan6_mac_addr=00:1C:7F:25:9C:BE
lan7_mac_addr=00:1C:7F:25:9C:BF
lan8_mac_addr=00:1C:7F:25:9C:C0
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:0xc0000@0x0(u-boot)ro,0x40000@0xc0000(bootldr-env),0x7900000@0x100000(ubi),0x800000@0x7a00000(kernel-2),0x7100000@0x8200000(rootfs-2),0x7900000@0xf300000(default_sw),0x1800000@0x16c00000(logs),0x100000@0x18400000(preset_cfg),0x100000@0x18500000(adsl),-@0x18600000(storage)
serverip=192.168.1.2

help
=> help
?         - alias for 'help'
base      - print or set address offset
bdinfo    - print Board Info structure
boot      - boot default, i.e., run 'bootcmd'
bootd     - boot default, i.e., run 'bootcmd'
bootelf   - Boot from an ELF image in memory
bootm     - boot application image from memory
bootp     - boot image via network using BOOTP/TFTP protocol
bootvx    - Boot vxWorks from an ELF image
bootz     - boot Linux zImage image from memory
chpart    - change active partition
cmp       - memory compare
coninfo   - print console devices and information
cp        - memory copy
crc32     - checksum calculation
dhcp      - boot image via network using DHCP/TFTP protocol
echo      - echo args to console
editenv   - edit environment variable
env       - environment handling commands
exit      - exit script
ext2load  - load binary file from a Ext2 filesystem
ext2ls    - list files in a directory (default /)
false     - do nothing, unsuccessfully
fatinfo   - print information about filesystem
fatload   - load binary file from a dos filesystem
fatls     - list files in a directory (default /)
fatsize   - determine a file's size
fdt       - flattened device tree utility commands
fsinfo    - print information about filesystems
fsload    - load binary file from a filesystem image
fsls      - list files in a directory (default /)
go        - start application at address 'addr'
help      - print command description/usage
i2c       - I2C sub-system
iminfo    - print header information for application image
imxtract  - extract a part of a multi-image
itest     - return true/false on integer compare
loadb     - load binary file over serial line (kermit mode)
loads     - load S-Record file over serial line
loadx     - load binary file over serial line (xmodem mode)
loady     - load binary file over serial line (ymodem mode)
loop      - infinite loop on address range
md        - memory display
mdio      - MDIO utility commands
mii       - MII utility commands
mm        - memory modify (auto-incrementing address)
mtdparts  - define flash/nand partitions
mw        - memory write (fill)
nand      - NAND sub-system
nboot     - boot from NAND device
nfs       - boot image via network using NFS protocol
nm        - memory modify (constant address)
ping      - send ICMP ECHO_REQUEST to network host
printenv  - print environment variables
reset     - Perform RESET of the CPU
run       - run commands in an environment variable
saveenv   - save environment variables to persistent storage
setenv    - set environment variables
showvar   - print local hushshell variables
sleep     - delay execution for some time
source    - run script from memory
test      - minimal test like /bin/sh
tftpboot  - boot image via network using TFTP protocol
true      - do nothing, successfully
ubi       - ubi commands
ubifsload - load file from an UBIFS filesystem
ubifsls   - list files in a directory
ubifsmount- mount UBIFS volume
ubifsumount- unmount UBIFS volume
usb       - USB sub-system
usbboot   - boot from USB device
version   - print monitor, compiler and linker version

version
=> version
U-Boot 2020.04 (Mar 23 2023 - 11:20:31 +0000)
Check Point L-50

arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 12.2.0 r22372-f7c1631155) 12.2.0 GNU ld (GNU Binutils) 2.40.0
Re: Checkpoint L-50
March 24, 2023 05:57PM
1. Create the USB rootfs using Debian-5.13.6-kirkwood-tld-1-rootfs-bodhi.tar.bz2.
https://forum.doozan.com/read.php?2,12096

Since this is a new u-boot 2020.04, skip Step 4 (this step is for stock u-boot only).

2. Attach the USB rootfs to the USB port in the front (or back if preferred). Power up, interrupt serial console and,

setenv bootdev usb
setenv device '0:1'

setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial'
setenv dtb_file '/boot/dts/kirkwood-l-50.dtb'

setenv load_uimage_addr 0x800000
setenv load_uimage 'echo loading uImage ...; ext2load $bootdev $device $load_uimage_addr /boot/uImage'

setenv load_initrd_addr 0x1100000
setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'

setenv load_dtb_addr 0x2c00000
setenv load_dtb 'echo loading DTB $dtb_file ...; ext2load $bootdev $device $load_dtb_addr $dtb_file'

setenv bootcmd_exec 'if run load_uimage; then; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi; fi'

setenv bootcmd 'usb start; run bootcmd_exec; reset'

and then boot

boot

=========
bodhi's edit: load_dtb

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 03/24/2023 07:29PM by bodhi.
Re: Checkpoint L-50
March 24, 2023 06:45PM
past my bedtime.... ill aim do it in the morning...
Re: Checkpoint L-50
March 24, 2023 06:56PM
i messed up somewhere.... ill try again in teh morning after my cup of coffee or twelve

=> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
loading uImage ...
5435888 bytes read in 232 ms (22.3 MiB/s)
loading uInitrd ...
9671091 bytes read in 386 ms (23.9 MiB/s)
## Error: "load_dtb" not defined
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image
   Loading Ramdisk to 0f6c6000, end 0ffff173 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Error: invalid dtb and unrecognized/unsupported machine ID
  r1=0x00000000, r2=0x00000100
  r2[]=05 00 00 00 01 00 41 54 00 00 00 00 00 00 00 00
Available machine support:

ID (hex)        NAME
ffffffff        Generic DT based system
ffffffff        Marvell Kirkwood (Flattened Device Tree)

Please check your kernel config and/or bootloader.


Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: