Skip to content

Instantly share code, notes, and snippets.

View networkextension's full-sized avatar

abigt networkextension

  • Star
View GitHub Profile
@networkextension
networkextension / recode.rst
Created January 16, 2024 00:21
recode Tim Cook, Sir Jony Ive KBE, and Laurene Powell Jobs - Full Interview

1 00:00:00,000 --> 00:00:07,000 [BLANK_AUDIO]

2 00:00:07,000 --> 00:00:08,320 >> Thank you for flying up.

3 00:00:08,320 --> 00:00:09,720

@networkextension
networkextension / Hi1620
Created September 5, 2023 15:08
Hi1620 console efi log
15@#&NOTICE: PL011_UART_BASE:
NOTICE: Booting Trusted Firmware
NOTICE: BL1: v2.0(release):LOG-uniBIOS_Hi1620_V200R002C20SPC001B023-98-g599589b-dirty
NOTICE: BL1: Built :
...............................................................................................NOTICE: BL1: Booting BL2
ERROR: Hello Bl2
NOTICE: BL2: v2.0(release):LOG-uniBIOS_Hi1620_V200R002C20SPC001B023-98-g599589b-dirty
NOTICE: BL2: Built :
NOTICE: BL1: Booting BL31
12345NOTICE: BL31: v2.0(release):LOG-uniBIOS_Hi1620_V200R002C20SPC001B023-98-g599589b-dirty
@networkextension
networkextension / emag8010_ubuntu2210_dmesg.txt
Created March 22, 2023 04:43
emag8010_ubuntu2210_dmesg.txt
Last login: Tue Mar 21 08:56:13 on ttys010
yarshure@Hoover ~ % ssh dev@192.168.2.88
Welcome to Ubuntu 22.10 (GNU/Linux 5.19.0-35-generic aarch64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Wed Mar 22 04:41:50 AM UTC 2023
@networkextension
networkextension / emag8180_serial_BMC.txt
Created March 22, 2023 04:39
emag8180_serial_BMC.txt
DRAM Init-V11-DDR4
0abc1-4Gb-Done
Read margin-DL:0.3980/DH:0.3882 CK (min:0.30)
U-Boot 2013.07 (Feb 22 2019 - 14:35:28)
I2C: ready
DRAM: 496 MiB
Flash: Found SPI Chip Winbond W25Q256(0x1940) 3-RD 0-WR
#include <stdio.h>
#include <linux/if_vlan.h>
#include <netinet/ether.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <arpa/inet.h>
root@localhost:~# lspci -vvv -s 0001:01:00.0
0001:01:00.0 Network controller: Mellanox Technologies MT27500 Family [ConnectX-3]
Subsystem: Hewlett-Packard Company InfiniBand FDR/EN 10/40Gb Dual Port 544FLR-QSFP Adapter (Rev Cx)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 120
Region 0: Memory at a040000000 (64-bit, non-prefetchable) [size=1M]
Region 2: Memory at a400000000 (64-bit, prefetchable) [size=32M]
Expansion ROM at a040100000 [disabled] [size=1M]
@networkextension
networkextension / r6300v2_auto_reboot.log
Created November 10, 2022 10:33
r6300v2_auto_reboot.log
noname ~ % sudo cu -s 115200 -l /dev/cu.usbserial-1130
Connected.
CFE for Foxconn Router R6300v2 version: v1.0.15
Build Date: Fri May 24 13:47:09 CST 2013
Init Arena
Init Devs.
Boot up from NAND flash...
Boot partition size = 262144(0x40000)
@networkextension
networkextension / ip_in_cidr.swift
Created October 29, 2022 03:50
find ip in ip cidr
func ipv4_StringToInt(_ value: String) -> UInt32? {
var addr = in_addr()
return inet_aton(value.cString(using: .ascii), &addr) != 0
? UInt32(addr.s_addr)
: nil
}
func ipv4_IntToString(_ value: UInt32) -> String {
let addr = in_addr(s_addr: value)
return String(cString:inet_ntoa(addr))
@networkextension
networkextension / love.md
Created September 14, 2022 02:34
love.md

Love

$${\color{white} In business efforts, touch the fireworks on the life of people, }$$

$${\color{white} constantly cognitive growing ~Support we move forward, always }$$

$${\color{white} a two-way to at the same time, the soul and economic independence. }$$

@networkextension
networkextension / boot.log
Created September 2, 2022 01:55
iBoot-1219.60.76 DEVELOPMENT
image 0xbff547e0: bdev 0xbff5e4e0 type SCAB offset 0x2000
image 0xbff76200: bdev 0xbff5e4e0 type ibot offset 0x4000 len 0x401f8
image 0xbff76280: bdev 0xbff5e4e0 type dtre offset 0x46000 len 0x106b8
image 0xbff76300: bdev 0xbff5e4e0 type logo offset 0x58000 len 0x52b8
image 0xbff76380: bdev 0xbff5e4e0 type bat0 offset 0x5e000 len 0xb178
image 0xbff76400: bdev 0xbff5e4e0 type bat1 offset 0x6a000 len 0x3cf8
image 0xbff76480: bdev 0xbff5e4e0 type glyC offset 0x70000 len 0xff8
image 0xbff76500: bdev 0xbff5e4e0 type chg0 offset 0x72000 len 0xbb8
image 0xbff76560: bdev 0xbff5e4e0 type chg1 offset 0x74000 len 0x3638
image 0xbff765c0: bdev 0xbff5e4e0 type glyP offset 0x78000 len 0xbb8