Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

additional uart in u-boot #10

Open
yomee-yogurt-maker opened this issue Oct 19, 2023 · 0 comments
Open

additional uart in u-boot #10

yomee-yogurt-maker opened this issue Oct 19, 2023 · 0 comments

Comments

@yomee-yogurt-maker
Copy link

I want to add additional uart other than console. so what configuration is needed in code .
I want to use scif0 for that i have added uclass code in board_init function but not able to get any logs on that pins.

uclass code snipet:
if (uclass_get_device_by_name(UCLASS_SERIAL, "serial@e6e60000", &dev)) {
puts("serial not found");
}
down_serial_dev = dev;
ops = serial_get_ops(down_serial_dev);
ops->setbrg(down_serial_dev, 115200);
int err;
err = ops->putc(down_serial_dev,'a');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant