Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A Zero W followed me home...
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54631
Location: 56N 3W

PostPosted: Thu Sep 05, 2019 10:28 am    Post subject: Reply with quote

eccerr0r,

I found I needed the boot flag on the boot partition.

You can cheat a little. Add your gentoo kernel to raspbian an edit /boot/config.txt to boot it.
Never mind the modules, all you want to see is the panic message on the Gentoo kernel serial console
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9842
Location: almost Mile High in the USA

PostPosted: Thu Sep 05, 2019 1:38 pm    Post subject: Reply with quote

Why I came to the conclusion - raspbian doesn't have any partitions flagged!
ohhh this is giving me a headache...

Yeah I was thinking about just using the raspbian boot, but I wanted a cleanroom setup to make sure I can replicate installing reliably without it... makes no sense to me right now as I thought I tried all the fat16/32 permutations burning out my endurance on my microsd card...

Need to find another card to try stuff so I can easily refer back to raspbian....
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54631
Location: 56N 3W

PostPosted: Thu Sep 05, 2019 1:52 pm    Post subject: Reply with quote

eccerr0r,

You can still do the clean room set up. Piggy backing on Raspbian as a testbed lets you test all the bits separately before you put them together in your cleanroom.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 558

PostPosted: Wed Sep 11, 2019 10:22 am    Post subject: Reply with quote

Is it possible to turn the microUSB port of Raspberry Pi Zero into a serial port?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9842
Location: almost Mile High in the USA

PostPosted: Wed Sep 11, 2019 12:58 pm    Post subject: Reply with quote

You can always connect an OTG connector to a USB-to-RS232 adapter, but you need a large software stack to support it, making it questionable for use as a console (keep it simple!!!)
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
erm67
l33t
l33t


Joined: 01 Nov 2005
Posts: 653
Location: EU

PostPosted: Thu Sep 19, 2019 12:20 am    Post subject: Reply with quote

Apparently you can use the OTG on the pi zero as a console without a converter:
https://github.com/raspberrypi/linux/pull/1239

it's because there isn't an hub connected to it like on the other PI
_________________
Ok boomer
True ignorance is not the absence of knowledge, but the refusal to acquire it.
Ab esse ad posse valet, a posse ad esse non valet consequentia

My fediverse account: @erm67@erm67.dynu.net
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9842
Location: almost Mile High in the USA

PostPosted: Thu Sep 19, 2019 12:26 am    Post subject: Reply with quote

Yeah the USB gadget support on this thing opens a lot of possibilities... If you don't have an OTG cable or a serial converter, make the whole pi zero board into a serial converter and use console that way...ha.

(and even better, could make the pi itself into a complete USB serial converter complete with built in protocol logger...)
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Gavinmc42
n00b
n00b


Joined: 23 Sep 2019
Posts: 21
Location: Brisbane

PostPosted: Tue Sep 24, 2019 2:36 am    Post subject: Reply with quote

I'm new to Gentoo but not to Pi's.

I have been using USB booting Zero for baremetal VC4 code testing for some time.
https://github.com/raspberrypi/usbboot
It saves lots of messing about with uSD cards too.

I have also managed to load a PiCore linux kernel via OTG USBboot too.

Using the OTG port work as a comms port after it has booted is a bit harder.
I have a suspicion the port is still set up as a comms port after booting the kernel.
But because OTG is buried inside the SoC and undocumented there is some reverse engineering needed.
This would actually help Pi4 coders too as the same OTG port is on the USB-C connector.

OTG booting should work on the Compute Modules too, I have not checked there for clues.

It would be nice to get this working for Zero's then they could be used as Displaylink type Display drivers.
Get a third display working on Pi4's using a Zero on a USB port?
_________________
Don't get Pi's if you are scared of learning.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum