Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 20, 2015 04:23PM |
Admin Registered: 13 years ago Posts: 19,010 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 20, 2015 05:34PM |
Registered: 10 years ago Posts: 14 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 04, 2015 10:32AM |
Registered: 9 years ago Posts: 11 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 04, 2015 01:50PM |
Registered: 10 years ago Posts: 14 |
3.18: - The init system used in this rootfs is sysvinit (same as in the previous wheezy rootfs). To boot with systemd, see note 4 below. - Installed packages: nano, avahi, ntp, busybox-syslogd (log to RAM), htop, isc-dhcp-client, dialog, bzip2, nfs server/client, iperf, ethtool, sysvinit-core, sysvinit, and sysvinit-utils. - see LED controls in /etc/rc.local, and /etc/init.d/halt - see some useful aliases in /root/.profile 3.17: - Installed packages: nano, avahi, ntp, busybox-syslogd (log to RAM), htop, isc-dhcp-client, dialog, bzip2, nfs server/client, iperf, and ethtool. - see LED controls in /etc/rc.local, and /etc/rc0.d/K07halt (updated in this version to include all Kirkwood boxes LED controls). Note: for LED controls, look in /sys/class/leds after the system is booted (I might have some old settings in this rootfs rc.local that need to be adjusted to the correct trigger names). - see some useful aliases in /root/.profile 3.16: - Installed packages: nano, avahi, ntp, busybox-syslogd (log to RAM), htop, isc-dhcp-client, dialog, bzip2, nfs server/client, iperf, and ethtool. - see LED controls in /etc/rc.local, and /etc/rc0.d/K07halt (for NSAxxx LEDs control, see pbg4, and buttzy) - see some useful aliases in /root/.profile etc.
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 04, 2015 01:51PM |
Admin Registered: 13 years ago Posts: 19,010 |
/etc/fw_env.config
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 04, 2015 01:52PM |
Registered: 9 years ago Posts: 18 |
Quote
2. I started out with a 3.14 rootfs and did a manual upgrade to Debian Jessie. Are there any known caveats in doing so (as opposed to using a 3.18 rootfs package)?
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 04, 2015 01:54PM |
Admin Registered: 13 years ago Posts: 19,010 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 07, 2015 03:05AM |
Registered: 9 years ago Posts: 44 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 07, 2015 03:36AM |
Admin Registered: 13 years ago Posts: 19,010 |
cd /media/sdb1 time tar -cjf /media/sda1/my-rootfs.tar.bz2 . &
cd /media/sdb1 tar -xjf /media/sda1/my-rootfs.tar.bz2
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 07, 2015 03:56AM |
Registered: 9 years ago Posts: 44 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 08, 2015 04:32PM |
Registered: 9 years ago Posts: 11 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 13, 2015 07:09PM |
Registered: 11 years ago Posts: 3 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 14, 2015 12:00AM |
Admin Registered: 13 years ago Posts: 19,010 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 24, 2015 09:37AM |
Registered: 9 years ago Posts: 298 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 24, 2015 04:16PM |
Admin Registered: 13 years ago Posts: 19,010 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 25, 2015 08:46AM |
Registered: 9 years ago Posts: 298 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 26, 2015 02:00AM |
Admin Registered: 13 years ago Posts: 19,010 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 26, 2015 11:53AM |
Registered: 11 years ago Posts: 80 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 28, 2015 03:47AM |
Registered: 9 years ago Posts: 298 |
Obligatory "you should have used <insert a serious linux distro> instead" remark. :DQuote
davidedg
My 2c on btrfs: last time I tried it (Ubuntu 14.04 x64), I got extended corruption with filesystems with huge traffic (>500M files). I still have nightmares :P
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 30, 2015 04:29PM |
Registered: 9 years ago Posts: 1 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 30, 2015 06:23PM |
Admin Registered: 13 years ago Posts: 19,010 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs October 31, 2015 09:14PM |
Registered: 9 years ago Posts: 298 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs November 01, 2015 01:40AM |
Admin Registered: 13 years ago Posts: 19,010 |
Linux kernel 4.3 on Kirkwood devices November 02, 2015 06:57AM |
Registered: 9 years ago Posts: 295 |
[ 17.602771] MV-CESA:Could not register sha1 driver [ 17.620416] MV-CESA:Could not register hmac-sha1 driver
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs November 02, 2015 07:39AM |
Registered: 13 years ago Posts: 218 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs November 02, 2015 02:30PM |
Registered: 10 years ago Posts: 64 |
root@debian:~# fw_printenv arcNumber=3089 baudrate=115200 bootcmd_mmc=run mmc_init; run set_bootargs_mmc; run mmc_boot bootcmd_rescue=run set_bootargs_rescue; nand read.e 0x800000 0x4640000 0xa00000; bootm 0x800000 bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot; bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot; bootdelay=3 console=ttyS0,115200 ethact=egiga0 ethaddr=00:10:75:26:6D:EC force_rescue=0 force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi led_error=orange blinking led_exit=green off led_init=green blinking mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) partition=nand0,2 pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi rescue_installed=1 rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params sata_root=/dev/sda1 set_bootargs_rescue=setenv bootargs console=$console ubi.mtd=8 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts set_bootargs_sata=setenv bootargs console $console root $sata_root rootdelay $rootdelay rootfstype $rootfstype $mtdparts set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts stderr=serial stdin=serial stdout=serial ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi ubifs_mtd=3 ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot usb_device=0:1 usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd usb_root=/dev/sda1 usb_rootdelay=10 usb_rootfstype=ext3 usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done usb_scan_1=usb=0:1 dev=sda1 usb_scan_2=usb=1:1 dev=sdb1 usb_scan_3=usb=2:1 dev=sdc1 usb_scan_4=usb=3:1 dev=sdd1 usb_scan_list=1 2 3 4 usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params preboot_nc=run if_netconsole start_netconsole sata_bootcmd=run usb_set_bootargs; run sata_boot bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run sata_bootcmd; run rescue_bootcmd; run pogo_bootcmd; reset sata_boot=ide reset; mw 0x800000 0 1; ext2load ide 0:1 0x800000 /boot/uImage; if ext2load ide 0:1 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_init=usb start load_dtb=ext2load usb 0:1 0x1c00000 /boot/dts/kirkwood-goflexnet.dtb load_initrd=ext2load usb 0:1 0x1100000 /boot/uInitrd load_uimage=ext2load usb 0:1 0x800000 /boot/uImage usb_boot=run load_dtb; run load_uimage; if run load_initrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs November 02, 2015 06:42PM |
Registered: 9 years ago Posts: 295 |
marvell_cesa 24913 0 des_generic 16866 1 marvell_cesa mv_cesa 11324 0
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs November 02, 2015 11:25PM |
Admin Registered: 13 years ago Posts: 19,010 |
sata_boot=ide reset; mw 0x800000 0 1; ext2load ide 0:1 0x1c00000 /boot/dts/kirkwood-goflexnet.dtb; ext2load ide 0:1 0x800000 /boot/uImage; if ext2load ide 0:1 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs November 02, 2015 11:29PM |
Admin Registered: 13 years ago Posts: 19,010 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs November 03, 2015 01:13AM |
Registered: 10 years ago Posts: 64 |