bodhi Wrote: ------------------------------------------------------- > This is an interesting link that shows the FreeBSD > boot procedure quite clearly. > > https://kernelnomicon.org/?tag=nvidia > > The ubldr is basically the u-boot wrapper that loa > ds the BSD kernel. This binary has hooks that call > back to u-boot API. > > > /src/FreeBSD/obj/aby balanga - uBoot
feas Wrote: ------------------------------------------------------- > balanga Wrote: > -------------------------------------------------- > ----- > > I have a number of > > laptops with FreeBSD installed and even run F > reeBS > > D on my Raspberry Pi :)... > > > > Looking at how your PI boots then wouldn't it prov > ide you with howby balanga - uBoot
I'm more familiar with FreeBSD. I run a FreeBSD based router/firewall ( pfSense), a FreeBSD based NAS (FreeNAS) and a FreeBSD VPS. I have a number of laptops with FreeBSD installed and even run FreeBSD on my Raspberry Pi :)... It's my preferred OS, and since it is apparently possible to run it on a GoFlexHome unit, that's what I'm aiming to do, hence the title of this threby balanga - uBoot
I'm not sure what this would give me since I use FreeBSD and building is not the issue. The instructions at https://cooltrainer.org/freebsd-kirkwood/building/ contain errors and ommissions due to being out of date. The issue for me is being able to invoke a program via uBoot. So far I can load a program from the network via tftp, but I'm not sure how to execute it.by balanga - uBoot
I thought that the easiest way to understand how things work and make some progress would be load a file over the network and execute it... If I run DHCP, I retreive a file called gpxelinux.0. The system displays:- TFTP fromserver 192.168.1.2; our IP address is 192.168.1.47 Filename 'gpxelinux.0' Load address: 0x810000 Loading: ######## 5.3 MiB/s done Bytes trby balanga - uBoot
https://www.denx.de/wiki/view/DULG/Manualby balanga - uBoot
There is also http://ftp.freebsd.org/pub/FreeBSD/releases/arm64/11.0-RELEASE/src.txz but it is the same file. There's only a single source tree. Any suggestions as to what I should put in uEnv.txt to try and boot FreeBSD? I've tried uimage=/boot/kernel.bin but get reading /boot/kernel.bin 4408164 bytes read in 249 ms (16.9 MiB/s) Booting from 0 ... Wrong Imagby balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > Try root as password (that's the default password > if you have not changed it). Many thanks. That worked.by balanga - uBoot
I can't remember if I changed the root password for Debian on my GoFlexHome dock... In any case I can't login. Is there a root password I can try or can how can I reset it?by balanga - uBoot
habibie Wrote: ------------------------------------------------------- > balanga Wrote: > -------------------------------------------------- > ----- > > Actually, that is a thread I started.... Having > lo oked at building FreeBSD today, it looks like t > he latest FreeBSD source (v11.0) includes all the > necessary source and no patches are required, as f > arby balanga - uBoot
How do I go about initiating a boot via tftp from a GoFlexHome dock?by balanga - uBoot
habibie Wrote: ------------------------------------------------------- > balanga Wrote: > -------------------------------------------------- > ----- > > Reading your post, I take it that my first task > is to try and build a FreeBSD image using instruct > ions here:- > > https://cooltrainer.org/freebsd-kirkwood/buildin > g/ > > Unfortunately some of tby balanga - uBoot
bobafetthotmail Wrote: ------------------------------------------------------- > https://cooltrainer.org/freebsd-kirkwood/installat > ion/ > > Sounds easy enough, uboot basically has to load "k > ernel.bin" to RAM and then just execute it. You se > em to have a file called "kernel" in your boot par > tition so I guess it's that the one in morby balanga - uBoot
To be quite honest, this is a very technical area, and most of the hits show pages which I don't understand. There are so many pages which span quite a period and relate to wide range of hardware that it is difficult to limit the search to my situation. I will study the link which you provided earlier and see if I can make anything of it,by balanga - uBoot
That should be:- https://www.freebsd.org/cgi/man.cgi?query=hier&manpath=FreeBSD+6.1-RELEASE&format=htmlby balanga - uBoot
dmesg KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2016 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 12.0-CURRENT #0 r310476: Fri Dec 23 08:20:46 MST 2016 brd@hive.raspbsd.by balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > balanga, > > feas has covered the rootfs part. > > Now the boot loader part is not comlicated. You ha > ve installed a new u-boot (mine or Arch does not m > atter), it will most likely boot FreeBSD rootfs wi > th some simple changes in u-boot envs. But first I > need to look at that the Fby balanga - uBoot
feas Wrote: ------------------------------------------------------- > yep Does this mean you have or know someone who has FreeBSD working on a GoFlex Home unit?by balanga - uBoot
It's only just becoming apparent how the boot process works, now that I have a serial connection. Is there any info about the commands available at the uBoot prompt? I can type help and see a lot of commands, but I don't know how to use them. Is there anything like a command reference or some man pages? One thing I see is on bootup the system is looking for zImage but I have zImage..by balanga - uBoot
Is there such a thing as a FreeBSD uBoot?by balanga - uBoot
I swapped the green and white cables and ran:- cu -l /dev/cuaU0 -s 115200 ... and got:- U-Boot 2014.04.R2-1 (May 15 2014 - 14:36:05) Arch Linux ARM Seagate GoFlex Home (plus lots of other stuff...) Many thanks for all the help in getting to this point. Now a new journey begins.... Finding out the mysteries of the 'GoFlexHome>' prompt.by balanga - uBoot
Well I finally managed to open it but it wasn't all that easy and thought I would break smething in the process... Actually, a small catch broke off but nothing major... Also there are only two screws, but four feet. I removed two rubber feet but saw no screws which caused some head scratching, but I decided to take off the other two feet and found some screws... Anyway after finally gettby balanga - uBoot
I don'know anything about uBoot, and I'm not sure if my understanding of it as a Universal boot loader for embedded ARM systems is correct. If that is the case, then presumably the same uBoot can load any OS which works on the platform, not just Debian, but also ArchLinux and even (God forbid) Windows. Is my understanding correct?by balanga - uBoot
My serial connector has finally arrived but I can't figure out how to break into the docking unit...I haven't yet found a guide showing how to break into the unit.by balanga - uBoot
I've changed /etc/fstab, inserted my USB stick in the GoFlex Home dock and switched on. The green light has been flashing for half an hour and no IP address seems to have been assigned to it, so I guess it's back to the drawing board... Are there any log files I can look at to give me an idea about what is going on? It looks like I'm going to have to use a USB serial connectby balanga - uBoot
Just to clarify things for my own understanding since I've got lost with all the different options... I need to (roughly copying and pasting from numerous posts...): From http://forum.doozan.com/read.php?2,12096 - 20th February 2016 1. Format a new USB drive with a single Ext3 partition, and label it rootfs. 2. Mount the drive on a Linux box. cd to top level directory and extrby balanga - uBoot
It seems as though I've completely misunderstood what I need to do... I thought I only needed to install a new rootfs, but I suppose I also need a new U-Boot... but the instructions for doing that are confusing. Can this be done on a Linux PC?by balanga - uBoot
I was following instructions in this thread http://forum.doozan.com/read.php?2,12096 QuoteUpdated 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. ...mentioned above... cd /media/sdb1/boot cp -a zImage-4.4.0-kirkwood-tld-1 zImage.fdt cat dts/kirkwood-goflexnet.dtb >> zImage.fdt mv uImage uImby balanga - uBoot