Re: Dell Appliance June 28, 2018 10:55AM |
Registered: 6 years ago Posts: 15 |
public static function LEDOff() { self::LEDControl('off', $white=false); self::LEDControl('off', $white=true); } // state = 'on' | 'off' | 'blink' public static function LEDControl($state = 'on', $white=true) { $color = $white ? 'white' : 'orange'; // there's some interplay with triggers and brightness // lets start by turning everything off if (is_file("/sys/class/leds/$color/brightness")) { SudoClient::RunCommandWait("echo none > /sys/class/leds/$color/trigger; echo 0 > /sys/class/leds/$color/brightness"); } if($state === 'off') return; // $state === 'on' $on = 255; $blink = 'none'; if($state === 'blink') { $on = 255; $blink = 'heartbeat'; } if (is_file("/sys/class/leds/$color/brightness")) { // setting blink to heartbeat, but on to false turns off led // so set the brightness first, then trigger SudoClient::RunCommandWait("echo $blink > /sys/class/leds/$color/trigger; echo $on > /sys/class/leds/$color/brightness"); } } public static function LEDStatus() { if(!is_file('/sys/class/leds/white/brightness')) return "No LED detected\n"; $out = ''; $on = trim(file_get_contents('/sys/class/leds/white/brightness')) != '0' ? 'on' : 'off'; $blink = trim(file_get_contents('/sys/class/leds/white/trigger')); $out .= "white: $on | $blink\n"; $on = trim(file_get_contents('/sys/class/leds/orange/brightness')) != '0' ? 'on' : 'off'; $blink = trim(file_get_contents('/sys/class/leds/orange/trigger')); $out .= "orange: $on | $blink\n"; return $out; } public static function LEDWhiteIsOn() { if(!is_file('/sys/class/leds/white/brightness')) return true; return (trim(file_get_contents('/sys/class/leds/white/brightness')) != '0'); } public static function LEDOrangeIsOn() { if(!is_file('/sys/class/leds/orange/brightness')) return false; return (trim(file_get_contents('/sys/class/leds/orange/brightness')) != '0'); }
Re: Dell Appliance June 28, 2018 11:44PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Dell Appliance June 28, 2018 11:48PM |
Admin Registered: 13 years ago Posts: 18,900 |
[ 5.170730] rtc-mv f1010300.rtc: setting system clock to 2018-06-28 08:27:34 UTC (1530174454)
Re: Dell Appliance July 04, 2018 09:28PM |
Admin Registered: 13 years ago Posts: 18,900 |
[ 26.262100] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 27.087276] BUG: Bad rss-counter state mm:7a16fc7b idx:1 val:1 [ 28.386977] NET: Registered protocol family 15 [ 31.463489] Bluetooth: Core ver 2.22 [ 31.477927] NET: Registered protocol family 31 [ 31.482399] Bluetooth: HCI device and connection manager initialized [ 31.503190] Bluetooth: HCI socket layer initialized [ 31.513677] Bluetooth: L2CAP socket layer initialized [ 31.518785] Bluetooth: SCO socket layer initialized [ 31.613470] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 31.618845] Bluetooth: BNEP filters: protocol multicast [ 31.637045] Bluetooth: BNEP socket layer initialized [ 34.016189] NFSD: starting 90-second grace period (net f000001c) [ 34.074115] BUG: Bad rss-counter state mm:d5a487c9 idx:1 val:1 [ 41.244479] BUG: Bad rss-counter state mm:87a378b3 idx:1 val:1 [ 43.146299] BUG: Bad rss-counter state mm:2ecb18d6 idx:1 val:1
Re: Dell Appliance July 05, 2018 09:27PM |
Registered: 9 years ago Posts: 454 |
Re: Dell Appliance July 06, 2018 12:02AM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Dell Appliance July 06, 2018 09:56PM |
Admin Registered: 13 years ago Posts: 18,900 |
Quote
Linux 4.17-rc4
Leon Romanovsky (4):
RDMA/mlx5: Fix multiple NULL-ptr deref errors in rereg_mr flow
RDMA/mlx5: Protect from shift operand overflow
RDMA/mlx5: Properly check return value of mlx5_get_uars_page
RDMA/mlx4: Add missed RSS hash inner header flag
Re: Dell Appliance October 02, 2018 02:45PM |
Registered: 10 years ago Posts: 155 |
Re: Dell Appliance October 03, 2018 12:14AM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Dell Appliance October 10, 2018 10:58AM |
Registered: 10 years ago Posts: 155 |
Marvell>> usb start (Re)start USB... USB: scanning bus for devices... 3 USB Device(s) found Waiting for storage device(s) to settle before scanning... 1 Storage Device(s) found Marvell>> (Re)start USB... USB: scanning bus for devices... 1 USB Device(s) found Waiting for storage device(s) to settle before scanning... 0 Storage Device(s) found
Re: Dell Appliance October 10, 2018 07:01PM |
Admin Registered: 13 years ago Posts: 18,900 |
fw_printenv
Re: Dell Appliance October 10, 2018 07:34PM |
Registered: 10 years ago Posts: 155 |
root@debian:~# fw_printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ kernel2bootup=no usiversion=kacemini-1.5 console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/nfs rw bootargs_end=:::DB88FXX81:eth0:none image_name=uImage bootargs=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) root=/dev/sda1 rw standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000; ethmtu=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 netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no ethact=egiga0 stdin=serial stdout=serial stderr=serial 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=3 disaMvPnp=no enaAutoRecovery=yes pcieTune=no filesize=728c0 fileaddr=1200000 netmask=255.255.255.0 ipaddr=192.168.58.233 serverip=192.168.58.188 ethaddr=18:03:73:41:db:3e run_diag=yes mainlineLinux=no bootargs_console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) bootcmd_ide=run bootcmd_ideload; setenv bootargs $(bootargs_console); bootm 0x100000 0x01100000 bootcmd_ideload=ide reset; ext2load ide 0:1 0x100000 /uImage; ext2load ide 0:1 0x01100000 /uInitrd bootcmd=run bootcmd_ide bootcmd2=ide reset; ext2load ide 0:2 0x100000 /kbox/bin/uImage.bak; ext2load ide 0:1 0x01100000 /uInitrd;bootm 0x100000 0x01100000 root@debian:~#
Re: Dell Appliance October 10, 2018 10:08PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Dell Appliance October 11, 2018 08:42AM |
Registered: 10 years ago Posts: 155 |
Disk /dev/sda: 14.9 GiB, 16013852672 bytes, 31277056 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/sda1 * 32 524287 524256 256M 83 Linux /dev/sda2 524288 30869503 30345216 14.5G 83 Linux /dev/sda3 30869504 31277055 407552 199M 5 Extended /dev/sda5 30869536 31277055 407520 199M 82 Linux swap / Solaris
root@debian:~# ls /media/ssd . uImage .. uImage.kbox_backup System.map-2.6.32-5-kirkwood uInitrd config-2.6.32-5-kirkwood uInitrd.kbox_backup initrd.img vmlinuz initrd.img-2.6.32-5-kirkwood vmlinuz-2.6.32-5-kirkwood lost+found
Re: Dell Appliance October 11, 2018 10:35AM |
Registered: 10 years ago Posts: 155 |
root@dellkaceM300:~# fw_printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ kernel2bootup=no usiversion=kacemini-1.5 console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/nfs rw bootargs_end=:::DB88FXX81:eth0:none image_name=uImage bootargs=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) root=/dev/sda1 rw standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000; ethmtu=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 netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no ethact=egiga0 stdin=serial stdout=serial stderr=serial 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=3 disaMvPnp=no enaAutoRecovery=yes pcieTune=no filesize=728c0 fileaddr=1200000 netmask=255.255.255.0 ipaddr=192.168.58.233 serverip=192.168.58.188 ethaddr=18:03:73:41:db:3e run_diag=yes mainlineLinux=no bootargs_console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) bootcmd_ide=run bootcmd_ideload; setenv bootargs $(bootargs_console); bootm 0x100000 0x01100000 bootcmd_ideload=ide reset; ext2load ide 0:1 0x100000 /uImage; ext2load ide 0:1 0x01100000 /uInitrd bootcmd=run bootcmd_ide bootcmd2=ide reset; ext2load ide 0:2 0x100000 /kbox/bin/uImage.bak; ext2load ide 0:1 0x01100000 /uInitrd;bootm 0x100000 0x01100000
root@dellkaceM300:~# cat /etc/fw_env.config # MTD Device Offset Environment Size Flash Sector Size /dev/mtd1 0x0 0x1000 0x1000
Re: Dell Appliance October 11, 2018 02:15PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Dell Appliance October 11, 2018 04:06PM |
Registered: 10 years ago Posts: 155 |
Re: Dell Appliance October 12, 2018 01:00AM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Dell Appliance October 12, 2018 09:55AM |
Registered: 10 years ago Posts: 155 |
Re: Dell Appliance October 12, 2018 06:50PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Dell Appliance October 12, 2018 07:34PM |
Registered: 10 years ago Posts: 155 |
Re: Dell Appliance December 28, 2018 02:50PM |
Registered: 7 years ago Posts: 373 |
MAGARA
Re: Dell Appliance April 28, 2019 03:16PM |
Re: Dell Appliance April 28, 2019 05:03PM |
Admin Registered: 13 years ago Posts: 18,900 |
MAGARA
Re: Dell Appliance April 28, 2019 08:03PM |
MAGARA
Re: Dell Appliance April 28, 2019 08:08PM |
root@debian:~/tools# ./nanddump --noecc --omitoob -l 0x80000 -f mtd0 /dev/mtd0 MTDFILEMODE: Operation not supported root@debian:~/tools# ./nandwrite /dev/mtd0 uboot.2017.07-tld-1.nsa325.mtd0.kwb Image 524288 bytes, NAND page 1 bytes, OOB area 0 bytes, device size 520192 bytes nandwrite: error!: Input file does not fit into device error 0 (Success) nandwrite: error!: Data was only partially written due to error error 0 (Success)
Re: Dell Appliance April 28, 2019 08:39PM |
Admin Registered: 13 years ago Posts: 18,900 |
MAGARA
Re: Dell Appliance May 13, 2019 10:55PM |
Re: Dell Appliance July 27, 2019 12:59AM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Dell Appliance July 27, 2019 08:01AM |
Registered: 10 years ago Posts: 155 |