get MAC address from EEPROM on Kasli-SoC #89
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
read_eui48 is defined but never used.
I put the code for getting the MAC from EEPROM into
libconfig
- seems natural that MAC would be pulled from EEPROM and possibly overriden with config - however, with all that i2c code, when linking kasli_soc-szl the linker claims that.rodata
won't fit into OCM:Not sure what to do with this now - there isn't much to be shaved off. Possibly make a
no_i2c
feature so that SZL would get the hardcoded address still, but other applications could get the one from EEPROM?Maybe the stack can be shaved off a bit?
Weirdly enough, if I try to compile it from the shell (p much same command as in flake), even from master branch, I get overflowed errors.
cargo xbuild --release --frozen -p szl --no-default-features --features=target_kasli_soc
(or any other target)
Now I'm not sure how is it working in the first place :| Seems like it's really tight here already.