Marvell Dreamplug U-Boot-2017.07-tld-1 November 17, 2017 04:38PM |
Admin Registered: 13 years ago Posts: 18,898 |
uboot.2016.05-tld-1.environment.img (the default envs image to be flashed on other Kirkwood box, not used here) uboot.2016.05-tld-1.environment (the content of the default envs in text format) uboot.2016.05-tld-1.environment.64K.img (small envs image to be flashed on HP T5325 and Dreamplug boxes only).
./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.dreamplug.mtd0.kwb -p
mkdir -p /tmp/sdc1 mount -o noatime /dev/sdc1 /tmp/sdc1 cd /tmp/sdc1/boot tar -xf uboot.2017.07-tld-1.dreamplug.bodhi.tar tar -xf uboot.2016.05-tld-1.environment.bodhi.tar
mkdir -p /tmp/sda1
mount -o noatime /dev/sda1 /tmp/sda1
cd /tmp/sda1
mv uImage uImage.stock
cp -a /tmp/sdc1/boot/zImage-4.12.1-kirkwood-tld-1 zImage.fdt
cat /tmp/sdc1/boot/dts/kirkwood-dreamplug.dtb >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.12.1-kirkwood-tld-1 -d zImage.fdt uImage
sync
shutdow -r now
cat /proc/mtdExpected Outputs:
dev: size erasesize name mtd0: 00080000 00001000 "u-boot" mtd1: 00010000 00001000 "u-boot env" mtd2: 00010000 00001000 "dtb"
mkdir -p /tmp/sdc1 mount -o noatime /dev/sdc1 /tmp/sdc1 cd /tmp/sdc1/boot dd if=/dev/mtd0 of=mtd0 bs=512k conv=sync dd if=/dev/mtd1 of=mtd1 bs=64k conv=sync dd if=/dev/mtd2 of=mtd2 bs=64k conv=sync
cd /tmp/sdc1/boot flashcp -v uboot.2017.07-tld-1.dreamplug.mtd0.kwb /dev/mtd0
Erasing blocks: 128/128 (100%) Writing data: 512k/0k (100%) Verifying data: 512k/0k (100%)
cd /tmp/sdc1/boot flashcp -v uboot.2016.05-tld-1.environment.64K.img /dev/mtd1
Erasing blocks: 16/16 (100%) Writing data: 64k/0k (100%) Verifying data: 64k/0k (100%)
echo "/dev/mtd1 0x00000 0x10000 0x10000" > /etc/fw_env.config
/tmp/sdc1/usr/bin/fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx' /tmp/sdc1/usr/bin/fw_setenv eth1addr 'xx:xx:xx:xx:xx:xx' /tmp/sdc1/usr/bin/fw_setenv arcNumber 3550 /tmp/sdc1/usr/bin/fw_setenv devices 'usb ide' /tmp/sdc1/usr/bin/fw_setenv dtb_file '/boot/dts/kirkwood-dreamplug.dtb' /tmp/sdc1/usr/bin/fw_setenv mtdparts 'mtdparts=spi0.0:0x80000@0(u-boot),0x10000@0xC0000(u-boot-env),0x10000@0x100000(u-boot-env-stock),0x10000@0x180000(dtb-stock)'
/tmp/sdc1/usr/bin/fw_setenv preboot_nc 'setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi' /tmp/sdc1/usr/bin/fw_setenv ipaddr 'xxx.xxx.x.xxx' /tmp/sdc1/usr/bin/fw_setenv serverip 'xxx.xxx.x.xxx'
/tmp/sdc1/usr/bin/fw_setenv mtdids /tmp/sdc1/usr/bin/fw_setenv partition /tmp/sdc1/usr/bin/fw_setenv machid
U-Boot 2017.07-tld-1 (Sep 05 2017 - 01:06:05 -0700) Marvell-DreamPlug
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 November 17, 2017 04:45PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 December 08, 2017 05:16AM |
Registered: 9 years ago Posts: 454 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 December 08, 2017 03:50PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 December 08, 2017 07:40PM |
Registered: 9 years ago Posts: 454 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 03, 2018 09:49AM |
Registered: 7 years ago Posts: 373 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 03, 2018 02:43PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 03, 2018 03:12PM |
Registered: 7 years ago Posts: 373 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 12, 2018 09:39PM |
Registered: 7 years ago Posts: 373 |
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: Marvell GuruPlug Reference Board [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] free_area_init_node: node 0, pgdat c0654cf4, node_mem_map c06b7000 [ 0.000000] Normal zone: 1024 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 131072 pages, LIFO batch:31 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda2 rootdelay=10 [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 512MB = 512MB total [ 0.000000] Memory: 507532k/507532k available, 16756k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc05d5fd8 (5944 kB) [ 0.000000] .init : 0xc05d6000 - 0xc06126b4 ( 242 kB) [ 0.000000] .data : 0xc0614000 - 0xc0659338 ( 277 kB) [ 0.000000] .bss : 0xc0659338 - 0xc06b6d48 ( 375 kB) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:114 [ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms [ 0.000000] Console: colour dummy device 80x30 [ 6.947950] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584) [ 7.037838] pid_max: default: 32768 minimum: 301 [ 7.037975] Mount-cache hash table entries: 512 [ 7.038488] Initializing cgroup subsys devices [ 7.038503] Initializing cgroup subsys freezer [ 7.038513] Initializing cgroup subsys blkio [ 7.038582] CPU: Testing write buffer coherency: ok [ 7.038844] Setting up static identity map for 0xc045a870 - 0xc045a8ac [ 7.039719] devtmpfs: initialized [ 7.041879] pinctrl core: initialized pinctrl subsystem [ 7.042095] NET: Registered protocol family 16 [ 7.042461] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 7.044127] Kirkwood: MV88F6281-A1, TCLK=200000000. [ 7.044153] Feroceon L2: Cache support initialised. [ 7.045225] initial MPP regs: 01112222 11113311 33331111 33333333 00003333 00000222 00000000 [ 7.045255] final MPP regs: 01112222 11113311 33331111 33333333 00003333 00000222 00000000 [ 7.069502] bio: create slab <bio-0> at 0 [ 7.070507] vgaarb: loaded [ 7.071152] SCSI subsystem initialized [ 7.071667] libata version 3.00 loaded. [ 7.072484] usbcore: registered new interface driver usbfs [ 7.072665] usbcore: registered new interface driver hub [ 7.072881] usbcore: registered new device driver usb [ 7.075007] Switching to clocksource orion_clocksource [ 7.088972] FS-Cache: Loaded [ 7.106702] NET: Registered protocol family 2 [ 7.107216] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 7.107316] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 7.107369] TCP: Hash tables configured (established 4096 bind 4096) [ 7.107431] TCP: reno registered [ 7.107445] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 7.107468] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 7.107658] NET: Registered protocol family 1 [ 7.107985] RPC: Registered named UNIX socket transport module. [ 7.107996] RPC: Registered udp transport module. [ 7.108003] RPC: Registered tcp transport module. [ 7.108010] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 7.108022] PCI: CLS 0 bytes, default 32 [ 7.108220] Trying to unpack rootfs image as initramfs... [ 7.493490] Freeing initrd memory: 5332K (c6709000 - c6c3e000) [ 7.493857] orion_gpio_is_valid: invalid GPIO 14 [ 7.493890] gpio_btn: successfully initialized! [ 7.604076] FS-Cache: Netfs 'nfs' registered for caching [ 7.605455] NFS: Registering the id_resolver key type [ 7.605507] Key type id_resolver registered [ 7.605517] Key type id_legacy registered [ 7.606379] JFS: nTxBlock = 4006, nTxLock = 32054 [ 7.608048] msgmni has been set to 1001 [ 7.609977] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 7.609992] io scheduler noop registered [ 7.610000] io scheduler deadline registered [ 7.610575] io scheduler cfq registered (default) [ 7.610834] mv_xor mv_xor.0: Marvell shared XOR driver [ 7.645128] mv_xor mv_xor.0: Marvell XOR: ( xor cpy ) [ 7.685116] mv_xor mv_xor.0: Marvell XOR: ( xor fill cpy ) [ 7.685338] mv_xor mv_xor.1: Marvell shared XOR driver [ 7.725105] mv_xor mv_xor.1: Marvell XOR: ( xor cpy ) [ 7.765105] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy ) [ 7.772552] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 7.794052] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A [ 8.243681] console [ttyS0] enabled [ 8.257315] brd: module loaded [ 8.265561] loop: module loaded [ 8.284778] libphy: orion_mdio_bus: probed [ 8.289194] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 8.295824] ehci-pci: EHCI PCI platform driver [ 8.300439] ehci-orion: EHCI orion driver [ 8.304539] orion-ehci orion-ehci.0: EHCI Host Controller [ 8.310063] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1 [ 8.317925] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000 [ 8.335053] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00 [ 8.341757] hub 1-0:1.0: USB hub found [ 8.345621] hub 1-0:1.0: 1 port detected [ 8.350080] usbcore: registered new interface driver usb-storage [ 8.356337] usbcore: registered new interface driver ums-cypress [ 8.362554] usbcore: registered new interface driver ums-datafab [ 8.368765] usbcore: registered new interface driver ums-freecom [ 8.374978] usbcore: registered new interface driver ums-jumpshot [ 8.381272] usbcore: registered new interface driver ums-sddr09 [ 8.387402] usbcore: registered new interface driver ums-sddr55 [ 8.393837] mousedev: PS/2 mouse device common for all mice [ 8.400022] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0 [ 8.406258] i2c /dev entries driver [ 8.410080] cpuidle: using governor ladder [ 8.414196] cpuidle: using governor menu [ 8.418789] sdhci: Secure Digital Host Controller Interface driver [ 8.424998] sdhci: Copyright(c) Pierre Ossman [ 8.429506] mvsdio mvsdio: no pins associated [ 8.490405] mmc0: new high speed SDIO card at address 0001 [ 8.496783] mvsdio mvsdio: lacking card detect (fall back to polling) [ 8.503433] sdhci-pltfm: SDHCI platform and OF driver helper [ 8.509231] leds-gpio leds-gpio: pins are not configured from the driver [ 8.522483] usbcore: registered new interface driver usbhid [ 8.528463] usbhid: USB HID core driver [ 8.532968] zram: Created 1 device(s) ... [ 8.537445] TCP: cubic registered [ 8.542182] NET: Registered protocol family 10 [ 8.547746] NET: Registered protocol family 17 [ 8.552562] Key type dns_resolver registered [ 8.557734] registered taskstats version 1 [ 8.562222] rtc-mv rtc-mv: setting system clock to 2018-02-13 02:36:43 UTC (1518489403) [ 8.571790] Freeing unused kernel memory: 240K (c05d6000 - c0612000) [ 8.665224] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 8.815449] udevd (692): /proc/692/oom_adj is deprecated, please use /proc/692/oom_score_adj instead. [ 8.826192] hub 1-1:1.0: USB hub found [ 8.835116] hub 1-1:1.0: 4 ports detected [ 8.992497] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4-ani-7.9.0.11365 [ 9.077022] netif_napi_add() called with weight 512 on device eth%d [ 9.083966] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address f0:ad:4e:02:b4:80 [ 9.125463] usb 1-1.1: new high-speed USB device number 3 using orion-ehci [ 9.167823] sata_mv sata_mv.0: version 1.28 [ 9.167882] sata_mv sata_mv.0: cannot get optional clkdev [ 9.173388] sata_mv sata_mv.0: slots 32 ports 1 [ 9.213179] scsi0 : sata_mv [ 9.246327] hub 1-1.1:1.0: USB hub found [ 9.252246] hub 1-1.1:1.0: 4 ports detected [ 9.275373] ata1: SATA max UDMA/133 irq 21 [ 9.362920] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address f0:ad:4e:02:b4:81 [ 9.535459] usb 1-1.1.1: new high-speed USB device number 4 using orion-ehci [ 9.660487] usb-storage 1-1.1.1:1.0: USB Mass Storage device detected [ 9.675217] usb-storage 1-1.1.1:1.0: Quirks match for vid 05e3 pid 0723: 8000 [ 9.687130] scsi1 : usb-storage 1-1.1.1:1.0 [ 9.705216] ata1: SATA link down (SStatus 0 SControl F300) [ 10.686664] scsi 1:0:0:0: Direct-Access Generic STORAGE DEVICE 9451 PQ: 0 ANSI: 0 [ 10.700185] sd 1:0:0:0: Attached scsi generic sg0 type 0 [ 10.862979] sd 1:0:0:0: [sda] 7744512 512-byte logical blocks: (3.96 GB/3.69 GiB) [ 10.871594] sd 1:0:0:0: [sda] Write Protect is off [ 10.876437] sd 1:0:0:0: [sda] Mode Sense: 03 00 00 00 [ 10.877467] sd 1:0:0:0: [sda] No Caching mode page found [ 10.882816] sd 1:0:0:0: [sda] Assuming drive cache: write through [ 10.896718] sd 1:0:0:0: [sda] No Caching mode page found [ 10.902073] sd 1:0:0:0: [sda] Assuming drive cache: write through [ 10.918510] sda: sda1 sda2 [ 10.934617] sd 1:0:0:0: [sda] No Caching mode page found [ 10.943682] sd 1:0:0:0: [sda] Assuming drive cache: write through [ 10.955091] sd 1:0:0:0: [sda] Attached SCSI removable disk [ 25.986782] kjournald starting. Commit interval 5 seconds [ 25.992852] EXT3-fs (sda2): using internal journal [ 25.997713] EXT3-fs (sda2): mounted filesystem with writeback data mode [ 26.707338] EXT3-fs (sda2): mounted filesystem with writeback data mode [ 26.716011] kjournald starting. Commit interval 5 seconds [ 33.295396] udev: starting version 141 [ 33.668963] orion_wdt: Initial timeout 21 sec [ 33.907265] mlan: module license 'Marvell Proprietary' taints kernel. [ 33.913774] Disabling lock debugging due to kernel taint [ 33.949492] mirror: registering eth0: created /dev/mirror0 queue size=4194304 read only=1 exclusive=1 [ 33.974263] device eth0 entered promiscuous mode [ 33.981449] mv643xx_eth_port mv643xx_eth_port.0 eth0: Connected eth0 to mirror pipe /dev/mirror0 [ 34.006753] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down [ 34.018581] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 34.407177] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ 35.741869] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled [ 35.751759] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 37.466919] WLAN FW is active [ 38.003833] 8021q: 802.1Q VLAN Support v1.8-ani [ 38.045240] fb0: Virtual frame buffer device, using 1024K of video memory [ 38.359767] EXT3-fs (sda2): using internal journal [ 441.648251] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down [ 443.165134] device eth0 left promiscuous mode [ 443.465166] mv643xx_eth_port mv643xx_eth_port.1 eth1: link up, 100 Mb/s, full duplex, flow control disabled [ 443.465227] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 449.237047] ip_tables: (C) 2000-2006 Netfilter Core Team [ 450.273546] mirror: registering eth0: created /dev/mirror0 queue size=4194304 read only=1 exclusive=1 [ 450.273563] device eth0 entered promiscuous mode [ 450.273581] mv643xx_eth_port mv643xx_eth_port.0 eth0: Connected eth0 to mirror pipe /dev/mirror0 [ 450.282706] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 13, 2018 02:13PM |
Registered: 7 years ago Posts: 373 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 13, 2018 04:58PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 13, 2018 10:22PM |
Admin Registered: 13 years ago Posts: 18,898 |
cat /proc/mtd
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 14, 2018 04:09AM |
Admin Registered: 13 years ago Posts: 18,898 |
Quote
Anybody who has stock OS running on Dreamplug?
Please do
cat /proc/mtd
And post output here.
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 17, 2018 02:28AM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 18, 2018 09:53PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 19, 2018 01:08PM |
Admin Registered: 13 years ago Posts: 18,898 |
setenv reset_console 'setenv stdin serial; setenv stdout serial; setenv stderr serial' setenv bootcmd_exec 'run load_uimage; if run load_initrd; then if run load_dtb; then run reset_console; bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else run reset_console; bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then run reset_console; bootm $load_uimage_addr - $load_dtb_addr; else run reset_console; bootm $load_uimage_addr; fi; fi' boot
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 19, 2018 09:20PM |
Registered: 7 years ago Posts: 373 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 19, 2018 09:43PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 20, 2018 07:04AM |
Registered: 7 years ago Posts: 373 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 20, 2018 03:24PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 23, 2018 10:08AM |
Registered: 7 years ago Posts: 373 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 24, 2018 04:33PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 24, 2018 07:37PM |
Registered: 7 years ago Posts: 373 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 24, 2018 10:01PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 25, 2018 01:03AM |
Registered: 7 years ago Posts: 373 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 25, 2018 01:15AM |
Registered: 9 years ago Posts: 454 |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 February 26, 2018 02:39AM |
Admin Registered: 13 years ago Posts: 18,898 |
Sniffer
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 December 17, 2023 01:08PM |
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 December 17, 2023 01:25PM |
Registered: 7 years ago Posts: 373 |
Sniffer
Re: Marvell Dreamplug U-Boot-2017.07-tld-1 December 17, 2023 01:35PM |