Welcome! Log In Create A New Profile

Advanced

Linux Kernel 5.1.11 Kirkwood package and Debian rootfs

Posted by bodhi 
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 16, 2013 10:36AM
Look at Davygravy NSA320 thread for newer uBoot. Stock uBoot does not have netconsole.

May I suggest we move this to a different working thread for NSA325?

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 12/16/2013 10:38AM by bodhi.
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 16, 2013 10:40AM
That sounds like a good idea.

I also modified the script from arch linux to setup the uboot paramaters for the nsa325 to boot debian from ide if anyone wants it.

I just tested it on my own after resetting the uboot environment.
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 16, 2013 11:20AM
Wanted to get your thaughts on this bodhi.

I think the nsa325 has uart booting i tried with the image i dumped from nand nut got nothing like i said before but i just tried with a uboot image for the goflex net and got this:

sudo ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2013.10.goflexnet.mtd0.kwb -p
Sending boot message. Please reboot the target...|
Sending boot image...
  0 % [++++++..........+.....................................................]
  1 % [.......................+..............................................]
  3 % [......................................................................]
  4 % [.........................+............................................]
  6 % [.+xmodem: Bad message

its alot more output than i got before and the size of the images i tried are this:

Image i dumped:

1081344

goflex net image is:

524288

half the size of what i dumped so maybe i dumped the image wrong?
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 16, 2013 11:29AM
After my NSA320 failed to start davygravy's package because of a superblock error (was running for a year or so with this config), I just installed tld3. It really works like a charm. Thanks so much for the effort of making this available!
The package also felt a little less finicky than the package posted by davygravy. And the LED activity is great!

Memesa



Edited 1 time(s). Last edit at 12/16/2013 11:49AM by Memesa.
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 16, 2013 12:28PM
Buttzy10169 Wrote:
-------------------------------------------------------
> That sounds like a good idea.
>
> I also modified the script from arch linux to
> setup the uboot paramaters for the nsa325 to boot
> debian from ide if anyone wants it.
>
> I just tested it on my own after resetting the
> uboot environment.

yes I would like it please : )
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 16, 2013 12:31PM
whats the.way you have your partitions setup? what label do you have on root?
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 16, 2013 12:36PM
currently I have 2 partitions. sda1 is boot and sda2 is rootfs. but really I dont care. I was able to finally get it to boot off ide and it was working from what I could tell. Now Im hoping to get it to boot off usb. im going to prepare an old but fast 8gb usb flash drive here in a bit and see if it will boot off that. didnt really like the external usb hdd (I think spinning up took too long).

~SOL
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 16, 2013 12:41PM
i will test and see if usb boot works on mine with the script. on your boot partition are the uImage and uInitrd in a directory?

i comented out all the parts that edit partitions and such. so you will need to make sure partitions are correct.

edit:

SomeoneOnLine,

Check my post in this thread:

http://forum.doozan.com/read.php?2,14351,14474#msg-14474

It should hopefully have the files and instructions you need to get it working from usb
or properly from sata.



Edited 1 time(s). Last edit at 12/16/2013 04:19PM by Buttzy10169.
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree)
December 17, 2013 12:22AM
Should I expect drive and panel leds to work? on the power button and led just below that are on. power = blue and system status or led just below power is orage and usb is green when I have a usb device plugged in.

~SOL
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree)
December 17, 2013 12:52AM
Please post in this thread
http://forum.doozan.com/read.php?2,14351
for NSA325 related stuff. We are OT for a while, it's hard to find some posts that burried under on-going working topic such as NSA3xx boxes.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 17, 2013 11:02PM
Memesa Wrote:
-------------------------------------------------------
> After my NSA320 failed to start davygravy's
> package because of a superblock error (was running
> for a year or so with this config), I just
> installed tld3. It really works like a charm.
> Thanks so much for the effort of making this
> available!
> The package also felt a little less finicky than
> the package posted by davygravy. And the LED
> activity is great!
>
> Memesa

Cool! I'm glad it works well for you.

