* [gentoo-user] Booted Gentoo the first time on the Arietta.G25...but... @ 2014-11-18 18:27 meino.cramer 2014-11-18 21:00 ` thegeezer 0 siblings, 1 reply; 10+ messages in thread From: meino.cramer @ 2014-11-18 18:27 UTC (permalink / raw To: Gentoo Hi, I am half the happiest person this evening... ;) With a mix of Robert Nelsons super kernel sources for ARM boards, the Atmel bootloader modified by acmesystems (who produces the Arietta) and the stage3 for armv5 by Gentoo and last but no least some luck the Arietta.G25 board is now booting the kernel and (seems) to access the Gentoo rootfs: The stored dmesg output tells about starting udev, so I think the rootfs is entered. Previously I had access to the board while using the embedian image by acmesystems. But Shortly after the board was released embedian.org shuts down...the project died. And I alway want gentoo on my systems... Now the other not-so-happy part: I still cannot access the board. Problem is: It does not have a real (RJ45) ethernet port. It uses ethernet over usb which works with the debian image. I configured Robert Nelsons kernel with the kernel configuration file by acmesystems - so this part should be ok. How can I configure Gentoo on the Arietta board to use ethernet-over-usb to be started while booting the Arietta board? By "replace everything eth0 with usb0" ??? ;) Thank you very much for any help in advance! Best regards, Meino ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Booted Gentoo the first time on the Arietta.G25...but... 2014-11-18 18:27 [gentoo-user] Booted Gentoo the first time on the Arietta.G25...but meino.cramer @ 2014-11-18 21:00 ` thegeezer 2014-11-18 21:16 ` thegeezer 2014-11-19 8:51 ` J. Roeleveld 0 siblings, 2 replies; 10+ messages in thread From: thegeezer @ 2014-11-18 21:00 UTC (permalink / raw To: gentoo-user On 18/11/14 18:27, meino.cramer@gmx.de wrote: > How can I configure Gentoo on the Arietta board > to use ethernet-over-usb to be started while > booting the Arietta board? > > By "replace everything eth0 with usb0" ??? ;) if you still have emdebian image you can boot that and see which modules are loaded - that would be a start. a nice dodge is # find /sys | grep drivers you can also check everything in "make menuconfig" under the section device drivers\network device support\usb network adaptors that everything you _might_ need is selected there is a chance that the gentoo image has what you need --- what does "lsusb" show you ? what about "ifconfig -a" usb ethernet devices have very odd names ... names such as enp0s29u1u2 so it would be "replace everything eth0 with enp0s29u1u2" > Thank you very much for any help in advance! > Best regards, > Meino > > > > > ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Booted Gentoo the first time on the Arietta.G25...but... 2014-11-18 21:00 ` thegeezer @ 2014-11-18 21:16 ` thegeezer 2014-11-19 8:51 ` J. Roeleveld 1 sibling, 0 replies; 10+ messages in thread From: thegeezer @ 2014-11-18 21:16 UTC (permalink / raw To: gentoo-user hi meino, i was curious about the board you are using, and found this page http://watchmysys.com/blog/2014/08/building-arietta-g25-kernel/ which says that the ethernet is a "Davicom DM96xx USB 2.0 10/100M Ethernet Adaptor" you need kernel modules dm9601 (USB_NET_DM9601) and sr9700 (USB_NET_SR9700) in your kernel .config for this to work good luck! ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Booted Gentoo the first time on the Arietta.G25...but... 2014-11-18 21:00 ` thegeezer 2014-11-18 21:16 ` thegeezer @ 2014-11-19 8:51 ` J. Roeleveld 2014-11-19 17:44 ` meino.cramer 1 sibling, 1 reply; 10+ messages in thread From: J. Roeleveld @ 2014-11-19 8:51 UTC (permalink / raw To: gentoo-user On Tuesday, November 18, 2014 09:00:37 PM thegeezer wrote: > On 18/11/14 18:27, meino.cramer@gmx.de wrote: > > How can I configure Gentoo on the Arietta board > > to use ethernet-over-usb to be started while > > booting the Arietta board? > > > > By "replace everything eth0 with usb0" ??? ;) > > if you still have emdebian image you can boot that and see which modules > are loaded - that would be a start. a nice dodge is > # find /sys | grep drivers > you can also check everything in "make menuconfig" under the section > device drivers\network device support\usb network adaptors > that everything you _might_ need is selected > there is a chance that the gentoo image has what you need --- what does > "lsusb" show you ? what about "ifconfig -a" > usb ethernet devices have very odd names ... names such as enp0s29u1u2 > so it would be "replace everything eth0 with enp0s29u1u2" Meino, You might also want to check if there is any firmware that is not being found/loaded. For me, that is usually the case when something isn't working. -- Joost ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Booted Gentoo the first time on the Arietta.G25...but... 2014-11-19 8:51 ` J. Roeleveld @ 2014-11-19 17:44 ` meino.cramer 2014-11-19 17:50 ` J. Roeleveld 2014-11-19 17:52 ` thegeezer 0 siblings, 2 replies; 10+ messages in thread From: meino.cramer @ 2014-11-19 17:44 UTC (permalink / raw To: gentoo-user J. Roeleveld <joost@antarean.org> [14-11-19 17:00]: > On Tuesday, November 18, 2014 09:00:37 PM thegeezer wrote: > > On 18/11/14 18:27, meino.cramer@gmx.de wrote: > > > How can I configure Gentoo on the Arietta board > > > to use ethernet-over-usb to be started while > > > booting the Arietta board? > > > > > > By "replace everything eth0 with usb0" ??? ;) > > > > if you still have emdebian image you can boot that and see which modules > > are loaded - that would be a start. a nice dodge is > > # find /sys | grep drivers > > you can also check everything in "make menuconfig" under the section > > device drivers\network device support\usb network adaptors > > that everything you _might_ need is selected > > there is a chance that the gentoo image has what you need --- what does > > "lsusb" show you ? what about "ifconfig -a" > > usb ethernet devices have very odd names ... names such as enp0s29u1u2 > > so it would be "replace everything eth0 with enp0s29u1u2" > > Meino, > > You might also want to check if there is any firmware that is not being > found/loaded. > For me, that is usually the case when something isn't working. > > -- > Joost > Hi thegeezer, Hi Joost, it was that simple, that I *had* to overlooked it: The modules for ethernet over usb had to be loaded before using that interface... WUMMER! Sometimes..... :) I added the following modules: usb_f_rndis u_ether usb_f_ecm usb_f_ecm_subset usb_f_eem g_ether at91_udc atmel_usba_udc libcomposite and I am not sure, whether some of them are not necassary for that purpose...but with this in /etc/conf.d/modules it works. Current status is: * Board boots with Robert Nelsons linux kernel for ARM and a device tree blob by acmesystems and a stage3 rootfs (armv5tel) by the one and only Gentoo. * The board is accessible via ssh * I am currently downloading (emerge -f) some applications I need, compiling on this board is an exercise in patience... 8). After the download the board can compile the stuff without using my PC as router to the internet. So it does not harm to power the board with 100mA over several days... Best regards, Meino ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Booted Gentoo the first time on the Arietta.G25...but... 2014-11-19 17:44 ` meino.cramer @ 2014-11-19 17:50 ` J. Roeleveld 2014-11-19 18:12 ` meino.cramer 2014-11-19 17:52 ` thegeezer 1 sibling, 1 reply; 10+ messages in thread From: J. Roeleveld @ 2014-11-19 17:50 UTC (permalink / raw To: gentoo-user On 19 November 2014 18:44:28 CET, meino.cramer@gmx.de wrote: >J. Roeleveld <joost@antarean.org> [14-11-19 17:00]: >> On Tuesday, November 18, 2014 09:00:37 PM thegeezer wrote: >> > On 18/11/14 18:27, meino.cramer@gmx.de wrote: >> > > How can I configure Gentoo on the Arietta board >> > > to use ethernet-over-usb to be started while >> > > booting the Arietta board? >> > > >> > > By "replace everything eth0 with usb0" ??? ;) >> > >> > if you still have emdebian image you can boot that and see which >modules >> > are loaded - that would be a start. a nice dodge is >> > # find /sys | grep drivers >> > you can also check everything in "make menuconfig" under the >section >> > device drivers\network device support\usb network adaptors >> > that everything you _might_ need is selected >> > there is a chance that the gentoo image has what you need --- what >does >> > "lsusb" show you ? what about "ifconfig -a" >> > usb ethernet devices have very odd names ... names such as >enp0s29u1u2 >> > so it would be "replace everything eth0 with enp0s29u1u2" >> >> Meino, >> >> You might also want to check if there is any firmware that is not >being >> found/loaded. >> For me, that is usually the case when something isn't working. >> >> -- >> Joost >> > >Hi thegeezer, Hi Joost, > >it was that simple, that I *had* to overlooked it: The modules >for ethernet over usb had to be loaded before using that interface... >WUMMER! >Sometimes..... :) > >I added the following modules: > usb_f_rndis > u_ether > usb_f_ecm > usb_f_ecm_subset > usb_f_eem > g_ether > at91_udc > atmel_usba_udc > libcomposite > >and I am not sure, whether some of them are not necassary for that >purpose...but with this in /etc/conf.d/modules it works. > >Current status is: >* Board boots with Robert Nelsons linux kernel for ARM and a device > tree blob by acmesystems and a stage3 rootfs (armv5tel) by the one > and only Gentoo. >* The board is accessible via ssh >* I am currently downloading (emerge -f) some applications I need, > compiling on this board is an exercise in patience... 8). After > the download the board can compile the stuff without using my PC > as router to the internet. So it does not harm to power the board > with 100mA over several days... > >Best regards, >Meino You can't use distcc and a crosscompiler on your desktop for this? -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Booted Gentoo the first time on the Arietta.G25...but... 2014-11-19 17:50 ` J. Roeleveld @ 2014-11-19 18:12 ` meino.cramer 2014-11-19 21:30 ` thegeezer 0 siblings, 1 reply; 10+ messages in thread From: meino.cramer @ 2014-11-19 18:12 UTC (permalink / raw To: gentoo-user J. Roeleveld <joost@antarean.org> [14-11-19 18:52]: > On 19 November 2014 18:44:28 CET, meino.cramer@gmx.de wrote: > >J. Roeleveld <joost@antarean.org> [14-11-19 17:00]: > >> On Tuesday, November 18, 2014 09:00:37 PM thegeezer wrote: > >> > On 18/11/14 18:27, meino.cramer@gmx.de wrote: > >> > > How can I configure Gentoo on the Arietta board > >> > > to use ethernet-over-usb to be started while > >> > > booting the Arietta board? > >> > > > >> > > By "replace everything eth0 with usb0" ??? ;) > >> > > >> > if you still have emdebian image you can boot that and see which > >modules > >> > are loaded - that would be a start. a nice dodge is > >> > # find /sys | grep drivers > >> > you can also check everything in "make menuconfig" under the > >section > >> > device drivers\network device support\usb network adaptors > >> > that everything you _might_ need is selected > >> > there is a chance that the gentoo image has what you need --- what > >does > >> > "lsusb" show you ? what about "ifconfig -a" > >> > usb ethernet devices have very odd names ... names such as > >enp0s29u1u2 > >> > so it would be "replace everything eth0 with enp0s29u1u2" > >> > >> Meino, > >> > >> You might also want to check if there is any firmware that is not > >being > >> found/loaded. > >> For me, that is usually the case when something isn't working. > >> > >> -- > >> Joost > >> > > > >Hi thegeezer, Hi Joost, > > > >it was that simple, that I *had* to overlooked it: The modules > >for ethernet over usb had to be loaded before using that interface... > >WUMMER! > >Sometimes..... :) > > > >I added the following modules: > > usb_f_rndis > > u_ether > > usb_f_ecm > > usb_f_ecm_subset > > usb_f_eem > > g_ether > > at91_udc > > atmel_usba_udc > > libcomposite > > > >and I am not sure, whether some of them are not necassary for that > >purpose...but with this in /etc/conf.d/modules it works. > > > >Current status is: > >* Board boots with Robert Nelsons linux kernel for ARM and a device > > tree blob by acmesystems and a stage3 rootfs (armv5tel) by the one > > and only Gentoo. > >* The board is accessible via ssh > >* I am currently downloading (emerge -f) some applications I need, > > compiling on this board is an exercise in patience... 8). After > > the download the board can compile the stuff without using my PC > > as router to the internet. So it does not harm to power the board > > with 100mA over several days... > > > >Best regards, > >Meino > > You can't use distcc and a crosscompiler on your desktop for this? > > -- > Joost > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity. > Hi Joost, I tried that for the Beaglebone Black I also use. It will not work constantly enough well to setup a complete system. There are two sources for trouble: The makefiles access "meta-applications" like moc fpr qt and either try to start a arm binary on my AMD64 PC or they use moc of the AMD64 arch. and produce some rubbish from the point of view of the ARM arch. (ok, moc is bad example, since it is platform idenpendant regarding ist outout I think, but...) Or: The software isn't written that clean and import low level headers (kernel...) of the AMD64 platform into the ARM compilation results. I also tried distcc and it does not work for me. May be its me or distcc. The results were..."mixed"... Since that I compile all the stuff (accept the kernel itsself because it is "self contained") on the target itsself. With the beaglebone black this only a matter of waiting (not THAT long: 1GHz CPU single core with 512MB RAM and an mobile hd). With that tiny Arietta and await waiting for days until I have a system of my choice. But that is ok, since the main purpose of this tiny Linux thingy is only the steering of some electronics. Nothing fancy... So I need only a few addtional applications. But the beaglebone black is acapble enough to run SIMH emulating a PDP11 with an ancient UNIX (with an original login of Dennis Ritchie ;) at 100% "original speed". Or an ATARi800 emulator (also at 100% original speed). Or other nice things... :) Best regards, Meino ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Booted Gentoo the first time on the Arietta.G25...but... 2014-11-19 18:12 ` meino.cramer @ 2014-11-19 21:30 ` thegeezer 0 siblings, 0 replies; 10+ messages in thread From: thegeezer @ 2014-11-19 21:30 UTC (permalink / raw To: gentoo-user On 19/11/14 18:12, meino.cramer@gmx.de wrote: <snip> > Hi Joost, I tried that for the Beaglebone Black I also use. It will > not work constantly enough well to setup a complete system. There are > two sources for trouble: The makefiles access "meta-applications" like > moc fpr qt and either try to start a arm binary on my AMD64 PC or they > use moc of the AMD64 arch. and produce some rubbish from the point of > view of the ARM arch. (ok, moc is bad example, since it is platform > idenpendant regarding ist outout I think, but...) Or: The software > isn't written that clean and import low level headers (kernel...) of > the AMD64 platform into the ARM compilation results. I also tried > distcc and it does not work for me. May be its me or distcc. The > results were..."mixed"... Since that I compile all the stuff (accept > the kernel itsself because it is "self contained") on the target > itsself. With the beaglebone black this only a matter of waiting (not > THAT long: 1GHz CPU single core with 512MB RAM and an mobile hd). With > that tiny Arietta and await waiting for days until I have a system of > my choice. But that is ok, since the main purpose of this tiny Linux > thingy is only the steering of some electronics. Nothing fancy... So I > need only a few addtional applications. But the beaglebone black is > acapble enough to run SIMH emulating a PDP11 with an ancient UNIX > (with an original login of Dennis Ritchie ;) at 100% "original speed". > Or an ATARi800 emulator (also at 100% original speed). Or other nice > things... :) Best regards, Meino if you are having difficulty with [1] then you could always have an emulator running on real hardware, doing distcc. you can set distcc to do no compiling locally by excluding localhost. then you can have your multi cores running happily within a virtualbox doing nothing more than compiling for the limited arm device. on the virtualbox device, if you then ensure to have in /etc/portage/make.conf FEATURES="buildpkg" then you get binary packages for free. this means that if something goes wrong with the the device or you want to do this again on another device you can use emerge -K (as long as you set the package location in advance of course) and the hours of compiling become copy, untar, install [1] http://wiki.gentoo.org/wiki/Distcc/Cross-Compiling ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Booted Gentoo the first time on the Arietta.G25...but... 2014-11-19 17:44 ` meino.cramer 2014-11-19 17:50 ` J. Roeleveld @ 2014-11-19 17:52 ` thegeezer 2014-11-19 18:14 ` meino.cramer 1 sibling, 1 reply; 10+ messages in thread From: thegeezer @ 2014-11-19 17:52 UTC (permalink / raw To: gentoo-user On 19/11/14 17:44, meino.cramer@gmx.de wrote: > J. Roeleveld <joost@antarean.org> [14-11-19 17:00]: >> On Tuesday, November 18, 2014 09:00:37 PM thegeezer wrote: >>> On 18/11/14 18:27, meino.cramer@gmx.de wrote: >>>> How can I configure Gentoo on the Arietta board >>>> to use ethernet-over-usb to be started while >>>> booting the Arietta board? >>>> >>>> By "replace everything eth0 with usb0" ??? ;) >>> if you still have emdebian image you can boot that and see which modules >>> are loaded - that would be a start. a nice dodge is >>> # find /sys | grep drivers >>> you can also check everything in "make menuconfig" under the section >>> device drivers\network device support\usb network adaptors >>> that everything you _might_ need is selected >>> there is a chance that the gentoo image has what you need --- what does >>> "lsusb" show you ? what about "ifconfig -a" >>> usb ethernet devices have very odd names ... names such as enp0s29u1u2 >>> so it would be "replace everything eth0 with enp0s29u1u2" >> Meino, >> >> You might also want to check if there is any firmware that is not being >> found/loaded. >> For me, that is usually the case when something isn't working. >> >> -- >> Joost >> > Hi thegeezer, Hi Joost, > > it was that simple, that I *had* to overlooked it: The modules > for ethernet over usb had to be loaded before using that interface... > WUMMER! > Sometimes..... :) > > I added the following modules: > usb_f_rndis > u_ether > usb_f_ecm > usb_f_ecm_subset > usb_f_eem > g_ether > at91_udc > atmel_usba_udc > libcomposite > > and I am not sure, whether some of them are not necassary for that > purpose...but with this in /etc/conf.d/modules it works. well done ;) > Current status is: > * Board boots with Robert Nelsons linux kernel for ARM and a device > tree blob by acmesystems and a stage3 rootfs (armv5tel) by the one > and only Gentoo. > * The board is accessible via ssh > * I am currently downloading (emerge -f) some applications I need, > compiling on this board is an exercise in patience... look into binhost and distcc > 8). After > the download the board can compile the stuff without using my PC > as router to the internet. So it does not harm to power the board > with 100mA over several days... solar powered router? > Best regards, > Meino > > > ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Booted Gentoo the first time on the Arietta.G25...but... 2014-11-19 17:52 ` thegeezer @ 2014-11-19 18:14 ` meino.cramer 0 siblings, 0 replies; 10+ messages in thread From: meino.cramer @ 2014-11-19 18:14 UTC (permalink / raw To: gentoo-user thegeezer <thegeezer@thegeezer.net> [14-11-19 18:56]: > On 19/11/14 17:44, meino.cramer@gmx.de wrote: > > J. Roeleveld <joost@antarean.org> [14-11-19 17:00]: > >> On Tuesday, November 18, 2014 09:00:37 PM thegeezer wrote: > >>> On 18/11/14 18:27, meino.cramer@gmx.de wrote: > >>>> How can I configure Gentoo on the Arietta board > >>>> to use ethernet-over-usb to be started while > >>>> booting the Arietta board? > >>>> > >>>> By "replace everything eth0 with usb0" ??? ;) > >>> if you still have emdebian image you can boot that and see which modules > >>> are loaded - that would be a start. a nice dodge is > >>> # find /sys | grep drivers > >>> you can also check everything in "make menuconfig" under the section > >>> device drivers\network device support\usb network adaptors > >>> that everything you _might_ need is selected > >>> there is a chance that the gentoo image has what you need --- what does > >>> "lsusb" show you ? what about "ifconfig -a" > >>> usb ethernet devices have very odd names ... names such as enp0s29u1u2 > >>> so it would be "replace everything eth0 with enp0s29u1u2" > >> Meino, > >> > >> You might also want to check if there is any firmware that is not being > >> found/loaded. > >> For me, that is usually the case when something isn't working. > >> > >> -- > >> Joost > >> > > Hi thegeezer, Hi Joost, > > > > it was that simple, that I *had* to overlooked it: The modules > > for ethernet over usb had to be loaded before using that interface... > > WUMMER! > > Sometimes..... :) > > > > I added the following modules: > > usb_f_rndis > > u_ether > > usb_f_ecm > > usb_f_ecm_subset > > usb_f_eem > > g_ether > > at91_udc > > atmel_usba_udc > > libcomposite > > > > and I am not sure, whether some of them are not necassary for that > > purpose...but with this in /etc/conf.d/modules it works. > well done ;) > > Current status is: > > * Board boots with Robert Nelsons linux kernel for ARM and a device > > tree blob by acmesystems and a stage3 rootfs (armv5tel) by the one > > and only Gentoo. > > * The board is accessible via ssh > > * I am currently downloading (emerge -f) some applications I need, > > compiling on this board is an exercise in patience... > look into binhost and distcc see my later post > > 8). After > > the download the board can compile the stuff without using my PC > > as router to the internet. So it does not harm to power the board > > with 100mA over several days... > solar powered router? no router needed, all stuff downloaded previously with emerge -f > > Best regards, > > Meino > > > > > > > > ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2014-11-19 21:31 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-11-18 18:27 [gentoo-user] Booted Gentoo the first time on the Arietta.G25...but meino.cramer 2014-11-18 21:00 ` thegeezer 2014-11-18 21:16 ` thegeezer 2014-11-19 8:51 ` J. Roeleveld 2014-11-19 17:44 ` meino.cramer 2014-11-19 17:50 ` J. Roeleveld 2014-11-19 18:12 ` meino.cramer 2014-11-19 21:30 ` thegeezer 2014-11-19 17:52 ` thegeezer 2014-11-19 18:14 ` meino.cramer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox