Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 11, 2015 02:29AM |
Registered: 9 years ago Posts: 64 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 11, 2015 07:16AM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
> Is there any way to boot via usb or tftp? Is it
> possible theoretically?
Quote
ls -la /media/b/rootfs/boot/ -----------This is the HDD mounted on PC
összesen 12316
drwxr-xr-x 3 root root 4096 febr 10 19:36 .
drwxr-xr-x 22 root root 4096 febr 10 15:22 ..
drwxr-xr-x 2 root root 4096 aug 3 2014 dts
-rw-r--r-- 1 root root 7033 máj 11 2014 ox820-pogoplug-pro.dtb
-rwxr-xr-x 1 root root 16384 jan 1 1970 u-boot.env
-rw-r--r-- 1 root root 525880 aug 3 2014 u-boot.img
-rwxr-xr-x 1 root root 32120 aug 3 2014 u-boot-spl.bin
-rw-r--r-- 1 root root 3676848 aug 3 2014 uImage
-rw-r--r-- 1 root root 2212156 aug 3 2014 uImage_2.6.31.14_OX820_1.2_shv.Pro
-rw-r--r-- 1 root root 2103272 aug 3 2014 uInitrd
-rwxr-xr-x 1 root root 4010416 aug 23 03:22 zImage-3.16.0-oxnas-tld-1
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 11, 2015 10:25AM |
Registered: 9 years ago Posts: 64 |
U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34) Boot device: SATA Attempting to set PLLA to 850 MHz ... plla_ctrl0 : 0000020a plla_ctrl1 : 00330000 plla_ctrl2 : 0065008b plla_ctrl3 : 000000f1 PLLA Set Bus 0: OK Device 0: ** File not found /boot/bootargs.bin ** U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS DRAM: 128 MiB IDE: Bus 0: OK Device 0: Model: ST940210AS Firm: 3.ALC Ser#: 5QX21TEE Type: Hard Disk Supports 48-bit addressing Capacity: 38154.3 MB = 37.2 GB (78140160 x 512) NAND: 128 MiB In: serial Out: serial Err: serial Net: Led: GREEN mii0 Main Loop Hit any key to stop autoboot: 0 OX820 # tftpboot 0x64000000 uboot.2013.10-tld-2.ox820.bin Waiting for PHY auto negotiation to complete.. done ENET Speed is 1000 Mbps - FULL duplex connection Using mii0 device TFTP from server 192.168.178.33; our IP address is 192.168.178.40 Filename 'uboot.2013.10-tld-2.ox820.bin'. Load address: 0x64000000 Loading: T ################################################################# #################################### 79.1 KiB/s done Bytes transferred = 514568 (7da08 hex) OX820 # go 0x64000000 ## Starting application at 0x64000000 ... U-Boot 2013.10-tld-2-ga72eb8f-dirty (May 04 2014 - 14:20:05) for OXNAS DRAM: 128 MiB NAND: 128 MiB In: serial Out: serial Err: serial Net: Led: GREEN mii0 Main Loop Hit any key to stop autoboot: 0 (Re)start 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 4102704 bytes read in 498 ms (7.9 MiB/s) 1953812 bytes read in 351 ms (5.3 MiB/s) 7033 bytes read in 226 ms (30.3 KiB/s) ## Booting kernel from Legacy Image at 60500000 ... Image Name: Linux-3.17.0-oxnas-tld-1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4102640 Bytes = 3.9 MiB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 60e00000 ... Image Name: initramfs-3.17.0-oxnas-tld-1 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 1953748 Bytes = 1.9 MiB Load Address: 60000000 Entry Point: 60000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 62c00000 Booting using the fdt blob at 0x62c00000 Loading Kernel Image ... OK Loading Ramdisk to 67c4d000, end 67e29fd4 ... OK Loading Device Tree to 67c48000, end 67c4cb78 ... OK Led: GREEN Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.17.0-oxnas-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP PREEMPT Sat Oct 25 15:59:43 PDT 2014 [ 0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: Pogoplug Pro [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map [ 0.000000] Start Ox820 platform [ 0.000000] PERCPU: Embedded 7 pages/cpu @c7ee3000 s6592 r8192 d13888 u32768 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Memory: 119844K/131072K available (5686K kernel code, 286K rwdata, 1680K rodata, 174K init, 233K bss, 11228K reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB) [ 0.000000] vmalloc : 0xc8800000 - 0xff000000 ( 872 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc0739db0 (7368 kB) [ 0.000000] .init : 0xc073a000 - 0xc07659c0 ( 175 kB) [ 0.000000] .data : 0xc0766000 - 0xc07adb00 ( 287 kB) [ 0.000000] .bss : 0xc07adb00 - 0xc07e809c ( 234 kB) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:160 [ 0.000015] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 42949670400ns [ 0.000181] Console: colour dummy device 80x30 [ 0.000209] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744) [ 0.050042] pid_max: default: 32768 minimum: 301 [ 0.050199] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.050219] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.051038] Initializing cgroup subsys net_cls [ 0.051100] CPU: Testing write buffer coherency: ok [ 0.051486] Setting up static identity map for 0x60567fa0 - 0x60567fd8 [ 0.110446] CPU1: Booted secondary processor [ 0.170140] Brought up 2 CPUs [ 0.170165] SMP: Total of 2 processors activated. [ 0.171092] devtmpfs: initialized [ 0.175060] prandom: seed boundary self test passed [ 0.178977] prandom: 100 self tests passed [ 0.179000] pinctrl core: initialized pinctrl subsystem [ 0.181788] NET: Registered protocol family 16 [ 0.182305] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.186421] gpio-oxnas 44000000.gpio: at address c8846000 [ 0.186693] gpio-oxnas 44100000.gpio: at address c8848000 [ 0.187251] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver [ 0.198405] vgaarb: loaded [ 0.198912] SCSI subsystem initialized [ 0.199777] usbcore: registered new interface driver usbfs [ 0.199884] usbcore: registered new interface driver hub [ 0.200135] usbcore: registered new device driver usb [ 0.200273] pps_core: LinuxPPS API ver. 1 registered [ 0.200289] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.200337] PTP clock support registered [ 0.201820] cfg80211: Calling CRDA to update world regulatory domain [ 0.202286] Switched to clocksource rps_clocksource_timer [ 0.215956] NET: Registered protocol family 2 [ 0.217082] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.217126] TCP bind hash table entries: 1024 (order: 1, 8192 bytes) [ 0.217159] TCP: Hash tables configured (established 1024 bind 1024) [ 0.217244] TCP: reno registered [ 0.217267] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.217308] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.217620] NET: Registered protocol family 1 [ 0.218106] RPC: Registered named UNIX socket transport module. [ 0.218127] RPC: Registered udp transport module. [ 0.218140] RPC: Registered tcp transport module. [ 0.218150] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.218503] Unpacking initramfs... [ 0.418465] Freeing initrd memory: 1904K (c7c4d000 - c7e29000) [ 0.419545] futex hash table entries: 512 (order: 2, 16384 bytes) [ 0.438397] NFS: Registering the id_resolver key type [ 0.438466] Key type id_resolver registered [ 0.438481] Key type id_legacy registered [ 0.438520] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.438540] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.439365] fuse init (API version 7.23) [ 0.440668] msgmni has been set to 237 [ 0.441154] Key type big_key registered [ 0.444884] alg: No test for stdrng (krng) [ 0.518494] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.518528] io scheduler noop registered [ 0.518548] io scheduler deadline registered [ 0.518894] io scheduler cfq registered (default) [ 0.519493] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.520814] console [ttyS0] disabled [ 0.520936] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A [ 1.018657] console [ttyS0] enabled [ 1.023910] scsi host0: sata_oxnas [ 1.027904] ata1: SATA max UDMA/133 irq 50 [ 1.032322] ox820sata: reseting SATA core [ 1.041666] nand: Could not find valid ONFI parameter page; aborting [ 1.048030] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1 [ 1.054382] nand: Hynix NAND 128MiB 3,3V 8-bit [ 1.058805] nand: 128MiB, SLC, page size: 2048, OOB size: 64 [ 1.064463] Scanning device for bad blocks [ 1.150269] 2 ofpart partitions found on MTD device 41000000.nand [ 1.156352] Creating 2 MTD partitions on "41000000.nand": [ 1.161743] 0x000000000000-0x000000e00000 : "boot" [ 1.167900] 0x000000e00000-0x000008000000 : "data" [ 1.174594] stmmaceth 40400000.ethernet: no reset control found [ 1.180528] stmmac - user ID: 0x12, Synopsys ID: 0x35 [ 1.185548] Ring mode enabled [ 1.188582] DMA HW capability register supported [ 1.193100] Enhanced/Alternate descriptors [ 1.197429] Enabled extended descriptors [ 1.201428] RX Checksum Offload Engine supported (type 2) [ 1.206881] TX Checksum insertion supported [ 1.211136] Wake-Up On Lan supported [ 1.214778] Enable RX Mitigation via HW Watchdog Timer [ 1.241195] libphy: stmmac: probed [ 1.244595] eth0: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active [ 1.250938] eth0: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03) [ 1.256785] PPP generic driver version 2.4.2 [ 1.261562] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.268072] ehci-pci: EHCI PCI platform driver [ 1.273093] oxnas-ehci 40200100.ehci: EHCI Host Controller [ 1.278589] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1 [ 1.286382] oxnas-ehci 40200100.ehci: irq 39, io mem 0x40200100 [ 1.310545] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00 [ 1.316797] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.323581] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.330787] usb usb1: Product: EHCI Host Controller [ 1.335644] usb usb1: Manufacturer: Linux 3.17.0-oxnas-tld-1 ehci_hcd [ 1.342069] usb usb1: SerialNumber: 40200100.ehci [ 1.347578] hub 1-0:1.0: USB hub found [ 1.351424] hub 1-0:1.0: 2 ports detected [ 1.356070] usbcore: registered new interface driver cdc_acm [ 1.361738] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 1.369797] usbcore: registered new interface driver cdc_wdm [ 1.375651] usbcore: registered new interface driver usb-storage [ 1.381908] usbcore: registered new interface driver usbserial [ 1.387781] usbcore: registered new interface driver usbserial_generic [ 1.394393] usbserial: USB Serial support registered for generic [ 1.400704] mousedev: PS/2 mouse device common for all mice [ 1.406264] i2c /dev entries driver [ 1.410836] usbcore: registered new interface driver usbhid [ 1.416384] usbhid: USB HID core driver [ 1.420569] TCP: cubic registered [ 1.424998] NET: Registered protocol family 10 [ 1.430784] sit: IPv6 over IPv4 tunneling driver [ 1.436372] NET: Registered protocol family 17 [ 1.441098] Key type dns_resolver registered [ 1.560020] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) [ 1.568353] ata1.00: ATA-7: ST940210AS, 3.ALC, max UDMA/100 [ 1.573936] ata1.00: 78140160 sectors, multi 0: LBA48 NCQ (depth 0/32) [ 1.585013] ata1.00: configured for UDMA/100 [ 1.600450] scsi 0:0:0:0: Direct-Access ATA ST940210AS C PQ: 0 ANSI: 5 [ 1.609704] sd 0:0:0:0: [sda] 78140160 512-byte logical blocks: (40.0 GB/37.2 GiB) [ 1.618137] sd 0:0:0:0: [sda] Write Protect is off [ 1.623157] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 1.670589] usb 1-1: new high-speed USB device number 2 using oxnas-ehci [ 1.804971] sda: sda1 sda2 sda3 [ 1.810398] sd 0:0:0:0: [sda] Attached SCSI disk [ 1.815275] Freeing unused kernel memory: 172K (c073a000 - c0765000) [ 1.821969] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 [ 1.828648] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 1.840599] usb 1-1: Product: USB2.0 Hub Loading, please [ 1.845744] hub 1-1:1.0: USB hub found wait... [ 1.850183] hub 1-1:1.0: 4 ports detected [ 1.969438] udevd[68]: starting version 175 [ 2.130908] usb 1-1.4: new high-speed USB device number 3 using oxnas-ehci [ 2.263872] usb 1-1.4: New USB device found, idVendor=058f, idProduct=6387 [ 2.275553] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.298001] usb 1-1.4: Product: Mass Storage [ 2.302451] usb 1-1.4: Manufacturer: Generic [ 2.306716] usb 1-1.4: SerialNumber: 0ED6D477 [ 2.318965] usb-storage 1-1.4:1.0: USB Mass Storage device detected [ 2.351685] scsi host1: usb-storage 1-1.4:1.0 [ 2.458508] usbcore: registered new interface driver uas [ 3.362298] scsi 1:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 2 [ 3.376430] sd 1:0:0:0: [sdb] 15794176 512-byte logical blocks: (8.08 GB/7.53 GiB) [ 3.384778] sd 1:0:0:0: [sdb] Write Protect is off [ 3.391173] sd 1:0:0:0: [sdb] No Caching mode page found [ 3.396477] sd 1:0:0:0: [sdb] Assuming drive cache: write through [ 3.412917] sdb: sdb1 sdb2 [ 3.423534] sd 1:0:0:0: [sdb] Attached SCSI removable disk Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. [ 13.095697] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... done. INIT: version 2.88 booting [info] Using makefile-style concurrent boot in runlevel S. [....] Starting the hotplug events dispatcher: udevd[ 15.322741] udevd[265]: starting version 175 . ok [ ok ] Synthesizing the initial hotplug events...done. [....] Waiting for /dev to be fully populated...[ 16.067015] random: nonblocking pool is initialized done. [ ok ] Activating swap...done. [ 17.733242] EXT4-fs (sda1): re-mounted. Opts: (null) [....] Checking root file system...fsck from util-linux 2.20.1 rootfs: clean, 13125/131072 files, 95851/524288 blocks done. [ 18.068764] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [ ok ] Loading kernel modules...done. [ ok ] Cleaning up temporary files... /tmp /lib/init/rw. [ ok ] Activating lvm and md swap...done. [....] Checking file systems...fsck from util-linux 2.20.1 done. [ ok ] Mounting local filesystems...done. [ ok ] Activating swapfile swap...done. [ ok ] Cleaning up temporary files.... [ ok ] Setting kernel variables ...done. [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.2.2 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/00:25:31:02:9a:90 Sending on LPF/eth0/00:25:31:02:9a:90 Sending on Socket/fallback DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPREQUEST on eth0 to 255.255.255.255 port 67 [ 30.160176] stmmaceth 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPOFFER from 192.168.178.1 DHCPACK from 192.168.178.1 bound to 192.168.178.39 -- renewal in 378001 seconds. done. [ ok ] Starting rpcbind daemon.... [ ok ] Starting NFS common utilities: statd idmapd. [ ok ] Cleaning up temporary files.... INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [ ok ] Starting NTP server: ntpd. [ ok ] Starting rpcbind daemon...[....] Already running.. [....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd... 1811 (syslogd) . ok [ ok ] Starting system message bus: dbus. [ ok ] Starting NFS common utilities: statd idmapd. [....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd... [warn] Not starting NFS kernel daemon: no exports. ... (warning). [ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. [ ok ] Starting OpenBSD Secure Shell server: sshd. 1806 (klogd) . ok Debian GNU/Linux 7 debian ttyS0 debian login: root Password: Last login: Tue Apr 15 17:03:23 PDT 2014 from 192.168.0.100 on pts/0 Linux debian 3.17.0-oxnas-tld-1 #1 SMP PREEMPT Sat Oct 25 15:59:43 PDT 2014 armv6l 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 the extent permitted by applicable law. root@debian:~#
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 11, 2015 11:03AM |
Registered: 11 years ago Posts: 214 |
setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
mv boot boot.bak tar ...
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 11, 2015 11:21AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 11, 2015 01:35PM |
Registered: 9 years ago Posts: 64 |
OX820 # reset resetting ... U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34) Boot device: SATA Attempting to set PLLA to 850 MHz ... plla_ctrl0 : 0000020a plla_ctrl1 : 00330000 plla_ctrl2 : 0065008b plla_ctrl3 : 000000f1 PLLA Set Bus 0: OK Device 0: ** File not found /boot/bootargs.bin ** U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS DRAM: 128 MiB IDE: Bus 0: OK Device 0: Model: ST940210AS Firm: 3.ALC Ser#: 5QX21TEE Type: Hard Disk Supports 48-bit addressing Capacity: 38154.3 MB = 37.2 GB (78140160 x 512) NAND: 128 MiB In: serial Out: serial Err: serial Net: Led: GREEN mii0 Main Loop Hit any key to stop autoboot: 0 ide - IDE sub-system Usage: ide reset - reset IDE controller ide info - show available IDE devices ide device [dev] - show or set current device ide part [dev] - print partition table of one or all IDE devices ide read addr blk# cnt ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#' to/from memory address `addr' 4102704 bytes read in 636 ms (6.2 MiB/s) 1953812 bytes read in 315 ms (5.9 MiB/s) 7029 bytes read in 46 ms (148.4 KiB/s) ## Booting kernel from Legacy Image at 60500000 ... Image Name: Linux-3.17.0-oxnas-tld-1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4102640 Bytes = 3.9 MiB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 60e00000 ... Image Name: initramfs-3.17.0-oxnas-tld-1 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 1953748 Bytes = 1.9 MiB Load Address: 60000000 Entry Point: 60000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 62c00000 Booting using the fdt blob at 0x62c00000 Loading Kernel Image ... OK Loading Ramdisk to 67c4b000, end 67e27fd4 ... OK Loading Device Tree to 67c46000, end 67c4ab74 ... OK Led: GREEN Starting kernel ... Uncompressing Linux... done, booting the kernel.
OX820 # printenv autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootcmd=run dt_bootcmd_ide bootdelay=3 console=console=ttyS0,115200n8 dt_bootcmd_ide=ide start; run dt_ide_bootcmd; ide stop; reset dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_ide_boot=run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm dt_ide_bootcmd=run ide_set_bootargs; run dt_ide_boot dt_ide_load_dtb=ext2load ide 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_ide_load_initrd=ext2load ide 0:1 $uinitrd_addr /boot/uInitrd dt_ide_load_uimage=ext2load ide 0:1 $uimage_addr /boot/uImage dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_sata_boot=ext2load ide 0:1 $uimage_addr /boot/uImage_2.6.31.14_OX820_1.2_shv.Pro; bootm $uimage_addr dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dtb_addr=0x62c00000 ethact=mii0 ethaddr=00:25:31:02:9A:90 ide_set_bootargs=setenv bootargs root=/dev/sda1 rootfstype=ext4 console=ttyS0,115200 mem=128M if_netconsole=ping $serverip ipaddr=192.168.178.40 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) preboot_nc=run if_netconsole start_netconsole sata_bootcmd=run usb_set_bootargs; run sata_boot serverip=192.168.178.33 start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version stderr=serial stdin=serial stdout=serial uimage_addr=0x60500000 uinitrd_addr=0x60e00000 usb_device=0:1 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 Environment size: 1869/16380 bytes
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 11, 2015 02:02PM |
Admin Registered: 13 years ago Posts: 18,821 |
Starting kernel ... Uncompressing Linux... done, booting the kernel.
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 11, 2015 02:35PM |
Registered: 9 years ago Posts: 64 |
/media/b/rootfs/boot big2 boot # ls -la összesen 18004 drwxr-xr-x 3 root root 4096 febr 11 20:06 . drwxr-xr-x 23 root root 4096 febr 11 20:08 .. -rw-r--r-- 1 root root 98866 okt 26 01:08 config-3.17.0-oxnas-tld-1 drwxr-xr-x 2 root root 4096 nov 1 08:05 dts -rw-r--r-- 1 root root 1953748 nov 1 08:05 initrd.img-3.17.0-oxnas-tld-1 -rw-r--r-- 1 root root 1519590 okt 26 01:08 System.map-3.17.0-oxnas-tld-1 -rwxr-xr-x 1 root root 16384 jan 1 1970 u-boot.env -rw-r--r-- 1 root root 525880 aug 3 2014 u-boot.img -rwxr-xr-x 1 root root 32120 aug 3 2014 u-boot-spl.bin -rw-r--r-- 1 root root 4102704 nov 1 08:16 uImage -rw-r--r-- 1 root root 1953812 nov 1 08:18 uInitrd -rwxr-xr-x 1 root root 4102640 okt 26 01:08 vmlinuz-3.17.0-oxnas-tld-1 -rwxr-xr-x 1 root root 4102640 okt 26 01:00 zImage-3.17.0-oxnas-tld-1
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 11, 2015 02:46PM |
Registered: 11 years ago Posts: 214 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 12, 2015 01:15AM |
Registered: 9 years ago Posts: 64 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 12, 2015 01:34AM |
Registered: 9 years ago Posts: 12 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 12, 2015 02:48AM |
Registered: 9 years ago Posts: 64 |
root@debian:~# fw_printenv Warning: Bad CRC, using default environment bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm bootdelay=5 baudrate=115200 root@debian:~#
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 12, 2015 04:29AM |
Registered: 9 years ago Posts: 64 |
fdisk /dev/sdb o - create a new empty DOS partition table n - Create part 1 (start with 2048 ; size: +2G ) w - write q - exit
mkfs.ext4 /dev/sdb1
tune2fs -L "rootfs" /dev/sdb1
mount /dev/sdb1 /media/rootfs
cd /yourpath tar -xjf ox820-sata-uboot.tar.gz
mv ox820-pogoplug-pro.dtb ox820-pogoplug-pro.dtb.ori cp ox820-pogoplug-classic.dtb ox820-pogoplug-pro.dtb
umount rootfs
./disk_create_shv
mount /dev/sdb1 /media/rootfs
tar -xjf Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2
picocom -b 115200 /dev/ttyUSB0
Hit any key to stop autoboot: 3
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot' OX820 # setenv ide_set_bootargs setenv bootargs 'root=/dev/sda1 rootfstype=ext4 console=ttyS0,115200 mem=128M' OX820 # saveenv OX820 # reset
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 12, 2015 12:41PM |
Registered: 11 years ago Posts: 214 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 14, 2015 02:45AM |
Registered: 9 years ago Posts: 64 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 14, 2015 03:21AM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
It will write UBOOT to Sata disk on the beginning (in the first 2048 sector) on the disk (not on rootfs.) (??)
Quote
It will write U-Boot SPL to Sata disk on the beginning (in the first 2048 sector) on the disk.
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 14, 2015 04:23PM |
Registered: 9 years ago Posts: 64 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 15, 2015 10:41PM |
Registered: 10 years ago Posts: 3 |
U-Boot SPL 2013.10 (Apr 27 2014 - 19:08:27) Boot device: NAND Attempting to set PLLA to 800 MHz ... plla_ctrl0 : 0000030a plla_ctrl1 : 00400000 plla_ctrl2 : 007f0068 plla_ctrl3 : 00000193 PLLA Set U-Boot 2013.10-tld-3 (May 15 2014 - 14:54:14) for OXNAS DRAM: 128 MiB NAND: 128 MiB In: serial Out: serial Err: serial Net: Led:.GREEN mii0 Main Loop Hit any key to stop autoboot: 5 ... 4 ... 3 ... 2 ... 1 ... 0 ## Error: "ideboot" not defined OX820 #
autoload=no baudrate=115200 bootargs=root=/dev/sda1 rootfstype=ext4 console=ttyS0,115200 mem=128M bootcmd=run ideboot bootdelay=5 console=console=ttyS0,115200n8 ethact=mii0 ethaddr=00:25:31:01:66:5F ide_set_bootargs=root=/dev/sda1 rootfstype=ext4 console=ttyS0,115200 mem=128M ipaddr=192.168.0.13 keypressed=1 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) netcon=echo switch to net console;setenv stderr nc;setenv stdin nc;setenv stdout nc;echo switch to net console safeboot=setexpr.b keypressed '*44200005' '&' 1;if test $keypressed = 0;then run netcon;fi serialcon=echo switch to serial console;setenv stderr serial;setenv stdin serial;setenv stdout serial;echo switch to serial console serverip=192.168.0.20 stderr=serial stdin=serial stdout=serial
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 15, 2015 11:04PM |
Registered: 9 years ago Posts: 429 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 15, 2015 11:50PM |
Admin Registered: 13 years ago Posts: 18,821 |
10. Flash uboot environment to 0x00100000 (See caveat in step 2, do not flash this if the kernel is not FDT)
12. For sanity check, print out uBoot envs to see if they were flashed OK. If there is error in listing the envs, do not reboot and post your problem here.
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 18, 2015 05:59PM |
Registered: 10 years ago Posts: 3 |
autoload=no baudrate=115200 boot_nand=run load_nand boot || run load_nand2 boot bootargs=console=ttyS0,115200n8 bootcmd=run dt_bootcmd_usb bootdelay=5 console=console=ttyS0,115200n8 dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb dt_load_image=ext2load usb 0:1 $uimage_addr /boot/uImage dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dtb_addr=0x62c00000 ethact=mii0 ethaddr=00:25:31:xx:xx:xx ipaddr=192.168.0.4 keypressed=1 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) netmask=255.255.0.0 serverip=192.168.0.20 stderr=serial stdin=serial stdout=serial uimage_addr=0x60500000 uinitrd_addr=0x60e00000 usb_device=0:1 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) February 18, 2015 08:27PM |
Registered: 9 years ago Posts: 429 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) March 05, 2015 01:08AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) March 05, 2015 04:57PM |
Registered: 9 years ago Posts: 429 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) March 05, 2015 06:03PM |
Registered: 9 years ago Posts: 429 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) March 05, 2015 07:03PM |
Admin Registered: 13 years ago Posts: 18,821 |
printenv
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) March 07, 2015 05:51PM |
Registered: 9 years ago Posts: 429 |
> printenv >>
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) March 07, 2015 06:19PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) March 07, 2015 07:45PM |
Registered: 9 years ago Posts: 429 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) March 07, 2015 08:52PM |
Admin Registered: 13 years ago Posts: 18,821 |