Francesco
Installation problem of Linux Kernerl 4.6 on ix4-200d June 12, 2016 06:14PM |
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 12, 2016 06:23PM |
Admin Registered: 13 years ago Posts: 19,114 |
Quote
Updated 20 Feb 2016:
This Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 is to keep in sync with kernel Linux-4.4.0-kirkwood-tld-1.
fw_printenv
Francesco
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 12, 2016 06:39PM |
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 12, 2016 07:21PM |
Admin Registered: 13 years ago Posts: 19,114 |
Francesco
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 12, 2016 07:31PM |
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 12, 2016 11:46PM |
Admin Registered: 13 years ago Posts: 19,114 |
cd /tmp ln -s `which fw_printenv` fw_setenv ./fw_setenv test_fw_setenv 1
fw_printenv test_fw_setenvexpect output
test_fw_setenv=1
cd /tmp ln -s `which fw_printenv` fw_setenv ./fw_setenv usb_make_boot_args 'setenv bootargs console=ttyS0,115200 mtdparts=orion_nand:$(uboot_size)@$(uboot_start)(uboot),$(env_size)@$(env_start)(env),$(kernel_size)@$(kernel_start)(zImage),$(initrd_size)@$(initrd_start)(initrd),32m@0x0(flash) root=LABEL=rootfs rootdelay=10' ./fw_setenv load_initrd 'ext2load usb 0:1 0x1100000 /boot/uInitrd' ./fw_setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' ./fw_setenv usb_boot 'usb start; run load_uimage; run load_initrd; bootm 0x800000 0x1100000' ./fw_setenv bootcmd 'run usb_make_boot_args ; run usb_boot; run flash_load; reset'
fw_printenvAt the end of the output, these new envs will be listed.
sync shutdown -r nowor
sync /sbin/reboot
Francesco
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 13, 2016 03:31PM |
Francesco
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 13, 2016 03:57PM |
Francesco
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 13, 2016 04:01PM |
Francesco
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 13, 2016 05:22PM |
Francesco
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 13, 2016 06:56PM |
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 14, 2016 12:01AM |
Admin Registered: 13 years ago Posts: 19,114 |
> ./kwboot -t -B 115200 /dev/pts/0 -b mtd0.bin -p >>
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 14, 2016 12:02AM |
Admin Registered: 13 years ago Posts: 19,114 |
help usb startAnd post the serial console log here.
Francesco
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 14, 2016 02:16AM |
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 14, 2016 02:33AM |
Admin Registered: 13 years ago Posts: 19,114 |
Francesco
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 14, 2016 02:37AM |
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 14, 2016 03:01AM |
Admin Registered: 13 years ago Posts: 19,114 |
2. If the test in step 1 is successful then go ahead and set up booting with USB rootfs.
Francesco
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 14, 2016 04:26AM |
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 14, 2016 02:49PM |
Admin Registered: 13 years ago Posts: 19,114 |
./kwboot -t -B 115200 /dev/ttyUSB0 -b mtd0.bin -p
printenv
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 14, 2016 04:58PM |
Registered: 8 years ago Posts: 12 |
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 14, 2016 07:59PM |
Admin Registered: 13 years ago Posts: 19,114 |
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 15, 2016 05:06PM |
Registered: 8 years ago Posts: 12 |
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 15, 2016 05:24PM |
Registered: 8 years ago Posts: 12 |
Jun 16 00:22:21 ubuntu kernel: [ 1481.008195] pl2303 2-2.2:1.0: pl2303_vendor_write - failed to write [0008]: -110 Jun 16 00:22:21 ubuntu kernel: [ 1481.276319] pl2303 2-2.2:1.0: pl2303_vendor_write - failed to write [0009]: -110 Jun 16 00:22:22 ubuntu kernel: [ 1482.006906] pl2303 ttyUSB0: pl2303_get_line_request - failed: -110 Jun 16 00:22:22 ubuntu kernel: [ 1482.275247] pl2303 ttyUSB0: pl2303_set_line_request - failed: -110 Jun 16 00:22:23 ubuntu kernel: [ 1483.005554] pl2303 2-2.2:1.0: pl2303_vendor_write - failed to write [0000]: -110 Jun 16 00:22:23 ubuntu kernel: [ 1483.274153] pl2303 ttyUSB0: pl2303_set_control_lines - failed: -110
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 15, 2016 05:41PM |
Registered: 8 years ago Posts: 12 |
select(4, [3], NULL, NULL, {0, 50000}) = 0 (Timeout) ioctl(3, TCFLSH, TCIOFLUSH) = 0 write(3, "\273\21\"3DUfw", 8) = 8 ioctl(3, TCSBRK, 1) = 0 select(4, [3], NULL, NULL, {0, 50000}) = 0 (Timeout) ioctl(3, TCFLSH, TCIOFLUSH) = 0 write(3, "\273\21\"3DUfw", 8) = 8 ioctl(3, TCSBRK, 1) = 0 select(4, [3], NULL, NULL, {0, 50000}) = 0 (Timeout) write(1, "\10\\", 2) = 2 ioctl(3, TCFLSH, TCIOFLUSH) = 0 write(3, "\273\21\"3DUfw", 8) = 8 ioctl(3, TCSBRK, 1) = 0 select(4, [3], NULL, NULL, {0, 50000}) = 0 (Timeout) ioctl(3, TCFLSH, TCIOFLUSH) = 0 write(3, "\273\21\"3DUfw", 8) = 8 ioctl(3, TCSBRK, 1) = 0 select(4, [3], NULL, NULL, {0, 50000}) = 0 (Timeout) ioctl(3, TCFLSH, TCIOFLUSH) = 0 write(3, "\273\21\"3DUfw", 8) = 8 ioctl(3, TCSBRK, 1) = 0 select(4, [3], NULL, NULL, {0, 50000}) = 0 (Timeout) ioctl(3, TCFLSH, TCIOFLUSH) = 0 write(3, "\273\21\"3DUfw", 8) = 8 ioctl(3, TCSBRK, 1) = 0
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 15, 2016 05:48PM |
Admin Registered: 13 years ago Posts: 19,114 |
> Jun 16 00:22:21 ubuntu kernel: [ 1481.008195] > pl2303 2-2.2:1.0: pl2303_vendor_write - failed to > write [0008]: -110 > Jun 16 00:22:21 ubuntu kernel: [ 1481.276319] > pl2303 2-2.2:1.0: pl2303_vendor_write - failed to > write [0009]: -110 > Jun 16 00:22:22 ubuntu kernel: [ 1482.006906] > pl2303 ttyUSB0: pl2303_get_line_request - failed: > -110 > Jun 16 00:22:22 ubuntu kernel: [ 1482.275247] > pl2303 ttyUSB0: pl2303_set_line_request - failed: > -110 > Jun 16 00:22:23 ubuntu kernel: [ 1483.005554] > pl2303 2-2.2:1.0: pl2303_vendor_write - failed to > write [0000]: -110 > Jun 16 00:22:23 ubuntu kernel: [ 1483.274153] > pl2303 ttyUSB0: pl2303_set_control_lines - failed: > -110 > >
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 15, 2016 06:38PM |
Registered: 8 years ago Posts: 12 |
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 15, 2016 07:50PM |
Admin Registered: 13 years ago Posts: 19,114 |
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 16, 2016 05:04PM |
Registered: 8 years ago Posts: 12 |
setenv usb_make_boot_args 'setenv bootargs console=ttyS0,115200 mtdparts=orion_nand:$(uboot_size)@$(uboot_start)(uboot),$(env_size)@$(env_start)(env),$(kernel_size)@$(kernel_start)(zImage),$(initrd_size)@$(initrd_start)(initrd),32m@0x0(flash) root=LABEL=rootfs rootdelay=10' setenv load_initrd 'ext2load usb 0:1 0x1100000 /boot/uInitrd' setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' setenv usb_boot 'usb start; run load_uimage; run load_initrd; bootm 0x800000 0x1100000' setenv bootcmd 'run usb_make_boot_args ; run usb_boot; reset' printenv boot
Gave up waiting for root device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough?) - Check root= (did the system wait for the right device?) - Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/disk/by-label/rootfs does not exist. Dropping to a shell! modprobe: module i8042 not found in modules.dep [ 46.306101] uhci_hcd: USB Universal Host Controller Interface driver [ 46.322343] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 46.339280] usbcore: registered new interface driver usbhid [ 46.345057] usbhid: USB HID core driver BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) built-in shell (ash) Enter 'help' for a list of built-in commands. /bin/sh: can't access tty; job control turned off
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 16, 2016 06:27PM |
Admin Registered: 13 years ago Posts: 19,114 |
Quote
setenv usb_make_boot_args 'setenv bootargs console=ttyS0,115200 mtdparts=orion_nand:$(uboot_size)@$(uboot_start)(uboot),$(env_size)@$(env_start)(env),$(kernel_size)@$(kernel_start)(zImage),$(initrd_size)@$(initrd_start)(initrd),32m@0x0(flash) root=LABEL=rootfs rootdelay=10'
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> /dev/root / ext3 noatime,errors=remount-ro 0 1
printenv boot
Re: Installation problem of Linux Kernerl 4.6 on ix4-200d June 17, 2016 11:51AM |
Registered: 8 years ago Posts: 12 |
root@ubuntu:/mnt/hgfs/SecureCRT# kwboot -t -B 115200 /dev/ttyUSB0 -b mtd0.bin -p Sending boot message. Please reboot the target...\