Anybody tried this kernel on the NSA310?

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 18, 2013 11:04AM
If they pulled my patches, it should in theory work for that device, but I can't speak to the uboot on the 310.
I can boot this kernel on NSA310, but network is not working. Can you please add R8169 module (CONFIG_R8169=y)?
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 19, 2013 05:36PM
Tom62 Wrote:
-------------------------------------------------------
> I can boot this kernel on NSA310, but network is
> not working. Can you please add R8169 module
> (CONFIG_R8169=y)?

It does not work in what way? Can you describe it? No IP, or NIC not coming up?.... Does it have anything to do with this 8169 module?

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 19, 2013 06:04PM
Does 8169 not require firmware to funcfion properly? i know iv seen deaktops complain about missing firmware for 8169 devices???
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 19, 2013 06:18PM
Hi bodhi,

Do you have kwboot can work under Linux Kernel 3.12.0 Kirkwood ?
I do like to try UART Booting but I only have one PC with WIN7.

If you do can you send me a copy

Thanks

Mark
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 20, 2013 12:23AM
Hi Mark,

> I do like to try UART Booting but I only have one
> PC with WIN7.

I have kwboot binary only for ARM. I'm not sure if there is such a version for x86. Do you have another Kirwood plug that you can run it from? I thought you do have both the Pogo E02 and NSA320?

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 12/20/2013 12:24AM by bodhi.
bodhi Wrote:
-------------------------------------------------------
> It does not work in what way? Can you describe it?
> No IP, or NIC not coming up?.... Does it have
> anything to do with this 8169 module?
No network adapter is found. NSA-310 has RealTek 8169 onboard, so it needs R8169 module, which is not in 3.12.0-kirkwood-tld-3.
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 20, 2013 05:42AM
bodhi Wrote:
-------------------------------------------------------
> Hi Mark,
>
> > I do like to try UART Booting but I only have
> one
> > PC with WIN7.
>
> I have kwboot binary only for ARM. I'm not sure if
> there is such a version for x86. Do you have
> another Kirwood plug that you can run it from? I
> thought you do have both the Pogo E02 and NSA320?

Yes, I need the kwboot binary only for ARM.
I would like to run kwboot on my E02 then test the uboot on NSA320.

Can you send me the link of kwboot binary only for ARM.


Thanks
Mark
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 20, 2013 08:11PM
Mark,

Here it is:

kwboot
md5:
0efd011bdb244436e432a8de33e639a1

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 20, 2013 09:25PM
bodhi Wrote:
-------------------------------------------------------
> Mark,
>
> Here it is:
>
> kwboot
> md5:
> 0efd011bdb244436e432a8de33e639a1


bodhi,
Thank you very much for your help.
I run kwboot on E02 then test on NSA320, when I turn on the NSA320, it just pick up the uboot right the way
root@debian:/test# kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.NAND-NSA320-IDEfixedv4-scripted.kwb -p
Sending boot message. Please reboot the target.../
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  .
  .
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2011.12 (May 03 2012 - 17:04:23)
ZyXEL NSA320 2-Bay Power Media Server

SoC:   Kirkwood 88F6281_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
No link on egiga0
ping failed; host 192.168.11.149 is not alive
Hit any key to stop autoboot:  0




But when I test on pogoV4 , it just go no where.

kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.nandpogoV4-MMC-mtdparts-noSATA.kwb -p
Sending boot message. Please reboot the target.../
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 20, 2013 09:55PM
The correct sequence to boot UART on a target that is quirky, for example Pogo V4 or Mobile:

- connect to the host using SSH.
- execute kwboot command on the host. It will start spining the / character clockwise direction.
- reboot the target (or coldboot). You should see the / character starts spinning in counter clockwise direction (slower speed) when it tries to handshake. Wait a few seconds to see if the handshake works, if not then press control-C to abort. Up arrow to recall command and execute it again.
- whenever you see the error (bad modem message), up arrow to recall the command and run it again. Repeat this as many times as you can (perhaps 20, 30 times). Eventually the handshake will work.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 21, 2013 01:27AM
Tom62 Wrote:
-------------------------------------------------------
> bodhi Wrote:
> --------------------------------------------------
> -----
> > It does not work in what way? Can you describe
> it?
> > No IP, or NIC not coming up?.... Does it have
> > anything to do with this 8169 module?
> No network adapter is found. NSA-310 has RealTek
> 8169 onboard, so it needs R8169 module, which is
> not in 3.12.0-kirkwood-tld-3.

