U-Boot v2016.09 released

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: U-Boot v2015.04 for testing

Postby ubermacin » Fri Jun 26, 2015 11:22 pm

Thank you Moonman for putting together v2015.04. Question about uEnv.txt, would I be able to use it to set my usb stick to boot read-only? Is there some documentation somewhere my google-fu has missed?
ubermacin
 
Posts: 13
Joined: Fri Jan 18, 2013 6:56 pm

Re: U-Boot v2015.04 for testing

Postby moonman » Tue Jun 30, 2015 5:32 am

You should be able to override variable 'mainargs'

By default it is $this->bbcode_second_pass_code('', 'mainargs=setenv bootargs console=${console} ${mtdparts} root=${root} rw rootwait ${optargs}')
Copy-paste this line into uEnv and change rw to ro
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: U-Boot v2015.04 for testing

Postby Guidobelix » Tue Jun 30, 2015 11:10 am

Hi moonman,

so nice to see finally a modern uboot for Pogoplug4! Thank you :)
One noob question: once I have installed it, how can I switch to dtb enabled kernel? Is it enough to install via $this->bbcode_second_pass_code('', 'pacman -Syu linux-kirkwood-dt linux-kirkwood-dt-headers')?
Do I need to change anything in the envs?
And what would be the benefit in changing to dtb kernel?

Thanks again
Guido
Guidobelix
 
Posts: 45
Joined: Fri Jun 21, 2013 6:52 am

Re: U-Boot v2015.04 for testing

Postby moonman » Tue Jun 30, 2015 6:41 pm

Yes just install the -dt packages and you are set. No environmen modification required.

From users' point of view the only thing you will notice is that you can frequency switch cpu with dt kernel. Otherwise dt kernel is only lightly patched and is basically mainline. Non-dt kernel is very heavily patched to add functionality that was removed in favoir of device tree approch. Non-dt veraion will be getting removed at some point in time.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: U-Boot v2015.04 for testing

Postby Praetor » Wed Jul 01, 2015 1:22 am

I obviously missed a step and screwed up. I got my usb-serial cable today, soldered the header onto my Pogoplug v4 and promptly consoled in.

This is as far as it gets before it just dies.

$this->bbcode_second_pass_code('', '
ide found on device 0
Checking for: /boot/uEnv.txt ...
** File not found /boot/zImage **
3136788 bytes read in 1044 ms (2.9 MiB/s)
loading /boot/dtbs/kirkwood-pogoplugv4.dtb ...
** File not found /boot/dtbs/kirkwood-pogoplugv4.dtb **
** File not found /boot/initramfs-linux.img **
## Booting kernel from Legacy Image at 00810000 ...
Image Name: Linux-3.1.10-35-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3136724 Bytes = 3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 10.286887] xhci_hcd 0000:00:01.0: Failed to enable MSI-X
[ 10.292263] xhci_hcd 0000:00:01.0: failed to allocate MSI entry
[ 11.304575] rtc-mv rtc-mv: internal RTC not ticking
[ 11.315006] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
')

It's been a few days since I did this, so my memory on exactly what I did is a bit fuzzy. I'm pretty sure at this point all I did was download "Pogoplug V4 (and Mobile)", installed it with pacman -u, did a pacman -syu to make sure everything was up-to-date, then rebooted.

Taking a stab in the dark, I'm guessing I should have installed a different kernel? Help?
Praetor
 
Posts: 18
Joined: Thu Feb 02, 2012 6:14 am

Re: U-Boot v2015.04 for testing

Postby WarheadsSE » Wed Jul 01, 2015 1:24 am

You likely should have used linux-kirkwood
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: U-Boot v2015.04 for testing

Postby ubermacin » Wed Jul 01, 2015 2:15 am

Thank you moonman for the main args! I'll work with that, I really appreciate it!
ubermacin
 
Posts: 13
Joined: Fri Jan 18, 2013 6:56 pm

Re: U-Boot v2015.04 for testing

Postby Guidobelix » Wed Jul 01, 2015 7:27 am

$this->bbcode_second_pass_quote('moonman', 'Y')es just install the -dt packages and you are set. No environmen modification required.

From users' point of view the only thing you will notice is that you can frequency switch cpu with dt kernel. Otherwise dt kernel is only lightly patched and is basically mainline. Non-dt kernel is very heavily patched to add functionality that was removed in favoir of device tree approch. Non-dt veraion will be getting removed at some point in time.


Thank you :)
Guidobelix
 
Posts: 45
Joined: Fri Jun 21, 2013 6:52 am

Re: U-Boot v2015.04 for testing

Postby Praetor » Wed Jul 01, 2015 11:46 pm

That's all the confirmation I needed, WarheadsSE. Thanks!
Praetor
 
Posts: 18
Joined: Thu Feb 02, 2012 6:14 am

Re: U-Boot v2015.04 for testing

Postby BrianD » Sat Jul 04, 2015 3:11 am

Is there a new U-Boot for the Zyxel NSA310 on the roadmap?
BrianD
 
Posts: 14
Joined: Thu Jul 19, 2012 3:16 am

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 2 guests