step by step of how to install Debian on stock PogoplugPro May 30, 2015 09:40PM |
Registered: 8 years ago Posts: 20 |
Re: step by step of how to install Debian on stock PogoplugPro May 30, 2015 10:02PM |
Registered: 8 years ago Posts: 428 |
Download at Dropbox: Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2 md5: c8e9df471f331c56befc4051a754bfea INSTALLATION: Installation can be done on any Linux box, with a fresh USB drive (SD card or HDD would work fine too). It is assuming the USB drive is mounted at /media/sdb1. 1. Format a new Ext3 USB drive, and label it rootfs. Note: if your existing uBoot env for rootfs type is ext2, then you might want to keep it consistent and use Ext2 USB drive. It will work with Ext3 drive without problem, though. For example: set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts rootfstype=ext2 2. Mount the drive on a Linux box. As root user, cd to top level directory and extract it. cd /media/sdb1 tar -xjf Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2 3. edit /media/sdb1/etc/fstab entry for /dev/root to match the rootfstype of your usb_rootfstype (however, you can keep it as Ext2 without problem in booting an Ext3 partition). /dev/root / ext2 noatime,errors=remount-ro 0 1 4. Create uImage with embbeded DTB to run with older u-boot. Please see Note 2 below if you are running this kernel witht the new U-Boot. Pogo Pro vs. Pogo Classic: If you're installing this on a Pogo V3 Classic (no PCI), replace the ox820-pogoplug-pro.dtb below with ox820-pogoplug-classic.dtb. cd /media/sdb1/boot cp -a zImage-3.17.0-oxnas-tld-1 zImage-3.17.0-oxnas-tld-1.fdt cat dts/ox820-pogoplug-pro.dtb >> zImage-3.17.0-oxnas-tld-1.fdt mkimage -A arm -O linux -C none -T kernel -a 0x60008000 -e 0x60008000 -n 'Linux-3.3.17.0-oxnas-tld-1' -d zImage-3.17.0-oxnas-tld-1.fdt uImage sync 5. Done. Take this USB rootfs to your plug and cold start. Note1: After logging in this rootf the first time, remember to generate new SSH key to make it your own unique rootfs. And also update your rootfs to get the latest Debian package updates: rm /etc/ssh/ssh_host* ssh-keygen -A apt-get update apt-get upgrade Note2: To simplify the first time installation process, the uImage is recreated with the DTB embedded in step 4. If you are familiar with FDT kernel booting, and want to boot with separate DTB, see the Kernel 3.17 installation section A.6 in this thread for instruction about setting up u-boot envs. Or if you are going run this kernel with the new u-boot as mentioned, then do set up booting as described in section A.6. Note3: if the Linux box that you are using to create rootfs does not already have mkimage installed then install u-boot-tools package to make it available: apt-get install u-boot-tools Note4: For setting up wireless on the Pogo Pro, please see: http://forum.doozan.com/read.php?2,16044,20964#msg-20964
Re: step by step of how to install Debian on stock PogoplugPro May 31, 2015 12:29AM |
Registered: 8 years ago Posts: 20 |
Re: step by step of how to install Debian on stock PogoplugPro May 31, 2015 03:31AM |
Admin Registered: 12 years ago Posts: 17,916 |
Re: step by step of how to install Debian on stock PogoplugPro May 31, 2015 03:33AM |
Admin Registered: 12 years ago Posts: 17,916 |
Re: step by step of how to install Debian on stock PogoplugPro May 31, 2015 03:46AM |
Registered: 8 years ago Posts: 20 |
Re: step by step of how to install Debian on stock PogoplugPro May 31, 2015 04:15AM |
Admin Registered: 12 years ago Posts: 17,916 |
Re: step by step of how to install Debian on stock PogoplugPro May 31, 2015 01:12PM |
Registered: 8 years ago Posts: 428 |
Re: step by step of how to install Debian on stock PogoplugPro May 31, 2015 04:49PM |
Registered: 8 years ago Posts: 20 |
Re: step by step of how to install Debian on stock PogoplugPro May 31, 2015 05:05PM |
Registered: 8 years ago Posts: 428 |
Re: step by step of how to install Debian on stock PogoplugPro May 31, 2015 05:16PM |
Registered: 8 years ago Posts: 20 |
# uname -r-> 3.17.0-oxnas-tld-1
# sudo grep -a --null-data U-Boot /dev/mtd0the output is
Re: step by step of how to install Debian on stock PogoplugPro May 31, 2015 05:34PM |
Registered: 10 years ago Posts: 165 |
#default to pogoplug classic dtb /tmp/fw_setenv fdt_file '/boot/dts/ox820-pogoplug-classic.dtb' /tmp/fw_setenv dt_load_dtb 'ext2load usb 0:1 $dtb_addr $fdt_file'
Re: step by step of how to install Debian on stock PogoplugPro May 31, 2015 08:25PM |
Registered: 8 years ago Posts: 428 |
Re: step by step of how to install Debian on stock PogoplugPro June 01, 2015 03:52AM |
Admin Registered: 12 years ago Posts: 17,916 |
Re: step by step of how to install Debian on stock PogoplugPro June 01, 2015 08:54AM |
Admin Registered: 12 years ago Posts: 17,916 |
# sudo grep -a --null-data U-Boot > /dev/mtd0> the output is
Re: step by step of how to install Debian on stock PogoplugPro June 01, 2015 10:03AM |
Registered: 8 years ago Posts: 20 |
Re: step by step of how to install Debian on stock PogoplugPro June 01, 2015 12:36PM |
Admin Registered: 12 years ago Posts: 17,916 |
Re: step by step of how to install Debian on stock PogoplugPro June 01, 2015 02:26PM |
Registered: 8 years ago Posts: 20 |
Re: step by step of how to install Debian on stock PogoplugPro June 01, 2015 04:36PM |
Registered: 10 years ago Posts: 165 |
Re: step by step of how to install Debian on stock PogoplugPro June 01, 2015 06:10PM |
Registered: 8 years ago Posts: 20 |
Re: step by step of how to install Debian on stock PogoplugPro June 01, 2015 06:42PM |
Registered: 10 years ago Posts: 165 |
Re: step by step of how to install Debian on stock PogoplugPro June 11, 2015 09:24PM |
Registered: 8 years ago Posts: 2 |
Re: step by step of how to install Debian on stock PogoplugPro June 11, 2015 11:57PM |
Admin Registered: 12 years ago Posts: 17,916 |
Re: step by step of how to install Debian on stock PogoplugPro June 12, 2015 10:58AM |
Registered: 8 years ago Posts: 2 |
the uboot evns like above.Quote
root@debian:~# fw_printenv
autoload=no
baudrate=115200
bootargs=console=ttyS0,115200n8
bootdelay=10
console=console=ttyS0,115200n8
ethact=mii0
ethaddr=5e:2b:15:71:ec:b6
mtdids=nand0=41000000.nand
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
stderr=serial
stdin=serial
stdout=serial
usb_device=0:1
if_netconsole=ping $serverip
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10
uinitrd_addr=0x60e00000
uimage_addr=0x60500000
dtb_addr=0x62c00000
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_bootm=bootm $uimage_addr $uinitrd_addr $dtb_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
dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset
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
preboot=run preboot_nc
ipaddr=192.168.10.10
serverip=192.168.10.121
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
uenv_import=echo importing envs ...; env import -t 0x60500000
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
bootcmd=run bootcmd_uenv; run dt_bootcmd_usb; reset
devices=ide usb
what should i do if i want boot from sata?Quote
U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12)
Boot device: NAND
Attempting to set PLLA to 850 MHz ...
plla_ctrl0 : 0000020a
plla_ctrl1 : 00330000
plla_ctrl2 : 0065008b
plla_ctrl3 : 000000f1
PLLA Set
U-Boot 2013.10-tld-4 (Sep 08 2014 - 19:43:38) for OXNAS
DRAM: 128 MiB
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net:
Led: GREEN
mii0
Main Loop
Waiting for PHY auto negotiation to complete.. done
ENET Speed is 1000 Mbps - FULL duplex connection
Using mii0 device
host 192.168.10.121 is alive
Using mii0 device
host 192.168.10.121 is alive
Using mii0 device
host 192.168.10.121 is alive
Using mii0 device
host 192.168.10.121 is alive
Using mii0 device
host 192.168.10.121 is alive
U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12)
Boot device: NAND
Attempting to set PLLA to 850 MHz ...
plla_ctrl0 : 0000020a
plla_ctrl1 : 00330000
plla_ctrl2 : 0065008b
plla_ctrl3 : 000000f1
PLLA Set
Quote
root@debian:~# fw_setenv ethaddr '00:25:31:01:66:5F'
Can't overwrite "ethaddr"
Re: step by step of how to install Debian on stock PogoplugPro June 12, 2015 12:22PM |
Admin Registered: 12 years ago Posts: 17,916 |
Re: step by step of how to install Debian on stock PogoplugPro September 14, 2015 11:51AM |
Registered: 8 years ago Posts: 15 |
Re: step by step of how to install Debian on stock PogoplugPro September 14, 2015 12:21PM |
Admin Registered: 12 years ago Posts: 17,916 |
Re: step by step of how to install Debian on stock PogoplugPro September 27, 2015 10:46AM |
Registered: 8 years ago Posts: 15 |
Re: step by step of how to install Debian on stock PogoplugPro September 27, 2015 02:14PM |
Admin Registered: 12 years ago Posts: 17,916 |