No problem, will upload another version when it's done building.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 21, 2013 07:00PM
Many thx for your work bodhi.

I'm trying to install the actual image on a Dockstar with a modified flash layout:
0x000000000000-0x000000100000 : "u-boot"
0x000000100000-0x000010000000 : "data"

But the Dockstar is struggling booting from the ubifs formatted mtd1:

U-Boot 2011.12 (Feb 12 2012 - 21:33:07)
Seagate FreeAgent DockStar

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
Creating 1 MTD partitions on "nand0":
0x000000100000-0x000010000000 : "mtd=1"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=1"
UBI: MTD device size:            255 MiB
UBI: number of good PEBs:        2040
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             20
UBI: total number of reserved PEBs: 2020
UBI: number of PEBs reserved for bad PEB handling: 20
UBI: max/mean erase counter: 1/0
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: mounted read-only
UBIFS: file system size:   255854592 bytes (249858 KiB, 244 MiB, 1983 LEBs)
UBIFS: journal size:       12773376 bytes (12474 KiB, 12 MiB, 99 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  5182151 bytes (5060 KiB)
Loading file '/boot/uImage' to addr 0x00800000 with size 2319128 (0x00236318)...
Done
Loading file '/boot/uInitrd' to addr 0x01100000 with size 6544748 (0x0063dd6c)...
Done
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.12.0-kirkwood-tld-3
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2319064 Bytes = 2.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-3.12.0-kirkwood-tld-3
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6544684 Bytes = 6.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.12.0-kirkwood-tld-3 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #3 PREEMPT Wed Nov 27 16:1
0:53 PST 2013
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Seagate FreeAgent DockStar
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs mtdparts=orion_nand:1M(u-boot),-
(data) init=/sbin/init-ro
…
[   10.381462] UBI: attaching mtd1 to ubi0
[   10.845093] UBI: scanning is finished
[   10.861853] UBI: attached mtd1 (name "data", size 255 MiB) to ubi0
[   10.868070] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[   10.874935] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[   10.881593] UBI: VID header offset: 512 (aligned 512), data offset: 2048
[   10.888340] UBI: good PEBs: 2040, bad PEBs: 0, corrupted PEBs: 0
[   10.894368] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[   10.901553] UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 262812279
[   10.910567] UBI: available PEBs: 0, total reserved PEBs: 2040, PEBs reserved for bad PEB handling: 40
[   10.919844] UBI: background thread "ubi_bgt0d" started, PID 34
[   10.925713] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[   10.932948] Freeing unused kernel memory: 204K (c05d5000 - c0608000)
Loading, please wait...
[   11.008976] udevd[53]: starting version 175
[   11.084892] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   11.167773] SCSI subsystem initialized
[   11.179580] libphy: PHY orion-mdio-mii:00 not found
[   11.184507] platform mv643xx_eth_port.0: Driver mv643xx_eth_port requests probe deferral
[   11.231616] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[   11.273766] libphy: orion_mdio_bus: probed
[   11.321926] scsi0 : usb-storage 1-1.4:1.0
[   11.326258] usbcore: registered new interface driver usb-storage
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.
[   11.850580] UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
[   11.857495] UBIFS: LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   11.878261] UBIFS: FS size: 255854592 bytes (244 MiB, 1983 LEBs), journal size 12773376 bytes (12 MiB, 99 LEBs)
[   11.898256] UBIFS: reserved for root: 4952683 bytes (4836 KiB)
[   11.904115] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 9A258283-BCB0-4549-B1F3-8999D15CA686, small LPT model
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
Target filesystem doesn't have requested /sbin/init-ro.
BusyBox v1.20.2 (Debian 1:1.20.0-7) multi-call binary.

Usage: switch_root [-c /dev/console] NEW_ROOT NEW_INIT [ARGS]

Free initramfs and switch to another root fs:
chroot to NEW_ROOT, delete all in /, move NEW_ROOT to /,
execute NEW_INIT. PID must be 1. NEW_ROOT must be a mountpoint.

        -c DEV  Reopen stdio to DEV after switch

