and back again from a couple of days not doing L-50 stuff :) ## Debian ## 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 ..by Gravelrash - Debian
lucky for me i know what they were to start with.... - ill interupt uboot and restore them tomorrow and redo :) 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:B9by Gravelrash - Debian
ooooops - i did a save env in the uboot before i read your post about "Nooooooooo!!! not yet on the saveenv" ah well at least when it rebooted it came back into debian anywaysby Gravelrash - Debian
please see complete output... just a couple of things of note. may be best addressed at the post install phase or at the root tarball phase... ill defer to you on this one... also i wonder if the DSA has some offload we can do at the kernel level so we can push the flow away from the cpu and onto the switch asic?? assuming it has the capability to do such a thing?! highlighted a couple of thinby Gravelrash - Debian
Hi Bodhi - i get this from the modifications made. oot@debian:~# apt-get update; apt-get upgrade; apt-get install -f -y Hit:1 http://ftp.us.debian.org/debian bullseye InRelease Err:2 https://security.debian.org/debian-security bullseye-security InRelease Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in theby Gravelrash - Debian
ermmm - am i doing something wrong here?? trying to install quagga and get the following response oot@debian:/etc/apt# apt-get update Ign:1 http://deb.debian.org bullseye-security InRelease Get:2 http://ftp.uk.debian.org/debian bullseye InRelease [116 kB] Ign:3 http://deb.debian.org bullseye-backports InRelease Get:4 http://ftp.uk.debian.org/debian bullseye-updates InRelease [44.1 kB]by Gravelrash - Debian
I tip my hat to the developers over at Openwrt for the outstanding work on the uboot and to you Mr Bodhi for the out of the box - this just loads debain release...by Gravelrash - Debian
wowser - it boots, connects to the dhcp server on my network. and initialses the interfaces/ the device reports pcie capability (although not physically there on my testbox) also the internal switch modules are found and are reported as being available in the dmesg log... heck it even reports DSA tree 0 availalbe.... all thats missing is a bridge lan and this thing could function as a managedby Gravelrash - Debian
ifconfig -a dmz: flags=4098<BROADCAST,MULTICAST> mtu 1500 ether 00:1c:7f:25:9c:b9 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 dsl: flags=4098<BROADCAST,MULTICAST> mtu 1500 etherby Gravelrash - Debian
:) Guess what ..... debian login: root Password: Linux debian 5.13.6-kirkwood-tld-1 #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to theby Gravelrash - Debian
I wont have the opportunity to pick this up now for a couple of days.by Gravelrash - Debian
***For anyone following along, the uboot environment variables are at this point and do not hold after reboot, this is to be expected as we have not yet saved the variables Looking good so far.. Using the below i can start the boot process setenv bootdev usb setenv device '0:1' setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtby Gravelrash - Debian
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) ## Eby Gravelrash - Debian
past my bedtime.... ill aim do it in the morning...by Gravelrash - Debian
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 fileaddrby Gravelrash - Debian
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: ------------------------------------------------------- > QuoteWikiDevi > > Serial: yes, RJ-45 console, (115200 8N1) > > > Intesresting! so where is this RJ-45 connector?by Gravelrash - Debian
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 :)by Gravelrash - Debian
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 (yby Gravelrash - Debian
:) at least we have a uboot to play with now :)by Gravelrash - Debian
=> 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 ....by Gravelrash - Debian
@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?by Gravelrash - Debian
ive downloaded the necessary files from the openwrt file hosting... ill give it a whirl on the morrow...by Gravelrash - Debian
do you recomend i go ahead and install openwrt now??by Gravelrash - Debian
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 meby Gravelrash - Debian
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 acby Gravelrash - Debian
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),by Gravelrash - Debian
Excellent tidbit there @rayknight.. i can see me grabbing one of those rayknight Wrote: ------------------------------------------------------- > I recently came across my old Samsung Chromebook > (the 1st ARM based Chromebook) that is no longer > provided updates to Chrome by Google. Found the > Velvet > OS project on GitHub that provides Debian > and Ubuntu images aby Gravelrash - Off-Topic
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 orderby Gravelrash - Debian
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 askby Gravelrash - Debian