0

I am trying to build my own custom Raspberry Pi 4 image. I have successfully built the kernel and busybox. I have setup my SD Card into 2 partitions:

-boot 
-rootfs

I used a USB to TTL cable to view the kernel messages. The kernel boots successfully but I can't access the console. When I hit enter to access the console, nothing happens.

boot folder rootfs folder kernel messages

I followed this web-page: Build a Raspberry Pi Linux System the Hard Way

Could you tell me what's wrong?

4
  • Try cycling through the VT's with ctrl-alt-F[1-6].
    – goldilocks
    Jan 30, 2023 at 21:32
  • I get a prompt: my_home_directory_name:login then a prompt to enter apassword.
    – kakashi07
    Jan 30, 2023 at 21:48
  • And what would you like instead? The reason it seems not to work on tty1 is because kernel messages are being directed there.
    – goldilocks
    Jan 30, 2023 at 21:58
  • But i couldn't login. could you please explain further ?
    – kakashi07
    Jan 30, 2023 at 22:13

1 Answer 1

2

i changed the permission to access the serail device to: sudo chmod 0666 /dev/ttyUSB0

also added myself to a special group sudo usermod -a -G dialout YOUR_USER_NAME

and then in the minicom settings-> serial device i changed hardware Flow control to no

Now I can access the console.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.