[   12.078364] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[   12.078364] 
[   12.087549] CPU: 0 PID: 1 Comm: busybox Not tainted 3.12.0-kirkwood-tld-3 #3
[   12.094655] [<c0014068>] (unwind_backtrace+0x0/0xe0) from [<c0010c78>] (show_stack+0x10/0x14)
[   12.103228] [<c0010c78>] (show_stack+0x10/0x14) from [<c0422130>] (panic+0x80/0x1e4)
[   12.111013] [<c0422130>] (panic+0x80/0x1e4) from [<c001f030>] (do_exit+0x530/0x97c)
[   12.118709] [<c001f030>] (do_exit+0x530/0x97c) from [<c001f5e4>] (do_group_exit+0xb0/0xdc)
[   12.127018] [<c001f5e4>] (do_group_exit+0xb0/0xdc) from [<c001f620>] (__wake_up_parent+0x0/0x18)
fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/root      /               ubifs   0 1                            
tmpfs          /tmp            tmpfs   defaults          0       0

Does anybody know whats wrong here ?

Regards

bertc3p0



Edited 1 time(s). Last edit at 12/21/2013 07:01PM by bertc3p0.
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 22, 2013 02:12AM
bertc3p0,

If you want to boot from USB , then your bootcmd definitely has problem.

If you want to boot from NAND then the rootfs must be in NAND, which is not there right now (your mtd1 name is data).

If this was not the answer you're looking for, please post your output of printenv in serial console and tell us a little more details of what you're trying to do.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 22, 2013 04:08AM
Thx bodhi for you fast reply. I've change the NAND layout to use 255MB according to:
http://forum.doozan.com/read.php?2,72,261#msg-261

The (future) goal is to run completely from NAND with RO filesystem like the description from the thread
mentioned above.

U-Boot 2011.12 (Feb 12 2012 - 21:33:07)
Seagate FreeAgent DockStar

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
u-boot>> printenv
arcNumber=2998
baudrate=115200
bootcmd=run bootcmd_ubi; run bootcmd_usb; reset
bootcmd_ubi=run set_bootargs_ubi; ubi part data; ubifsmount rootfs; ubifsload 0x800000 /boot/uImage; ubifsload 0x1100000 /boot/uInitrd; bootm 0x800000 0x1100000
bootcmd_usb=run usb_init; run usb_set_bootargs; run usb_boot
bootdelay=3
console=ttyS0,115200
ethact=egiga0
ethaddr=00:10:75:1A:C1:6B
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
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),-(data)
partition=nand0,0
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=0
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
set_bootargs_ubi=setenv bootargs console=$console ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs $mtdparts init=/sbin/init-ro
stderr=serial
stdin=serial
stdout=serial
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage;; then bootm 0x800000; fi
ubifs_mtd=1
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000;
 fi
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_device=0:1
usb_init=usb start
usb_root=/dev/sda1 ro
usb_rootdelay=10
usb_rootfstype=ext2
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 init=/sbin/init-ro

Environment size: 2571/131068 bytes

Regards

bertc3p0



Edited 1 time(s). Last edit at 12/22/2013 04:29AM by bertc3p0.
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 22, 2013 04:43AM
Got it.

Changed
set_bootargs_ubi=setenv bootargs console=$console ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs $mtdparts init=/sbin/init-ro
to
set_bootargs_ubi=setenv bootargs console=$console ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs $mtdparts

stupid error - sorry for the noise here

Regards

bertc3p0



Edited 1 time(s). Last edit at 12/22/2013 04:44AM by bertc3p0.
bodhi Wrote:
-------------------------------------------------------
> No problem, will upload another version when it's
> done building.

Thank you, I will test new version as soon as it is uploaded.
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 22, 2013 02:24PM
@bertc3p0,

Glad you've sorted it out!

So I see you've installed Emdebian following Jeff's instruction. And your rootfs is emdebian, but you also updated the kernel with Linux-3.12.0-kirkwood-tld-3 ? how large is your rootfs now? I assume it fits the Dockstar remaining 255MB NAND without problem? did you have to remove any module?

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)
December 22, 2013 03:54PM
Kernel 3.12.0-kirkwood-tld-4 package was uploaded. Please see 1st post for download link.

-bodhi
===========================
Forum Wiki
bodhi's corner
Sorry, you can't reply to this topic. It has been closed.