View previous topic :: View next topic |
Author |
Message |
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54631 Location: 56N 3W
|
Posted: Thu Sep 05, 2019 10:28 am Post subject: |
|
|
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 |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9842 Location: almost Mile High in the USA
|
Posted: Thu Sep 05, 2019 1:38 pm Post subject: |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54631 Location: 56N 3W
|
Posted: Thu Sep 05, 2019 1:52 pm Post subject: |
|
|
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 |
|
|
crocket Guru
Joined: 29 Apr 2017 Posts: 558
|
Posted: Wed Sep 11, 2019 10:22 am Post subject: |
|
|
Is it possible to turn the microUSB port of Raspberry Pi Zero into a serial port? |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9842 Location: almost Mile High in the USA
|
Posted: Wed Sep 11, 2019 12:58 pm Post subject: |
|
|
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 |
|
|
erm67 l33t
Joined: 01 Nov 2005 Posts: 653 Location: EU
|
Posted: Thu Sep 19, 2019 12:20 am Post subject: |
|
|
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 |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9842 Location: almost Mile High in the USA
|
Posted: Thu Sep 19, 2019 12:26 am Post subject: |
|
|
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 |
|
|
Gavinmc42 n00b
Joined: 23 Sep 2019 Posts: 21 Location: Brisbane
|
Posted: Tue Sep 24, 2019 2:36 am Post subject: |
|
|
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 |
|
|
|