imagebuilder icon indicating copy to clipboard operation
imagebuilder copied to clipboard

chromebook_snow: problem: booting from usb not working - SNOW install

Open betolley opened this issue 2 years ago • 10 comments

I have a xe303C12 SNOW. I can boot several other images but I have been trying to install the ubuntu and several of the images from this project. I really want ubuntu. I get a U-Boot prompt and it appears to try to boot from the mmcblk0 instead of the usb. I tried to boot usb using usbboot usb 0:1 I tried 0:1->0:4 and it wouldn't boot with any of them. So I installed a image to the mmcblk0 that worked from another project then DD'd the Ubuntu install from my USB drive and it boots and works. Any idea what is up the the U-Boot? All of the images from the project do that to me. I also tried 5 different USB drives and all do the same thing when I boot them.

betolley avatar Aug 10 '22 02:08 betolley

@betolley - i think the chainloaded u-boot used by the images does not support usb and only sd card. i guess the other images which worked for you are not using u-boot, but boot a kpart style fit kernel directly and that why it works for them. it should most probably work by dd'ing the vmlinux.kpart to the first partition of the usb stick after dd'ing the image to the usb stick.

hexdump0815 avatar Aug 12 '22 20:08 hexdump0815

@hexdump0815 - Ty for telling why it was happening. I ended up DDing from crosh/shell and it is running great. Two questions. When I run Ubuntu I can't install Chrome because no support for squashfs/snap in the kernel so I tried Debian and it works great except the touch pad doesn't work in Debian but does in ubuntu but I can install chrome. Mouse works fine on Debian. It is the version of the xe303c12 I thing rev 5. It has a Atmel maxtouch touchpad. Anything I can do to get it working?

-Edit I updated to latest image. I was using etcher to write it and it got error on every computer I tried. I went back and used win32diskimager and it succeeded. Also touchpad works. Only issue now is sound works via headphones but not speakers, even though it is set on speakers.

betolley avatar Aug 12 '22 21:08 betolley

@betolley - which image did you use exactly in the end? is your snow rev4 or rev5? - if not sure: what is the manufacturing date printed on the back side label?

hexdump0815 avatar Aug 14 '22 21:08 hexdump0815

https://github.com/hexdump0815/imagebuilder/releases/tag/220619-01 Bullseye from here. It works great except no sound from speaker. Headphones work great. Chromebook is rev 5..

betolley avatar Aug 15 '22 00:08 betolley

i do not own a rev5 snow, but a friend of mine has one - will try to test it there, but it might take some time as he is on vacation now ...

hexdump0815 avatar Aug 15 '22 18:08 hexdump0815

Let me know if you want me to test anything.

betolley avatar Aug 16 '22 21:08 betolley

audio is hard to test remotely

hexdump0815 avatar Aug 17 '22 05:08 hexdump0815

@betolley - today i had the chance to test my latest bullseye image with a snow rev5 of a friend and sound works fine - did you follow this line from the chromebook snow readme: "after first boot please run /scripts/fix-snow-audio.sh as root to fix the ucm audio config files for the corresponding system and reboot"?

hexdump0815 avatar Sep 16 '22 16:09 hexdump0815

Please try this u-boot tree https://gitlab.com/exynos5-mainline/u-boot

jenneron avatar Nov 12 '22 17:11 jenneron

@jenneron - thanks for the info, noted it down for the next round of snow work

hexdump0815 avatar Nov 12 '22 20:11 hexdump0815